Older API
Getting Tokens using Identity Token
After successfully verifying user's email or phone number, you'll receive Cotter's Identity Token. Pass it to the body of the request under field identity_token
Getting Tokens using Identity Token
POST
https://www.cotter.app/api/v0/token
Getting OAuth tokens using Cotter's Identity Token
Headers
API_KEY_ID
string
Your API_KEY_ID
API_SECRET_KEY
string
Your API_SECRET_KEY
Content-type
string
application/json
Request Body
grant_type
string
Grant type is identity_token
identity_token
object
Cotter's Identity Token returned to you after successfully verifying user's email or phone number.
Getting Tokens using Event Token
After successfully authenticating users using Trusted Devices, you will receive Cotter's Event Token. Pass it to the body of the request under field event_token
Getting Tokens using Event Token
POST
https://www.cotter.app/api/v0/token
Getting OAuth tokens using Cotter's Event Token
Headers
API_KEY_ID
string
Your API_KEY_ID
API_SECRET_KEY
string
Your API_SECRET_KEY
Content-type
string
application/json
Request Body
grant_type
string
Grant type is event_token
event_token
object
Cotter's Event Token returned to you after successfully authenticate users using Trusted Device
Last updated