List

To list the existing webhooks you need to execute a GET request against the /webhooks endpoint.

Pagination is supported with limit, order and after arguments.

If you want to retrieve the details of one concrete webhook, then execute a GET request against the /webhooks/:id endpoint

Request (listing all webhooks)

curl --request GET \
  --url https://api.digitalsamba.com/api/v1/webhooks \
  --user YOUR_TEAM_ID:YOUR_DEVELOPER_KEY

Response (200 OK)

{
    "total_count": 1,
    "data": [
        {
            "id": "7adb1f07-db15-4cdc-8bf0-2be746fcec2a",
            "endpoint": "https://webhook.site/6edb900e-acd7-4877-b8cf-825a0862003b",
            "authorization_header": "Asf#k$%lfCaPe93$a",
            "name": "Testing my first webhook",
            "created_at": "2023-02-06T09:43:48Z",
            "updated_at": "2023-02-06T09:43:48Z"
        }
    ]
} 

Request (get a concrete webhook)

curl --request GET \
  --url https://api.digitalsamba.com/api/v1/webhooks/7adb1f07-db15-4cdc-8bf0-2be746fcec2a \
  --user YOUR_TEAM_ID:YOUR_DEVELOPER_KEY

Response (200 OK)

{
    "id": "7adb1f07-db15-4cdc-8bf0-2be746fcec2a",
    "endpoint": "https://webhook.site/6edb900e-acd7-4877-b8cf-825a0862003b",
    "authorization_header": "Asf#k$%lfCaPe93$a",
    "name": "Testing my first webhook",
    "events": [
        "participant_joined",
        "participant_left"
    ],
    "created_at": "2023-02-06T09:43:48Z",
    "updated_at": "2023-02-06T09:43:48Z"
}

Last updated