Skip to main content

Get Authorization URL

GET 

/api/faire/instances/:integrationInstance/authorization-url

Generate the Faire OAuth authorization URL for this integration instance.

Generates a CSRF state token (format: {app.url}_{instance_id}), stores it in the user's session, and returns the fully-formed Faire authorization URL.

Path Parameters:

  • integrationInstance - The ID of the integration instance to authorize

Response field:

  • authorization_url - URL to redirect the user to. The user must be a Faire brand admin.

Auth: Requires Bearer token. CSRF state is bound to the user's session, so the same session must complete the callback.

Request

Responses

Successful response