Skip to main content
PATCH
/
locations
/
{locationId}
/
webhook-endpoints
/
{endpointId}
Rename, pause, or resubscribe
curl --request PATCH \
  --url https://api.pickupbell.com/locations/{locationId}/webhook-endpoints/{endpointId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "label": "<string>",
  "active": true,
  "events": [
    "call.ended"
  ]
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "location_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "label": "<string>",
    "url": "<string>",
    "events": [
      "call.ended"
    ],
    "active": true,
    "last_delivered_at": "2023-11-07T05:31:56Z",
    "last_error": "<string>",
    "failure_count": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "disabled_at": "2023-11-07T05:31:56Z",
    "secret": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.pickupbell.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Location-scoped API token from Settings → API & MCP.

Path Parameters

locationId
string
required

Location UUID or slug (e.g. premier-hvac).

endpointId
string<uuid>
required

Body

application/json
label
string
active
boolean
events
enum<string>[]
Available options:
call.ended,
call.emergency,
lead.created,
lead.updated,
booking.created,
booking.updated,
spam.blocked

Response

200 - application/json

Updated

data
object

Customer-registered outbound webhook. secret is only ever returned at creation time; subsequent reads omit it.