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>"
}'
{
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}
This endpoint allows obtaining the access token for OAuth2 clients
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>"
}'
{
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}
response upon logging in
The response is of type object
.