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" }
Generate a token to invite a user of Vital mobile app to your team
Vital Team API Key
When the link code should expire. Defaults to server time plus 1 hour.
Successful Response
The response is of type object.
object