Skip to main content
POST
/
integrations
/
connections
/
complete
Complete a connect session
curl --request POST \
  --url https://api.deyta.ai/gateway/v1/integrations/connections/complete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "token": "<string>",
  "account_id": "<string>",
  "connection_id": "<string>",
  "provider": "<string>"
}
'
{
  "success": true,
  "data": {}
}

Authorizations

Authorization
string
header
required

API key obtained from the Deyta Console

Body

application/json
id
string
required

Connection ID returned from /integrations/connections/start.

token
string
required

OAuth token from the Nango callback.

account_id
string
required

Account ID from the Nango callback.

connection_id
string
required

Connection ID from the Nango callback.

provider
string
required

Integration provider key.

Response

Session completed

success
boolean
Example:

true

data
object

Updated connection record.