cURL
curl --request POST \ --url https://sandbox.tight.com/v6/auth/oneTimeLink \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "companyId": "cmp_28868401" } '
{ "result": "SUCCESS", "data": { "link": "https://example.com/auth?token=abc123" } }
Generate a one-time authentication link for the authenticated user
Bearer authentication header of the form Bearer <token>, see Authentication for more detail.
Bearer <token>
Id of the company to generate a one-time link for
"cmp_28868401"
Success
The result of the action performed.
SUCCESS
FAILURE
The data generated by the action performed.
Show child attributes