Webhooks

Create a webhook

Create a webhook dataset.

post/workspaces/{workspace_id}/projects/{project_id}/webhooks

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/workspaces/{workspace_id}/projects/{project_id}/webhooks
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID

Path parameters

workspace_idinteger required

Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.

Example:4
project_idinteger required

Project ID of the workspace

Example:4

Request body

folder_resource_idstring nullable

Folder resource id

namestring

Name of the webhook

mode'replace' | 'combine'

Mode of the webhook

originsstring

Origins

is_secureboolean

Is secure

Example request

{
  "folder_resource_id": "label_1363",
  "name": "test",
  "mode": "combine"
}

Response

Document created, URL follows

Changes

No recorded changes to this operation across all 3 revisions of this API.