Connect Webhook
What you need to connect Webhook to Indrava, and what Webhook allows in a post.
<!-- Generated by scripts/channel-docs.ts from packages/providers. Do not edit by hand: edit the provider or the notes in the script. -->
Connect
In Indrava, open Channels, choose Connect a channel and pick Webhook. Paste the following. Indrava checks the details with Webhook before saving, and stores them encrypted.
What to paste | Needed | Notes |
|---|---|---|
URL | yes | Example: |
Signing secret | optional | If set, requests carry an x-indrava-signature header (HMAC-SHA256 of the body). |
Method | optional | One of: POST, PUT. |
Headers | optional | One per line as: Name: value. Sent with every request. Host and the connection's own headers cannot be set. Example: |
Body template | optional | JSON sent instead of the standard body. "{text}" is the post's text and "{postId}" its id on this channel, both written inside quotes; {media} is the list of files (name, mime, alt, size, url), written without quotes. Example: |
Limits
Text: up to 100,000 characters per part.
Media: up to 20 files per part.
Images: any type the media library accepts.
Video: any type the media library accepts.
The composer shows the character count for each channel and names any file a channel will not take before you schedule.
What else works
Threads: later parts of a post are published as replies to the first.
Analytics: Indrava does not read post numbers from this platform.
Good to know
Indrava sends a JSON body with the part's
text, themediafile names, types and alt text (not the files), the post'ssettings,replyTo(the id you returned for the previous part of a thread) andidempotencyKey.Each request carries an
idempotency-keyheader that is the same on every retry of the same part. Use it to ignore repeats.With a signing secret, each request also carries
x-indrava-signature: the HMAC-SHA256 of the body in hex.Answer with a 2xx status. If you answer JSON with
idandurl, Indrava stores them as the published post's id and link.The address must be reachable from the internet. Private and local addresses are refused.