Skip to content

Create signing key

POST
/v1/endpoints/{id}/signing-keys
curl --request POST \
--url https://api.hookbridge.io/v1/endpoints/ep_550e8400e29b41d4a716446655440000/signing-keys \
--header 'Authorization: Bearer <token>'

Create an additional signing key for this endpoint. Maximum 2 active keys per endpoint.

Important: The new signing_secret is only returned once. Store it securely.

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

Endpoint identifier (ep_ prefix + 32 hex chars)

Example
ep_550e8400e29b41d4a716446655440000

Signing key created successfully

Media typeapplication/json
object
data
object
id

Signing key ID

string
signing_secret

The signing secret - shown only once! Store this securely for verifying webhook signatures.

string
key_hint
string
created_at
string format: date-time
meta
object
request_id

Unique identifier for this request (useful for support)

string
Example
{
"data": {
"id": "sk_550e8400e29b41d4a716446655440001",
"signing_secret": "whsec_newabcdefghijklmnopqrstuvwxyz12",
"key_hint": "wxyz",
"created_at": "2025-12-06T12:10:00Z"
},
"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"
}
}

Conflict - action cannot be completed

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

Maximum signing keys reached

{
"error": {
"code": "MAX_SIGNING_KEYS_REACHED",
"message": "Endpoint already has the maximum of 2 signing keys"
},
"meta": {
"request_id": "req_xyz123"
}
}
Personalize Examples

Enter your credentials to populate code examples throughout the docs.