Authorization: Bearer ********************{
"recipients": [
"string"
],
"body": "string",
"subject": "string",
"dataJson": "string",
"channelId": 0,
"lang": "string",
"notificationChannel": "string",
"usageKey": "string",
"directSend": true,
"attachments": [
{
"filename": "string",
"base64": "string",
"url": "string"
}
],
"messageContext": {
"contextId": "string",
"metaData": {
"property1": "string",
"property2": "string"
},
"sender": "NotDefined",
"receiver": "NotDefined"
}
}curl --location --request POST 'https://api.ogoship.com/api/notifications/message' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"recipients": [
"string"
],
"body": "string",
"subject": "string",
"dataJson": "string",
"channelId": 0,
"lang": "string",
"notificationChannel": "string",
"usageKey": "string",
"directSend": true,
"attachments": [
{
"filename": "string",
"base64": "string",
"url": "string"
}
],
"messageContext": {
"contextId": "string",
"metaData": {
"property1": "string",
"property2": "string"
},
"sender": "NotDefined",
"receiver": "NotDefined"
}
}'{}