curl --request GET \
--url https://dev-public-api.openphone.dev/v1/webhooks \
--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>"
]
}
]
}List all webhooks for a user.
curl --request GET \
--url https://dev-public-api.openphone.dev/v1/webhooks \
--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>"
]
}
]
}Was this page helpful?