Create Link token

Generates a Link Token for a Registered User to authenticate with Connectors. Also returns a magic link URL that can be shared with the user to authenticate in a browser.

Authentication

AuthorizationBearer

Token-based authentication with required prefix “Bearer”

Path parameters

registered_user_idstringRequiredformat: "uuid"
Agent Handler ID of the Registered User

Request

This endpoint expects an object.
connectorstringRequired
Slug of the connector to generate a link token for
external_idstring or nullOptional
Optional external ID to scope the link token to a specific application credential. Use this when you have multiple OAuth apps for the same connector.
callback_urlstring or nullOptional
Optional URL to redirect the user to after they complete the authentication flow. Must be added to your organization's allowed callback origins first.
statestring or nullOptional

Optional CSRF protection token returned to your callback_url after authentication. Requires callback_url to be set. Do not include a ‘state’ query parameter in callback_url if using this field.

Response