Callback Destinations
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 Destinations object
Attributes
items
Object{"items": {"0": {"object": "callback.destination","type": "webhook","webhook_destination": {},"callbacks": {"type": "all"}},"object": "example_object","id": "example_id","type": "","name": "example_name","description": "example_description","webhook_destination": {"url": "example_url","signing_secret": "example_signing_secret"},"callbacks": {"type": "example_type"},"created_at": "2025-10-24T15:30:32.140Z"},"pagination": {"has_more_before": false,"has_more_after": false}}
List callback destinations
Returns a paginated list of callback destinations for a specific callback.
Query Parameters
limit
NumberOptionalafter
StringOptionalbefore
StringOptionalcursor
StringOptionalorder
EnumOptionalcallback_ids
UnionOptionalcurl -X GET "https://api.metorial.com/callbacks-destinations" \-H "Authorization: Bearer metorial_sk_..."
Get callback destination by ID
Retrieves details for a specific callback by its ID.
URL Parameters
destination_id
StringThe unique identifier for the destination
curl -X GET "https://api.metorial.com/callbacks-destinations/des_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."
Create callback destination
Creates a new callback destination for the instance.
Request Body
name
Stringdescription
StringOptionalurl
Stringcallbacks
Objectcurl -X POST "https://api.metorial.com/callbacks-destinations" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"name": "example_name","description": "example_description","url": "example_url","callbacks": {"type": "example_type"}}'
Update callback destination
Updates an existing callback destination for the instance.
URL Parameters
destination_id
StringThe unique identifier for the destination
Request Body
name
StringOptionaldescription
StringOptionalNullablecurl -X PATCH "https://api.metorial.com/callbacks-destinations/des_Rm4Mnheq2bfEPhBhP7SY" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"name": "example_name","description": "example_description"}'
Delete callback destination
Deletes an existing callback destination for the instance.
URL Parameters
destination_id
StringThe unique identifier for the destination
curl -X DELETE "https://api.metorial.com/callbacks-destinations/des_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."