Skip to navigation

List webhook endpoints

Retrieves the workspace’s webhook endpoints, sorted from oldest to newest.

Each endpoint includes its URL and subscribed events. The signing secret is returned only when the endpoint is created and is not included in this response.

With a session token, send workspaceId to name the workspace. With an API key, workspaceId is optional and must be the key’s workspace.

Required permission: Workspace owner or admin.

Authentication

AuthorizationBearer
An API key associated with your user account and workspace. API requests inherit your existing workspace permissions.
OR
AuthorizationBearer
The session token of a user signed in to the CAD ROOMS app. Every endpoint accepts it in place of an API key.

Query parameters

limitintegerOptional1-1000Defaults to 100
Maximum number of records to return per page. Accepts values between 1 and 1000.
cursorstringOptional

Cursor for retrieving the next page. Use the nextCursor value from the previous response. Omit for the first page.

workspaceIdstringOptionalformat: "uuid"
The workspace whose endpoints to list. Required with a session token. With an API key, defaults to the key’s workspace.

Response headers

Request-IdstringOptional

Request-Id. Unique identifier for the request. Every response, success or error, returns it. Error bodies carry the same value in requestId. Include it when contacting CAD ROOMS support.

Response

Returns a paginated list of webhook endpoints, sorted from oldest to newest.
datalist of objects
Array of records returned for the current page, following the endpoint's defined sort order.
nextCursorstring or null

Cursor for retrieving the next page. Returns null when there are no more results.

totalCountintegerOptional

Number of records that match the request, across all pages. Returned only when the list accepts include=totalCount and you send it.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error