...
Code Block | ||||
---|---|---|---|---|
| ||||
curl -X POST https://integrationrest.doo.net/v1/oauth \ -H 'Content-Type: application/json' \ -H 'x-api-key: <api_key>' \ -d '{"client_id": "<client_id>", "client_secret": "<client_secret>", "grant_type": "client_credentials"}' |
...
Parameter | Required | Description |
---|---|---|
<api_key> | Yes | see Get an API Key |
<client_id> | Yes | see Get an OAuth Client Credentials |
<client_secret> | Yes | see Get an OAuth Client Credentials |
Response example
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "response_status": 200, "developer_message": "Success", "user_message": "Success", "data": { "access_token": "208669dcae12502596c0091db9063fbfab704411", "refresh_token": null }, "_links": { "self": { "href": "https://integrationrest.doo.net/v1/oauth" } } } |