Callback Destinations
Manage callback webhook destinations.
Callback Destinations object
Attributes
object
StringString representing the object's type
id
StringUnique callback destination identifier
status
EnumCallback destination lifecycle status
name
StringDisplay name for the callback destination
description
StringNullableOptional destination description
metadata
ObjectNullableCustom key-value pairs for storing additional destination metadata
url
StringWebhook URL that receives callback deliveries
method
StringHTTP method used for webhook delivery
created_at
DateTimestamp when the callback destination was created
updated_at
DateTimestamp when the callback destination was last updated
{"object": "callback.destination","id": "cld_7dEfGhJkLmNpQrSt","status": "active","name": "Primary Webhook Endpoint","description": "Primary production webhook receiver","metadata": {},"url": "https://api.example.com/webhooks/metorial","method": "POST","created_at": "2025-09-15T10:30:00.000Z","updated_at": "2026-01-10T14:45:00.000Z"}
List callback destinations
Returns a paginated list of callback destinations.
Query Parameters
limit
NumberOptionalafter
StringOptionalbefore
StringOptionalcursor
StringOptionalorder
EnumOptionalcreated_at
ObjectOptionalFilter callback destination creation time by date range
updated_at
ObjectOptionalFilter callback destination last update time by date range
curl -X GET "https://api.metorial.com/callback-destinations" \-H "Authorization: Bearer metorial_sk_..."
Get callback destination
Retrieves a specific callback destination.
URL Parameters
callback_destination_id
StringThe unique identifier for the callback_destination
curl -X GET "https://api.metorial.com/callback-destinations/cal_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."
Create callback destination
Creates a new callback destination.
Request Body
name
StringDisplay name for the callback destination
description
StringOptionalOptional callback destination description
metadata
ObjectOptionalCustom key-value pairs for storing destination metadata
url
StringWebhook URL that should receive callback deliveries
curl -X POST "https://api.metorial.com/callback-destinations" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"name": "example_name","description": "example_description","metadata": {},"url": "example_url"}'
Update callback destination
Updates a callback destination.
URL Parameters
callback_destination_id
StringThe unique identifier for the callback_destination
Request Body
name
StringOptionalUpdated callback destination name
description
StringOptionalUpdated destination description
metadata
ObjectOptionalUpdated destination metadata
url
StringOptionalUpdated webhook URL for callback deliveries
curl -X PATCH "https://api.metorial.com/callback-destinations/cal_Rm4Mnheq2bfEPhBhP7SY" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"name": "example_name","description": "example_description","metadata": {},"url": "example_url"}'
Delete callback destination
Archives a callback destination.
URL Parameters
callback_destination_id
StringThe unique identifier for the callback_destination
curl -X DELETE "https://api.metorial.com/callback-destinations/cal_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."