curl --request POST \ --url {{BASE_URL}}/v2/link/code/create\?user_id\=1875c190-0cd6-46c1-8670-5b56a7794b78 \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --header 'x-vital-api-key: <API_KEY>'
{ "code": "<string>", "exchange_url": "<string>", "expires_at": "2023-11-07T05:31:56Z" }
Create or submit link code create via the Junction API. Requires authentication with your team API key.
Vital Team API Key
When the link code should expire. Defaults to server time plus 1 hour.
Successful Response
^(sk|pk)(eu|us)([\da-f]{8})
^tryvital\:\/\/tryvital\?code\=(sk|pk)(eu|us)([\da-f]{8})$
Was this page helpful?