Attach a webhook target to an automation blueprint

POST /api/v1/automation-blueprints/{automationBlueprint_uuid}/webhook-targets

Headers

Path parameters

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      The UUID of the custom field

    • datetime the webhook trigger was created

    • datetime the webhook trigger was updated

    • url string

      the targets endpoint

POST /api/v1/automation-blueprints/{automationBlueprint_uuid}/webhook-targets
curl \
 -X POST https://api.plannrcrm.com/api/v1/automation-blueprints/automationBlueprint_uuid/webhook-targets \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json"
Response examples (200)
{
  "url": "https://api.plannrcrm.com/api/v1/webhooks/01605357-9fba-4cab-b4f0-141476dfa4ea",
  "uuid": "72e6bb0b-91d0-4395-b18b-f4249a2b02dc",
  "created_at": "2024-11-20T13:24:03+00:00",
  "updated_at": "2024-11-20T13:24:03+00:00"
}