Update inbound endpoint
const url = 'https://api.hookbridge.io/v1/inbound-endpoints/01935abc-def0-7123-4567-890abcdef012';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"Updated endpoint name"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.hookbridge.io/v1/inbound-endpoints/01935abc-def0-7123-4567-890abcdef012 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "Updated endpoint name" }'Update an existing inbound endpoint. Only provided fields are updated; omitted fields retain their current values.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Inbound endpoint identifier (UUIDv7)
Example
01935abc-def0-7123-4567-890abcdef012Request Bodyrequired
Section titled “Request Bodyrequired”object
Updated endpoint name
Updated description
Updated endpoint mode. When switching to forward, a URL is required —
either provided in this request or already stored on the endpoint.
Updated forwarding URL
Enable/disable static token verification
Updated header name for static token
Updated query param for static token
Updated static token value
Enable/disable HMAC verification
Updated HMAC header name
Updated HMAC secret
Updated timestamp header name
Updated timestamp TTL
Enable/disable IP allowlist verification
Updated CIDR allowlist
Updated idempotency header names
Updated ingest response code
Enable/disable delivery signing
Examples
Update name only
{ "name": "Updated endpoint name"}Enable HMAC verification
{ "verify_hmac": true, "hmac_header_name": "X-Signature", "hmac_secret": "my-secret-key"}Responses
Section titled “Responses”Inbound endpoint updated successfully
object
object
Inbound endpoint ID
Whether the update was successful
object
Unique identifier for this request (useful for support)
Example
{ "data": { "id": "01935abc-def0-7123-4567-890abcdef012", "updated": true }, "meta": { "request_id": "req_xyz123" }}Invalid request
object
object
Machine-readable error code
Human-readable error message
object
Unique identifier for this request (useful for support)
Examples
Endpoint not found
{ "error": { "code": "ENDPOINT_NOT_FOUND", "message": "endpoint not found" }, "meta": { "request_id": "req_xyz123" }}Invalid endpoint ID format
{ "error": { "code": "INVALID_REQUEST", "message": "endpoint_id must be in format ep_xxx" }, "meta": { "request_id": "req_xyz123" }}Invalid payload
{ "error": { "code": "INVALID_REQUEST", "message": "payload must be valid JSON" }, "meta": { "request_id": "req_xyz123" }}Invalid headers
{ "error": { "code": "INVALID_HEADERS", "message": "header 'Host' is forbidden and cannot be overridden" }, "meta": { "request_id": "req_xyz123" }}Unauthorized - Invalid or missing API key
object
object
Machine-readable error code
Human-readable error message
object
Unique identifier for this request (useful for support)
Example
{ "error": { "code": "UNAUTHORIZED", "message": "Invalid or missing API key" }, "meta": { "request_id": "req_xyz123" }}Resource not found
object
object
Machine-readable error code
Human-readable error message
object
Unique identifier for this request (useful for support)
Example
{ "error": { "code": "NOT_FOUND", "message": "Message not found" }, "meta": { "request_id": "req_xyz123" }}Duplicate URL conflict
object
object
Machine-readable error code
Human-readable error message
object
Unique identifier for this request (useful for support)
Example
{ "error": { "code": "INVALID_REQUEST", "message": "endpoint must be a valid HTTPS URL" }, "meta": { "request_id": "req_xyz123" }}Enter your credentials to populate code examples throughout the docs.