OpenAPI operations
Create an application
const url = 'https://api.hooks.events/v1/applications';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"example","uid":"example","brandColor":"example","customDomain":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.hooks.events/v1/applications \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "uid": "example", "brandColor": "example", "customDomain": "example" }'Each application is one end customer and owns a hidden endpoint plus its own Standard Webhooks signing key. uid is a customer-side id, unique per workspace.
Requires the endpoints:write scope.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “Responses”Success
Tenant application (one end customer)
object
Resource id
Customer-side identifier, unique per workspace
Portal accent color
Customer hostname that fronts the portal
Backing endpoint that receives the application’s messages
Public URL of the backing endpoint
ISO-8601 timestamp
ISO-8601 timestamp
Example
{ "status": "active"}Validation error
object
object
Machine-readable error code
Request id, also echoed in x-request-id
Example generated
{ "error": { "code": "example", "message": "example", "requestId": "example" }}Missing or invalid credentials
object
object
Machine-readable error code
Request id, also echoed in x-request-id
Example generated
{ "error": { "code": "example", "message": "example", "requestId": "example" }}The credential lacks the required scope, or the workspace is not writable
object
object
Machine-readable error code
Request id, also echoed in x-request-id
Example generated
{ "error": { "code": "example", "message": "example", "requestId": "example" }}Rate limited
object
object
Machine-readable error code
Request id, also echoed in x-request-id
Example generated
{ "error": { "code": "example", "message": "example", "requestId": "example" }}Headers
Section titled “Headers”Requests allowed per window
Seconds until the window resets