Skip to content

Update endpoint

PATCH
/v1/endpoints/{id}
curl --request PATCH \
--url https://api.hookbridge.io/v1/endpoints/ep_550e8400e29b41d4a716446655440000 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "url": "https://new-customer.app/webhooks" }'

Update an existing endpoint. Only provided fields are updated; omitted fields retain their current values.

id
required
string
/^ep_[a-f0-9]{32}$/

Endpoint identifier (ep_ prefix + 32 hex chars)

Example
ep_550e8400e29b41d4a716446655440000
Media typeapplication/json
object
url

Updated endpoint URL

string format: uri
>= 12 characters <= 2048 characters /^https:///
description

Updated description

string
<= 500 characters
rate_limit_rps

Updated rate limit

integer
<= 1000
burst

Updated burst size

integer
<= 10000
headers

Updated custom headers

object
key
additional properties
string
Examples

Update URL only

{
"url": "https://new-customer.app/webhooks"
}

Endpoint updated successfully

Media typeapplication/json
object
data
object
id

Endpoint ID

string
updated

Whether the update was successful

boolean
meta
object
request_id

Unique identifier for this request (useful for support)

string
Example
{
"data": {
"id": "ep_550e8400e29b41d4a716446655440000",
"updated": true
},
"meta": {
"request_id": "req_xyz123"
}
}

Invalid request

Media typeapplication/json
object
error
object
code

Machine-readable error code

string
message

Human-readable error message

string
meta
object
request_id

Unique identifier for this request (useful for support)

string
Examples

Endpoint not found

{
"error": {
"code": "ENDPOINT_NOT_FOUND",
"message": "endpoint not found"
},
"meta": {
"request_id": "req_xyz123"
}
}

Unauthorized - Invalid or missing API key

Media typeapplication/json
object
error
object
code

Machine-readable error code

string
message

Human-readable error message

string
meta
object
request_id

Unique identifier for this request (useful for support)

string
Example
{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key"
},
"meta": {
"request_id": "req_xyz123"
}
}

Resource not found

Media typeapplication/json
object
error
object
code

Machine-readable error code

string
message

Human-readable error message

string
meta
object
request_id

Unique identifier for this request (useful for support)

string
Example
{
"error": {
"code": "NOT_FOUND",
"message": "Message not found"
},
"meta": {
"request_id": "req_xyz123"
}
}
Personalize Examples

Enter your credentials to populate code examples throughout the docs.