Gestiono
Referencia de APIAutomations / Webhook

Get Webhook by automationid info

← Back to full API reference
GET/v1/automation/webhook/:automationId/infoPublic
  • This endpoint can be called without an authenticated session.
  • This route is commonly used as a webhook endpoint.

Request details

Path params

FieldRequiredDescription
automationIdYesRequired path parameter.

Default payloads

Path params

json
{
  "automationId": 1
}

Query

json
{}

Sample response

json
{
  "webhookUrl": "<value>",
  "method": "POST",
  "headers": {
    "Content-Type": "application/json",
    "X-Webhook-Secret": "<your-webhook-secret>"
  },
  "example": {
    "body": {
      "name": "Example",
      "data": {
        "key": "value"
      }
    },
    "templateAccess": [
      "{{webhook.name}} → \"Example\"",
      "{{webhook.data.key}} → \"value\""
    ]
  }
}