Webhooks
List org webhooks
Unique identifier
Authentication method
Webhook list
Unprocessable Entity
Unprocessable Entity
GET /webhooks HTTP/1.1
Host: api.sandbox.trio.com.br
Accept: */*
{
"data": {
"authentication_method": "url_secret",
"company_id": "0194cc3b-863f-42b9-6d49-c493fdc9abef",
"entity_id": "0194cc3b-863f-ede9-2806-82f2f69a3a00",
"event_categories_allowed": [
"all"
],
"id": "0194cc3b-863f-ba0a-967e-0d0813a58a7d",
"inserted_at": "2025-02-03 14:34:00.639861Z",
"notification_key": "KXe1JxmdHIcRhAsnbaTBvSGNSQli4I798oGMb8abeMBcKzJoUpWkOQ==",
"notification_secret": "some_notification_secret",
"notification_url": "https://mynotificationurl.com/endpoint",
"oauth_client_id": null,
"oauth_client_secret": null,
"oauth_scope": "",
"oauth_url": null,
"org_id": "0194cc3b-863f-0aa1-bf79-4db349948332",
"updated_at": "2025-02-03 14:34:00.639872Z"
}
}
Get org webhook
Unique identifier
Gotten webhook
Unprocessable Entity
Unprocessable Entity
GET /webhooks/{webhook_id} HTTP/1.1
Host: api.sandbox.trio.com.br
Accept: */*
{
"data": {
"authentication_method": "url_secret",
"company_id": "0194cc3b-863f-42b9-6d49-c493fdc9abef",
"entity_id": "0194cc3b-863f-ede9-2806-82f2f69a3a00",
"event_categories_allowed": [
"all"
],
"id": "0194cc3b-863f-ba0a-967e-0d0813a58a7d",
"inserted_at": "2025-02-03 14:34:00.639861Z",
"notification_key": "KXe1JxmdHIcRhAsnbaTBvSGNSQli4I798oGMb8abeMBcKzJoUpWkOQ==",
"notification_secret": "some_notification_secret",
"notification_url": "https://mynotificationurl.com/endpoint",
"oauth_client_id": null,
"oauth_client_secret": null,
"oauth_scope": "",
"oauth_url": null,
"org_id": "0194cc3b-863f-0aa1-bf79-4db349948332",
"updated_at": "2025-02-03 14:34:00.639872Z"
}
}
Create org webhook
Unique identifier
Org webhook creation parameters for IAM access
Webhook authentication method
Entity ID
Event categories
Notification Key
Notification Secret
Notification URL
OAuth Client ID
OAuth Client Secret
OAuth scope
OAuth URL
Created webhook
Unprocessable Entity
Unprocessable Entity
POST /webhooks HTTP/1.1
Host: api.sandbox.trio.com.br
Content-Type: application/json
Accept: */*
Content-Length: 395
{
"authentication_method": "url_secret",
"entity_id": "0194cc3b-88fc-dfbf-b57f-2fc8b397cacb",
"event_categories_allowed": [
"all"
],
"notification_key": "KXe1JxmdHIcRhAsnbaTBvSGNSQli4I798oGMb8abeMBcKzJoUpWkOQ==",
"notification_secret": "some_notification_secret",
"notification_url": "https://mynotificationurl.com/endpoint",
"oauth_client_id": null,
"oauth_client_secret": null,
"oauth_scope": "",
"oauth_url": null
}
{
"data": {
"authentication_method": "url_secret",
"company_id": "0194cc3b-863f-42b9-6d49-c493fdc9abef",
"entity_id": "0194cc3b-863f-ede9-2806-82f2f69a3a00",
"event_categories_allowed": [
"all"
],
"id": "0194cc3b-863f-ba0a-967e-0d0813a58a7d",
"inserted_at": "2025-02-03 14:34:00.639861Z",
"notification_key": "KXe1JxmdHIcRhAsnbaTBvSGNSQli4I798oGMb8abeMBcKzJoUpWkOQ==",
"notification_secret": "some_notification_secret",
"notification_url": "https://mynotificationurl.com/endpoint",
"oauth_client_id": null,
"oauth_client_secret": null,
"oauth_scope": "",
"oauth_url": null,
"org_id": "0194cc3b-863f-0aa1-bf79-4db349948332",
"updated_at": "2025-02-03 14:34:00.639872Z"
}
}
Delete org webhook
Unique identifier
Unique identifier
Response
No Content
Unprocessable Entity
Unprocessable Entity
DELETE /webhooks/{webhook_id} HTTP/1.1
Host: api.sandbox.trio.com.br
Accept: */*
No Content
Update org webhook
Unique identifier
Org webhook update parameters for communication
Webhook authentication method
Entity ID
Event categories
Notification Secret
Notification URL
OAuth Client ID
OAuth Client Secret
OAuth scope
OAuth URL
Updated webhook
Unprocessable Entity
Unprocessable Entity
PUT /webhooks/{webhook_id} HTTP/1.1
Host: api.sandbox.trio.com.br
Content-Type: application/json
Accept: */*
Content-Length: 317
{
"authentication_method": "url_secret",
"entity_id": "0194cc3b-89e9-bf25-d9f3-45bc3540b8ff",
"event_categories_allowed": [
"all"
],
"notification_secret": "some_notification_secret",
"notification_url": "https://mynotificationurl.com/endpoint",
"oauth_client_id": null,
"oauth_client_secret": null,
"oauth_scope": "",
"oauth_url": null
}
{
"data": {
"authentication_method": "url_secret",
"company_id": "0194cc3b-863f-42b9-6d49-c493fdc9abef",
"entity_id": "0194cc3b-863f-ede9-2806-82f2f69a3a00",
"event_categories_allowed": [
"all"
],
"id": "0194cc3b-863f-ba0a-967e-0d0813a58a7d",
"inserted_at": "2025-02-03 14:34:00.639861Z",
"notification_key": "KXe1JxmdHIcRhAsnbaTBvSGNSQli4I798oGMb8abeMBcKzJoUpWkOQ==",
"notification_secret": "some_notification_secret",
"notification_url": "https://mynotificationurl.com/endpoint",
"oauth_client_id": null,
"oauth_client_secret": null,
"oauth_scope": "",
"oauth_url": null,
"org_id": "0194cc3b-863f-0aa1-bf79-4db349948332",
"updated_at": "2025-02-03 14:34:00.639872Z"
}
}
Last updated
Was this helpful?