POST
/
connect
/
token
curl --request POST \
  --url https://api.openint.dev/v0/connect/token \
  --header 'Content-Type: application/json' \
  --header 'x-apikey: <api-key>' \
  --header 'x-connection-id: <api-key>' \
  --data '{
  "customerId": "<string>",
  "validityInSeconds": 2592000
}'
{
  "token": "<string>"
}

Authorizations

x-apikey
string
header
required
x-connection-id
string
header
required

Body

application/json
customerId
string

Anything that uniquely identifies the customer that you will be sending the magic link to

Minimum length: 1
validityInSeconds
number
default:2592000

How long the magic link will be valid for (in seconds) before it expires

Response

200
application/json
Successful response
token
string
required