curl -X GET \
https://api.sakari.io/v1/accounts/{{ACCOUNT_ID}}/webhooks \
-H 'Authorization: Bearer {{TOKEN}}' \
-d '{
"url": "https://requestbin.io"
}'
{
"success": true,
"pagination": {
"totalCount": 123,
"limit": 123,
"offset": 123,
"hasNext": true
},
"data": [
{
"id": "<string>",
"type": "<string>",
"eventTypes": [
"message-received"
],
"destination": "<string>"
}
]
}
When messages are acknowledge by carriers, a notification is sent to the specified URL
curl -X GET \
https://api.sakari.io/v1/accounts/{{ACCOUNT_ID}}/webhooks \
-H 'Authorization: Bearer {{TOKEN}}' \
-d '{
"url": "https://requestbin.io"
}'
{
"success": true,
"pagination": {
"totalCount": 123,
"limit": 123,
"offset": 123,
"hasNext": true
},
"data": [
{
"id": "<string>",
"type": "<string>",
"eventTypes": [
"message-received"
],
"destination": "<string>"
}
]
}
The access token received from the authorization server in the OAuth 2.0 flow.
Account to apply operations to
successful operation
The response is of type object
.