Authentication
The SamoChat API uses a bearer token to authenticate requests but first, you have to get it by using your client_id
and client_secret
. In order to get them you'll need to contact us at [email protected], and write the following:
Why you need access to the API?
The link to your SamoChat profile
You'll only get access if you're already a SamoChat user.
curl --location --request POST 'https://samochat.eu.auth0.com/oauth/token' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "{client_id}",
"client_secret": "{client_secret}",
"audience": "https://api.samochat.net",
"grant_type": "client_credentials"
}
Last updated
Was this helpful?