Authentication
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"
}using SamoChatNet;
SamoChatConfig.ClientID = "ClientID";
SamoChatConfig.ClientSecret = "ClientSecret";import samochat
samochat.client_id = "client_id"
samochat.client_secret = "client_secret"Last updated