Callbacks
Create callback
Enables callbacks for an integration provider and returns the callback it created. Only providers whose type reports triggers.status as enabled support this. Callback instances are then registered for every matching integration instance in the background.
post/callbacks
Request
- Base URLhttps://api.metorial.com
- AuthHTTP bearer
Headers
Metorial-Versionstring
Example:2025-01-01
Pin the dated API version for this request, e.g. 2025-01-01. Defaults to the version configured for the environment.
Request body
Example request
{
"integration_id": "int_2bCdEfGhJkLmNpQr",
"integration_provider_id": "inp_3cDeFgHjKlMnPqRs",
"name": "Production GitHub Events",
"description": "Repository events for the production workspace"
}Response
Successful response
Example response
{
"id": "cbk_4dEfGhJkLmNpQrSt",
"name": "Production GitHub Events",
"description": "Repository events for the production workspace",
"integration_id": "int_2bCdEfGhJkLmNpQr",
"integration_provider_id": "inp_3cDeFgHjKlMnPqRs",
"provider": {
"id": "pro_5gHjKlMnPqRsTuVw",
"name": "GitHub",
"description": "Connect to GitHub repositories, issues, and pull requests",
"slug": "github",
"created_at": "2025-09-15T10:30:00.000Z",
"updated_at": "2026-01-10T14:45:00.000Z"
},
"created_at": "2025-09-15T10:30:00.000Z",
"updated_at": "2026-01-10T14:45:00.000Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.