APIEndpoints
POST /v1/workspaces/{workspaceId}/webhooks
Create a webhook endpoint for a workspace.
POST
/v1/workspaces/{workspaceId}/webhooksPath Parameters
workspaceId*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://api.hyrelog.com/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08/webhooks" \ -H "Content-Type: application/json" \ -d '{ "url": "http://example.com" }'{
"id": "string",
"url": "string",
"status": "string",
"events": [
"string"
],
"projectId": null,
"secret": "string",
"createdAt": "2019-08-24T14:15:22Z"
}