Create access token for admin given the customer credentials
Create access token for admin given the customer credentials.
POST /V1/messagebird/customer/token
curl \
-X POST https://magento2.winkelstraat.mac/rest/all/V1/messagebird/customer/token \
-d '{"recipient":"string","id":"string"}'
Request examples
{
"recipient": "string",
"id": "string"
}
Response examples (200)
string
Response examples (400)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}