Skip to content

Document creating a Custom API connector through the API - #273

Open
aezell wants to merge 7 commits into
mainfrom
alex/connectors-custom-api-example
Open

aezell wants to merge 7 commits into
mainfrom
alex/connectors-custom-api-example

Conversation

@aezell

@aezell aezell commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Why

A design-partner customer provisioning custom API connectors programmatically could not find the custom_api endpoint or its field names in the public spec or the docs. The connectors page covered API-key and managed connectors but never showed how to create a Custom API connector.

What

Adds a "Create a Custom API connector" section to concepts/connectors.mdx, beside the existing API-key example:

  • a full POST /v1/oauth/connections/custom_api curl with every field name (name, base_api_url, access_token required; auth_method, auth_header_prefix, test_url, description, access_policy optional)
  • a table of the auth_method values (header, url_path, query_param, custom_header) with each one's companion field and default
  • a warning that a connector's name is its identity within the organization, so creating another with the same name updates the existing connector
  • pointers to the /custom_api/test and PUT /custom_api/<id> endpoints

Companion change in sprites-api, which adds these endpoints to the generated OpenAPI reference: https://github.com/superfly/sprites-api/pull/1600. api/openapi.json here should be refreshed once that deploys.

🤖 Generated with Claude Code

Add the POST /v1/oauth/connections/custom_api example beside the API-key
one, with the auth_method values and their companion fields, the test and
update endpoints, and a warning that a connector's name is its identity
within the organization: creating another with the same name updates the
existing connector.
@mintlify

mintlify Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
fly-io 🟢 Ready View Preview Oct 20, 2026, 1:44 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@kcmartin kcmartin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left some suggestions for wording clarity.

Another (optional) thing to consider is adding is a short curl example for testing a credential. Not a blocker though!

Comment thread concepts/connectors.mdx Outdated
Comment thread concepts/connectors.mdx Outdated
Comment thread concepts/connectors.mdx Outdated
Comment thread concepts/connectors.mdx Outdated
Comment thread concepts/connectors.mdx Outdated
Comment thread concepts/connectors.mdx Outdated
Comment thread concepts/connectors.mdx Outdated
Co-authored-by: Kristin Martin <kcmartin@users.noreply.github.com>
aezell and others added 5 commits October 20, 2026 08:43
Co-authored-by: Kristin Martin <kcmartin@users.noreply.github.com>
Co-authored-by: Kristin Martin <kcmartin@users.noreply.github.com>
Co-authored-by: Kristin Martin <kcmartin@users.noreply.github.com>
Co-authored-by: Kristin Martin <kcmartin@users.noreply.github.com>
Co-authored-by: Kristin Martin <kcmartin@users.noreply.github.com>
@aezell

aezell commented Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

@kcmartin I accepted all your suggestions. They were great. Thanks for the review and help!

This branch was successfully deployed

1 active deployment
staging — 7d87c1ce Deployed Oct 20, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants