Skip to main content
GET
/
v1
/
webhooks
/
{id}
Get a webhook by ID
curl --request GET \
  --url https://dev-public-api.openphone.dev/v1/webhooks/{id} \
  --header 'Authorization: <api-key>'
{
  "data": {
    "id": "<string>",
    "userId": "<string>",
    "orgId": "<string>",
    "label": "my webhook label",
    "status": "enabled",
    "url": "<string>",
    "key": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "deletedAt": "2022-01-01T00:00:00Z",
    "events": [
      "message.received"
    ],
    "resourceIds": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

The unique identifier of a webhook

Example:

"WH12345"

Response

Success

data
object
required