PUT
/
api
/
v2
/
public
/
migrate-token
curl --request PUT \
  --url https://api.gocobalt.io/api/v2/public/migrate-token \
  --header 'Content-Type: application/json' \
  --header 'linked_account_id: <linked_account_id>' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "auth_object": {}
}'
{
    "success": true,
    "message": "Integration - slack created"
}

This API is used to Migrate Auth Object (API keys, Access Tokens, etc;) of an application to an integration in Cobalt.

Request description

Headers

linked_account_id
string
required

Unique customer identification id. For Eg: markwood@some_email.com

Body Parameters

auth_object
object
required

An object containing the details of your application associated with your account

slug
string
required

Application slug. For Eg: slack

Response description

success
boolean

Success status

message
string

Success message

{
    "success": true,
    "message": "Integration - slack created"
}