05 / Developers

One call.
Signed webhooks back.

Scoped keys, idempotency keys, status and inbound events signed with your secret, retried for seven days. The reference is public.

Send a template in one request.

Send the key as a bearer token. The request names the contact, the approved template, its language and the variables in order. The platform answers 202 with Preshak's id and Meta's message id once the message is accepted.

Free-form text, media and interactive messages are accepted inside the 24-hour window; outside it the call needs an approved template, and the API says so with a stable error code rather than a silent drop.

POST https://api.preshak.in/v1/messages
Authorization: Bearer pk_live_…
Idempotency-Key: order-4471-friday
{ "to": "9198XXXXXXXX", "template": "order_update", "language": "en", "variables": ["4471", "Friday"] }

202 { "id": "…", "wamid": "wamid.…", "status": "accepted" }

Capabilities

Scoped keys

Each key carries the scopes you give it and, if you want, an IP allow-list. Shown once, hashed at rest, revocable from the console.

Idempotency keys

Send the same key on a retry and the first message comes back unchanged; nothing is sent twice.

Signed webhooks

Status and inbound events are signed with your endpoint secret and retried for seven days. Verify the signature, answer 200, and the record on both sides agrees.

Delivery events

sent, delivered, read and failed per message, with Meta's error code and reason when a send fails.

Consent in the API

Opt-in and opt-out are first-class: a marketing template to a contact without recorded consent is refused before it reaches Meta.

Plans

API access on every plan; webhooks from Growth. See pricing.

Reference

The API reference is public.

Routes, scopes, error codes, webhook payloads and signature verification, described as the routes pass their suites.

Read the API reference (pending)

Webhook delivery200
Event
message.status
Status
read
Signature
sha256=9f1d…
Attempt
1 of up to 7 days

Get started

Every message.
A connection.

Send properly from day one.

Preshak is in private preview. We start with your team, your number and your first template, and the record begins on day one.