/
Get Access Token
Requests new access token for accessing Keeta API resources.
If you have completed the development in full compliance with the Open Delivery native protocol's grant_type=client_credentials, please contact Keeta.
If you have already completed development using grant_type=client_credentials and have passed SIT certification or are already in production, you can continue to use grant_type=client_credentials without any impact.
IMPORTANT: The Software Service must obtain the merchant’s authorization before accessing their data.
- Application-level access_token: The access_token can be used to access all stores authorized
- grant_type = app_level_token: Generate and refresh access_token
- Store-level access_token: The access_token can be used to access one store authorized
- grant_type = shop_level_authorization_code: Use
authorization_codeto generate access_token, and returnrefresh_tokenfor subsequent refresh - grant_type = refresh_token: Use this parameter to refresh a new
access_tokenandrefresh_token, before the oldaccess_tokenexpires.
HOST: Keeta
DIRECTION:

- https://open.mykeeta.com/api/open/opendeliveryhttps://open.mykeeta.com/api/open/opendelivery/oauth/token
curl -i -X POST \
https://open.mykeeta.com/api/open/opendelivery/oauth/token \
-H 'Content-Type: application/json' \
-d '{
"client_id": "string",
"grant_type": "app_level_token",
"client_secret": "string"
}'Successful returns token request.
The token type. Currently, the only supported type is bearer.
Example:"bearer"
Response
{ "access_token": "string", "token_type": "bearer", "expires_in": 0, "refresh_token": "string", "grant_type": "refresh_token" }