Connect Webhook

What you need to connect Webhook to Indrava, and what Webhook allows in a post.

Embed
Preview of the card
<a href="https://indrava.forumulate.com/help/connect-webhook"><img src="https://indrava.forumulate.com/help/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/eb86896a-9649-48ed-a1a6-566b48188df7/pages/83f2ae2e-5622-4274-9b4b-56fdc44cbc08/social-card.svg?v=3e7ae33eec8b" alt="Connect Webhook" width="600" height="315"></a>

<!-- 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: https://example.com/hook

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: Authorization: Bearer …

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: { "content": "{text}", "files": {media}, "ref": "{postId}" }

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, the media file names, types and alt text (not the files), the post's settings, replyTo (the id you returned for the previous part of a thread) and idempotencyKey.

  • Each request carries an idempotency-key header 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 id and url, 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.

Updated