Skip to content

Get Webhook

GET https://api.echovalue.dev/webhook/<webhookId>

Returns a single webhook configuration. Responses differ slightly for inbound email and scheduled webhooks.

Headers:

HeaderDescription
x-tokenYour API token

Path parameters:

ParameterTypeDescriptionRequired
webhookIdstringPublic webhook identifier to retrieveYes
Terminal window
curl 'https://api.echovalue.dev/webhook/slack' \
-H 'x-token: mytoken'

200 OK — JSON object.

{
"webhookId": "daily-sync",
"webhook": "https://example.com/hooks/daily-sync",
"headers": {},
"schedule": {
"cron": "0 9 * * *",
"timezone": "Europe/Rome",
"active": true,
"nextRunAt": "2026-04-24T07:00:00.000Z",
"lastRunAt": "2026-04-23T07:00:00.000Z",
"lastStatus": "success"
},
"hash": "a1b2c3d4e5f6..."
}
FieldTypeDescription
webhookIdstringPublic webhook identifier used for update/delete/test operations
webhookstringYour configured callback URL
headersobjectCustom headers (values are redacted)
formatstringConfigured native format, if any (e.g. slack, telegram, custom)
templateobjectCustom template object (only present when format is custom)
optionsobjectFormat-specific options (sensitive values like routing_key are redacted as ***)
includeAttachmentsbooleanWhether attachments are included in webhook payload. Returned only for inbound email webhooks.
scheduleobjectCron schedule configuration and runtime status for scheduled webhooks
emailstringOpaque mailbox address that triggers this webhook. Returned only for inbound email webhooks.
hashstringSHA256 hash of your token — use this to identify incoming payloads
  • email present: this webhook is waiting for inbound email.
  • schedule present: this webhook runs on a schedule.
  • format present: inbound email is transformed into a provider-specific payload before delivery.
  • Scheduled webhook responses omit mailbox-only fields such as format, template, options, and includeAttachments.

Response headers:

HeaderDescription
x-balanceWallet balance after this call
x-costCredits consumed

See Response Headers for details.

StatusMeaning
200Webhook returned
400Invalid request
401Invalid token
402Insufficient credits
404Webhook not found