Login to obtain an access token.
curl --request POST \ --url https://backend.chatfly.co/token \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data 'grant_type=<string>' \ --data 'username=<string>' \ --data 'password=<string>' \ --data scope= \ --data 'client_id=<string>' \ --data 'client_secret=<string>'
{ "message_code": 0, "message": "API success", "data": { "access_token": "string token", "token_type": "bearer" } }
Model for representing an access token.
Was this page helpful?