https://api.artisn.desarrollo-redbrand.com/api/authentication/login

Requirements

Access to this API may require prior approval and configuration. It is recommended to review the getting started guides before integration.

Request Parameters

Requests must be sent in application/json format and should include the following parameters:

KeyTypeDescription
client_idstringUnique identifier for the client application.
client_secretstringSecret key for the client application used for authentication.
grant_typestringGrant type used for authentication.

Example Request

curl --request POST \
  --url https://api.artisn.desarrollo-redbrand.com/api/authentication/login \
  --header 'Content-Type: application/json' \
  --data '{
    "client_id": "<string>",
    "client_secret": "<string>",
    "grant_type": "<string>"
}'

Example Response

{
  "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}

Response Fields

KeyTypeDescription
accessTokenstringGenerated access token, used to authenticate against protected endpoints.

Using the Token

The obtained accessToken must be sent in the request header when calling protected endpoints.

Next Steps

See the Store Integration Guide for steps to construct your menu.