GoSmarter Logo
GoSmarter Certificate API

List webhook endpoints (Preview)

GET
https://violet-swordtail-main-4217c95.zuplo.app
/v1-preview/webhooks

Preview: this endpoint may change without a new version while it is in Preview. Returns the account's webhook endpoints. Secrets are never returned.

List webhook endpoints (Preview) › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

List webhook endpoints (Preview) › Responses

The endpoints


Register a webhook endpoint (Preview)

POST
https://violet-swordtail-main-4217c95.zuplo.app
/v1-preview/webhooks

Preview: this endpoint may change without a new version while it is in Preview. Registers an HTTPS endpoint (port 443, public addresses only) that receives one signed delivery per job when the job reaches a final state. The response contains the signing secret: store it now, it is never shown again. At most five endpoints per account. See the Webhooks page for the payload and how to verify the signature.

Register a webhook endpoint (Preview) › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Register a webhook endpoint (Preview) › Request Body

url
​string · uri · required

HTTPS address, port 443, public host.

events
​string[]

Defaults to ["job.completed"].

Enum values:
job.completed

Register a webhook endpoint (Preview) › Responses

The endpoint, with its secret (shown once)

endpointId
​string · uuid
url
​string
events
​string[]
createdAt
​string · date-time
updatedAt
​string · date-time
rotationInProgress
​boolean

True while deliveries carry signatures for both the new and the previous secret.

secret
​string

Present only in the response that created or rotated the secret; never retrievable again.


Get a webhook endpoint (Preview)

GET
https://violet-swordtail-main-4217c95.zuplo.app
/v1-preview/webhooks/{endpointId}

Preview: this endpoint may change without a new version while it is in Preview. Returns one endpoint. The secret is never returned.

Get a webhook endpoint (Preview) › path Parameters

endpointId
​string · uuid · required

Get a webhook endpoint (Preview) › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Get a webhook endpoint (Preview) › Responses

The endpoint

endpointId
​string · uuid
url
​string
events
​string[]
createdAt
​string · date-time
updatedAt
​string · date-time
rotationInProgress
​boolean

True while deliveries carry signatures for both the new and the previous secret.

secret
​string

Present only in the response that created or rotated the secret; never retrievable again.


Update a webhook endpoint (Preview)

PUT
https://violet-swordtail-main-4217c95.zuplo.app
/v1-preview/webhooks/{endpointId}

Preview: this endpoint may change without a new version while it is in Preview. Replaces the endpoint's url and events (same rules as registering). The secret is unchanged; rotate it separately.

Update a webhook endpoint (Preview) › path Parameters

endpointId
​string · uuid · required

Update a webhook endpoint (Preview) › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Update a webhook endpoint (Preview) › Request Body

url
​string · uri · required

HTTPS address, port 443, public host.

events
​string[]

Defaults to ["job.completed"].

Enum values:
job.completed

Update a webhook endpoint (Preview) › Responses

The updated endpoint

endpointId
​string · uuid
url
​string
events
​string[]
createdAt
​string · date-time
updatedAt
​string · date-time
rotationInProgress
​boolean

True while deliveries carry signatures for both the new and the previous secret.

secret
​string

Present only in the response that created or rotated the secret; never retrievable again.


Delete a webhook endpoint (Preview)

DELETE
https://violet-swordtail-main-4217c95.zuplo.app
/v1-preview/webhooks/{endpointId}

Preview: this endpoint may change without a new version while it is in Preview. Removes the endpoint and its secrets. Deliveries still waiting for it are abandoned.

Delete a webhook endpoint (Preview) › path Parameters

endpointId
​string · uuid · required

Delete a webhook endpoint (Preview) › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Delete a webhook endpoint (Preview) › Responses

Deleted

No data returned

Send a test delivery (Preview)

POST
https://violet-swordtail-main-4217c95.zuplo.app
/v1-preview/webhooks/{endpointId}/test

Preview: this endpoint may change without a new version while it is in Preview. Sends one signed webhook.test event to the endpoint and reports what happened. Nothing is retried or stored.

Send a test delivery (Preview) › path Parameters

endpointId
​string · uuid · required

Send a test delivery (Preview) › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Send a test delivery (Preview) › Responses

Whether the receiver answered 2xx

delivered
​boolean
statusCode
​integer | null
error
​string | null

Rotate a webhook secret (Preview)

POST
https://violet-swordtail-main-4217c95.zuplo.app
/v1-preview/webhooks/{endpointId}/rotate-secret

Preview: this endpoint may change without a new version while it is in Preview. Creates a new signing secret and returns it once. Until you call retire-previous-secret, every delivery carries a signature for the new and for the previous secret, so receivers can switch without a gap.

Rotate a webhook secret (Preview) › path Parameters

endpointId
​string · uuid · required

Rotate a webhook secret (Preview) › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Rotate a webhook secret (Preview) › Responses

The endpoint, with the new secret (shown once)

endpointId
​string · uuid
url
​string
events
​string[]
createdAt
​string · date-time
updatedAt
​string · date-time
rotationInProgress
​boolean

True while deliveries carry signatures for both the new and the previous secret.

secret
​string

Present only in the response that created or rotated the secret; never retrievable again.


Retire the previous webhook secret (Preview)

POST
https://violet-swordtail-main-4217c95.zuplo.app
/v1-preview/webhooks/{endpointId}/retire-previous-secret

Preview: this endpoint may change without a new version while it is in Preview. Ends a rotation: deliveries are signed with the new secret only. Safe to repeat.

Retire the previous webhook secret (Preview) › path Parameters

endpointId
​string · uuid · required

Retire the previous webhook secret (Preview) › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Retire the previous webhook secret (Preview) › Responses

The endpoint

endpointId
​string · uuid
url
​string
events
​string[]
createdAt
​string · date-time
updatedAt
​string · date-time
rotationInProgress
​boolean

True while deliveries carry signatures for both the new and the previous secret.

secret
​string

Present only in the response that created or rotated the secret; never retrievable again.