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 \
 --request POST https://api.plannrcrm.com/api/v1/automation-blueprints/automationBlueprint_uuid/webhook-targets \
 --header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 --header "Content-Type: application/json" \
 --header "Accept: application/json"
Response examples (200)
{
  "url": "https://api.plannrcrm.com/api/v1/webhooks/01605357-9fba-4cab-b4f0-141476dfa4ea",
  "uuid": "2b79abee-e964-435b-b7f0-8bca7c2da574",
  "created_at": "2025-02-20T10:13:05+00:00",
  "updated_at": "2025-02-20T10:13:05+00:00"
}