curl --request POST \
--url https://prod01.oms.fabric.inc/api/v2/notification/send \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenant-key: <tenant-key>' \
--data '{
"id": "<string>",
"notificationType": "<string>",
"documentType": "<string>",
"overrideContactInfo": [
{
"name": {
"first": "John",
"middle": "Middle",
"last": "Doe"
},
"email": "test@fabric.inc",
"phone": {
"number": "55555555555",
"type": "MOBILE"
}
}
]
}'
[
{
"id": "123456789",
"documentType": "ORDER",
"notificationType": "<string>",
"overrideContactInfo": [
{
"name": {
"first": "John",
"middle": "Middle",
"last": "Doe"
},
"email": "test@fabric.inc",
"phone": {
"number": "55555555555",
"type": "MOBILE"
}
}
]
}
]
This listener processes the request body and emit notification events to webhook service
curl --request POST \
--url https://prod01.oms.fabric.inc/api/v2/notification/send \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenant-key: <tenant-key>' \
--data '{
"id": "<string>",
"notificationType": "<string>",
"documentType": "<string>",
"overrideContactInfo": [
{
"name": {
"first": "John",
"middle": "Middle",
"last": "Doe"
},
"email": "test@fabric.inc",
"phone": {
"number": "55555555555",
"type": "MOBILE"
}
}
]
}'
[
{
"id": "123456789",
"documentType": "ORDER",
"notificationType": "<string>",
"overrideContactInfo": [
{
"name": {
"first": "John",
"middle": "Middle",
"last": "Doe"
},
"email": "test@fabric.inc",
"phone": {
"number": "55555555555",
"type": "MOBILE"
}
}
]
}
]
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
tenant id
Notification received
Notifications emitted Successfully
The response is of type object[]
.
Was this page helpful?