Callback Notifications

Represents callbacks that you have uploaded to Metorial. Callbacks can be linked to various resources based on their purpose. Metorial can also automatically extract callbacks for you, for example for data exports.

Callback Notifications object

Attributes

object

String

Type of the object, fixed as callback.notification

id

String

The unique identifier of the callback notification

type

Enum

The type of the callback notification

status

Enum

The status of the callback notification

url

StringNullable

The URL to which the callback notification was sent

attempts

Object

List of attempts for the callback notification

created_at

Date

Timestamp when the callback notification was created

{
"object": "callback.notification",
"type": "webhook_http",
"status": "pending",
"attempts": [
{
"object": "callback.notification.attempt",
"status": "succeeded",
"webhook_request": {
"object": "callback.notification.attempt.webhook_request",
"request_method": "POST",
"request_headers": {},
"response_headers": {}
}
},
{
"object": "callback.notification.attempt",
"status": "succeeded",
"webhook_request": {
"object": "callback.notification.attempt.webhook_request",
"request_method": "POST",
"request_headers": {},
"response_headers": {}
}
}
]
}

List callback notifications

Returns a paginated list of callback notifications for a specific callback.

Query Parameters

limit

NumberOptional

after

StringOptional

before

StringOptional

cursor

StringOptional

order

EnumOptional

callback_id

UnionOptional

event_id

UnionOptional

destination_id

UnionOptional
GEThttp://api.metorial.com/callbacks-notifications
curl -X GET "https://api.metorial.com/callbacks-notifications" \
-H "Authorization: Bearer metorial_sk_..."

Get callback notification by ID

Retrieves details for a specific callback by its ID.

URL Parameters

notification_id

String

The unique identifier for the notification

GEThttp://api.metorial.com/callbacks-notifications/:notification_id
curl -X GET "https://api.metorial.com/callbacks-notifications/not_Rm4Mnheq2bfEPhBhP7SY" \
-H "Authorization: Bearer metorial_sk_..."