POST
/
api
/
link-token
curl --request POST \
--url https://api.useagentkey.com/api/link-token \
--header 'Content-Type: application/json' \
--header 'X-Client-ID: <api-key>' \
--data '{
"clientUserId": "user_123"
}'
{
"linkToken": "lt-dev-AbCdEf123456789",
"expiresAt": "2024-01-15T10:45:00.000Z"
}

Authorizations

X-Client-ID
string
header
required

Client credential authentication requires two headers:

  • X-Client-ID: Your client identifier
  • X-Client-Secret: Environment-specific secret

Body

application/json

Response

201
application/json

Link token created successfully

The response is of type object.