Skip to main content
POST
/
connection
/
integrations
/
{slug}
/
initiateOauth
Initiate OAuth
curl --request POST \
  --url https://api.getcargo.io/v1/connection/integrations/{slug}/initiateOauth \
  --header 'Authorization: Bearer <token>'
{
  "consentUrl": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.getcargo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

slug
string
required

Integration slug.

Response

Successful response

URL to redirect the user to in order to authorize.