{ "clientId": "string", "clientSecret": "string", "emailPassword": { "username": "string", "password": "string" }, "credential": { "objectRef": "string" } }
curl --location --request POST 'https://dev.your-api-server.com/v1/auth/token' \ --header 'Content-Type: application/json' \ --data-raw '{ "clientId": "string", "clientSecret": "string", "emailPassword": { "username": "string", "password": "string" }, "credential": { "objectRef": "string" } }'
{ "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "token_type": "Bearer", "expires_in": 3600 }