Callback Events

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 Events object

Attributes

object

String

Type of the object, fixed as callback.event

id

String

The unique identifier of the callback event

type

StringNullable

The type of the callback event

status

Enum

The status of the callback event

payload_incoming

String

The incoming payload of the callback event

payload_outgoing

StringNullable

The outgoing payload of the callback event

processing_attempts

Object

List of processing attempts for the callback event

created_at

Date

Timestamp when the callback event was created

{
"object": "callback.event",
"status": "pending",
"processing_attempts": [
{
"object": "callback.event.attempt",
"status": "succeeded"
},
{
"object": "callback.event.attempt",
"status": "succeeded"
}
]
}

List callback events

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

Query Parameters

limit

NumberOptional

after

StringOptional

before

StringOptional

cursor

StringOptional

order

EnumOptional

callback_id

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

Get callback event by ID

Retrieves details for a specific callback by its ID.

URL Parameters

event_id

String

The unique identifier for the event

GEThttp://api.metorial.com/callbacks-events/:event_id
curl -X GET "https://api.metorial.com/callbacks-events/eve_Rm4Mnheq2bfEPhBhP7SY" \
-H "Authorization: Bearer metorial_sk_..."