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": "8f6a77c2-fa9a-4655-80b0-511e4b8a54a4",
  "created_at": "2024-10-16T11:10:16+01:00",
  "updated_at": "2024-10-16T11:10:16+01:00"
}