Retrieve ID and access tokens. This API is used to retrieve ID and access tokens using the code that was returned in the redirect URI as a query parameter (for example, when the user clicks a magic link). It may also create a new user if create_new_user was set to true in the send request and no user exists for the email address or phone number (depending on the flow).
Authorization code returned in the redirect URI as a query parameter upon successful authentication
Example:"GZxLFKTDCnlANVTxNvaWz7AIGPpXqZYSXdAwjiWRuOH"
Client ID of the application requesting the token
Example:"DgsdfhSDsdfhtSDFXCCXBVMKPws345yscv2345XCZV"
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/token
- US production environmenthttps://api.transmitsecurity.io/cis/v1/token
- EU production environmenthttps://api.eu.transmitsecurity.io/cis/v1/token
- CA production environmenthttps://api.ca.transmitsecurity.io/cis/v1/token
- AU production environmenthttps://api.au.transmitsecurity.io/cis/v1/token
- JP production environmenthttps://api.gasne1-ts01.transmitsecurity.io/cis/v1/token
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/token \
-H 'Content-Type: application/json' \
-d '{
"code": "GZxLFKTDCnlANVTxNvaWz7AIGPpXqZYSXdAwjiWRuOH",
"client_id": "DgsdfhSDsdfhtSDFXCCXBVMKPws345yscv2345XCZV",
"client_secret": "FzxvdDMbvxnc45sdfb789XCVGEW6usazxcvbw3KPsb23"
}'