Integration Credentials

Create From Oauth Callback

Create a new credential from an OAuth callback.

Finalizes the OAuth flow for a given provider:

  1. The frontend initiates the flow by taking the user to the provider's authorization page.
  2. The user authorizes the application and is redirected back to the frontend.
  3. The frontend sends the code to this endpoint.
  4. This endpoint creates a new credential for the provider and returns a credential card.
post/api/v1/integrations/credentials/oauth/callback

Request body

credential_idstring uuid required

The unique identifier of the credential

provider_idstring required

An unique identifier for the provider.

credential_namestring required

The name of the credential, used to identify it in the web UI

credential_descriptionstring nullable
codestring required
code_verifierstring nullable

Response

Successful Response

credential_idstring uuid required

The unique identifier of the credential

integration_provider_idstring required

An unique identifier for the provider.

credential_namestring required

The name of the credential, used to identify it in the web UI

credential_descriptionstring nullable
created_atstring date-time required
updated_atstring date-time required

Changes