POST
/
api
/
v1
/
link-token
curl --request POST \
  --url https://prod.oneloop.ai/api/v1/link-token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customerId": "<string>",
  "workspaceId": "<string>",
  "externalBillingId": "<string>"
}'
{
  "token": "<string>",
  "expiresAt": 1
}

Authorizations

Authorization
string
header
required

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

Body

application/json
customerId
string
required
workspaceId
string
required
externalBillingId
string

Response

200
application/json
The generated link token
token
string
required
expiresAt
integer
required
Required range: x > 0