Hyperlocal API
Download OpenAPI DocumentLocalized WhatsApp and Facebook campaigns (contacts, templates, broadcasts and their results), and personalised agent videos.
Run localized WhatsApp and Facebook campaigns for a network of local contacts, such as dealers or stores. You keep a catalog of products and templates, and a list of contacts with their state and channels. A broadcast then renders one personalized creative per contact, in the language of the contact's state, and sends it. New here? Read Hyperlocal for the whole flow, then make your first call with the Quickstart.
Every request
Send your organization API key in the x-api-key header; it starts with uvk_. Create one in the Universe app under Settings → API keys. The key and organization limits count requests over a rolling minute. See Authentication and Rate limits.
The typical flow: upload a creative, create a template and its localizations, import your contacts, get a WhatsApp template approved, then create a broadcast, send it once every creative is ready, and read its analytics.
Languages in this API are BCP-47 codes such as hi-IN, ta-IN or mr-IN, and states are Indian state and union territory names such as Maharashtra or Tamil Nadu. Get preferences lists the states and the language each one uses.
Rendering creatives, sending messages, rendering an overlay and localizing contacts charge credits. Those endpoints say so on their page, with the current price; without enough credits they return 402 and nothing is created or sent. See Credits.
Contacts
Contacts are the dealers, shops and partners a broadcast reaches. Each one has a state and area, which decide its language, and channel details such as a WhatsApp number. Add them one at a time or import a spreadsheet.
- GET/v1/galaxy/hyperlocal/contact
- GET/v1/galaxy/hyperlocal/contact/{id}
- POST/v1/galaxy/hyperlocal/contact
- PUT/v1/galaxy/hyperlocal/contact/{id}
- PUT/v1/galaxy/hyperlocal/contact/{id}/channels
- POST/v1/galaxy/hyperlocal/contact/upload/presign
- POST/v1/galaxy/hyperlocal/contact/import
- GET/v1/galaxy/hyperlocal/contact/states
- GET/v1/galaxy/hyperlocal/contact/zones
- GET/v1/galaxy/hyperlocal/contact/areas
- GET/v1/galaxy/hyperlocal/contact/channel-reach
List contacts
Get a contact
Create a contact
Update a contact
Update contact channels
Get an upload URL for an import
Import contacts
List contact states
List contact zones
List contact areas
Get channel reach
Contact groups
Named, reusable segments of your contacts, such as "Premium dealers". A contact can be in several groups. Use group IDs to target a broadcast. Deleting a group never deletes its contacts.
List contact groups
Get a contact group
Create a contact group
Update a contact group
Add contacts to a group
Contact localization
Translate or transliterate a contact's names, area and address into the language of its state, so creatives show them in the local script. Preview and edit one contact, or localize many at once (charged per translated field).
Get the localization summary
Localize contacts
Preview contact localization
Save contact localization
Preferences
Your organization's Hyperlocal settings: which language each state uses, and whether each contact field is translated or transliterated. Defaults apply until you override them.
Get preferences
Products
The catalog items your creatives promote. A product has models (variants), and every template belongs to a product and one of its models.
List products
Get a product
Create a product
Update a product
See what uses a product
Product models
The models or variants of a product, such as a size or edition. Every template is tied to a product and one of its models.
List product models
Get a product model
Create a product model
Update a product model
See what uses a product model
Templates
A template is the base creative, an image or a video, for one product, in its source language. Localizations add versions in other languages, overlays draw each contact's details on it, and the message-template mapping chooses the WhatsApp or Facebook copy for each language.
List templates
Get a template
Create a template
Update a template
Map message templates
Localizations
Language versions of a template: a translated title and caption, and optionally a localized creative. A broadcast sends each contact the version for the language of its state.
List localizations
Get a localization
Preview a localization
Create a localization
Update a localization
Overlays
An overlay places text and images, such as the dealer's name, phone or logo, on top of a template's creative, per language. Resolve shows the values for one contact; render produces the finished image or video (charged).
- GET/v1/galaxy/hyperlocal/template-overlay
- POST/v1/galaxy/hyperlocal/template-overlay
- POST/v1/galaxy/hyperlocal/template-overlay/copy
- POST/v1/galaxy/hyperlocal/template-overlay/copy-from-default
- POST/v1/galaxy/hyperlocal/template-overlay/resolve
- POST/v1/galaxy/hyperlocal/template-overlay/render
- GET/v1/galaxy/hyperlocal/template-overlay/media-metadata
List overlays
Save an overlay
Copy an overlay
Copy the default overlay
Resolve overlay values
Render an overlay
Read video metadata
Uploads
Upload the media your templates, contacts and products use: template creatives (image or video), contact logos and product images. Get a presigned URL, PUT the file to it, then register it. Or use a file already in your organization's assets.
Get an upload URL
Register an upload
Use a file from your assets
WhatsApp templates
WhatsApp only delivers business-initiated messages that use a template Meta has approved. Create a draft, submit it to Meta, then refresh its status until it is approved. Broadcasts send the creative as the template's header.
- GET/v1/galaxy/hyperlocal/whatsapp-template/meta
- GET/v1/galaxy/hyperlocal/whatsapp-template
- GET/v1/galaxy/hyperlocal/whatsapp-template/{id}
- POST/v1/galaxy/hyperlocal/whatsapp-template
- PUT/v1/galaxy/hyperlocal/whatsapp-template/{id}
- POST/v1/galaxy/hyperlocal/whatsapp-template/{id}/submit
- POST/v1/galaxy/hyperlocal/whatsapp-template/{id}/refresh
Get WhatsApp template options
List WhatsApp templates
Get a WhatsApp template
Create a WhatsApp template
Update a WhatsApp template
Submit a WhatsApp template
Refresh WhatsApp template status
Facebook pages
A contact can connect its own Facebook Page, so broadcasts can post to it. Create a connect link and send it to the contact; they approve access on Facebook. Then check the connection or disconnect it.
Create a Facebook connect link
Get Facebook connection status
Facebook templates
The caption of a Facebook post, per language, with placeholders filled from each contact's details. Broadcasts post the creative to each connected contact's Page with this caption.
Get Facebook template options
List Facebook templates
Get a Facebook template
Create a Facebook template
Update a Facebook template
Broadcasts
A broadcast sends one template to an audience of contacts. Creating it renders a personalized creative for each contact (charged per creative). When every creative is ready, the broadcast is in review and you can send it.
Estimate a broadcast
Create a broadcast
List broadcasts
Get a broadcast
List broadcast contacts
Regenerate a creative
Sending
Send a reviewed broadcast now or at a set time, pause, resume or stop it, and resend messages that failed. Each message is charged when the send starts.
- GET/v1/galaxy/hyperlocal/broadcast/{id}/send-preview
- POST/v1/galaxy/hyperlocal/broadcast/{id}/trigger
- PUT/v1/galaxy/hyperlocal/broadcast/{id}/schedule
- POST/v1/galaxy/hyperlocal/broadcast/{id}/resume
- POST/v1/galaxy/hyperlocal/broadcast/{id}/dispatch/{dispatchId}/retrigger
- POST/v1/galaxy/hyperlocal/broadcast/{id}/retry-failed
Preview a send
Send a broadcast
Schedule a broadcast
Resume a send
Resend a message
Resend failed messages
Test messages
Before a broadcast, send one WhatsApp message with one language version of a creative to your own number. Tests are charged as one message and limited per member per hour.
Preview a test message
Send a test message
Analytics
Delivery and engagement for a broadcast: the WhatsApp funnel (sent, delivered, read), Facebook post insights, and every attempt for one contact. Facebook insights update only when you refresh them.
Get broadcast analytics
Get contact delivery status
Refresh Facebook insights
Refresh post insights
Create an agent video
Append a personalised end card to your video: the agent's name, mobile number and email (plus their photo and ARN when sent), with an AI voice-over ("For investment advice, kindly speak with {name} on mobile number {digits}"). The card lasts 5 seconds (longer if the voice-over needs it) and matches your video's size. Returns at once with the video's id and status queued; poll Get an agent video until it is completed (its videoUrl is the finished MP4) or failed. Credits are charged when the video is accepted — a flat 25 credits per video, whatever its length — and refunded if it fails. Send a referenceId to make retries safe: the same request with the same referenceId returns the existing video (HTTP 200) instead of making a new one; different details under a used referenceId are refused (409).
Permission: hyperlocal.agent_video:create. An API key acts with the role of the member who created it.
Bodyrequiredapplication/json
Public https link to the source video (MP4, MOV, WebM, MKV and other common formats; up to 10 minutes and 500 MB).
The agent's name: letters, spaces and . ' - (at most 50 characters).
Mobile number. Digits, with optional +, spaces or dashes; a leading +91 is dropped. Spoken digit by digit in the voice-over.
The agent's email (at most 100 characters).
Public https link to the agent's photo (JPEG, PNG or WebP, up to 10 MB, at least 400 px on its shorter side). Optional: without it the card shows the details centred, with no photo.
Public https link to a logo shown top-right on the end card: JPEG, PNG or WebP (PNG with a transparent background works best), at least 200 px on its shorter side, at most 2000 px on its longer side, and no wider or taller than 4:1. Empty borders are trimmed automatically.
The agent's ARN, shown as sent: letters, digits and / . _ - with no spaces (at most 30 characters). Optional: without it the card leaves the ARN line out.
Your own id for this video (letters, digits, -, _, ., :). Sending the same request with the same referenceId returns the existing video instead of making (and charging for) a new one — safe to retry. Different details under a used referenceId are refused (409).
Responses
200This referenceId was already used: the existing video.
The video id — poll GET …/agent-video/{id}.
queued → processing → completed (videoUrl is set) or failed (error is set; the credits are refunded).
The finished video (MP4) — a permanent public link. Set once completed.
Length of the finished video in seconds.
Why it failed. Set once failed.
Null once the agent details were removed (30 days after the video finished; see personalDataClearedAt).
Null when the video was made without an ARN.
Digits only, as shown on the card. Null once removed.
Null once removed.
When the agent details (name, mobile, email, ARN, photo) were removed — 30 days after the video finished. The video stays available.
202Accepted — rendering has started.
The video id — poll GET …/agent-video/{id}.
queued → processing → completed (videoUrl is set) or failed (error is set; the credits are refunded).
The finished video (MP4) — a permanent public link. Set once completed.
Length of the finished video in seconds.
Why it failed. Set once failed.
Null once the agent details were removed (30 days after the video finished; see personalDataClearedAt).
Null when the video was made without an ARN.
Digits only, as shown on the card. Null once removed.
Null once removed.
When the agent details (name, mobile, email, ARN, photo) were removed — 30 days after the video finished. The video stays available.
400A field is missing or invalid, a link is not a public https link, the video cannot be read or is longer than 10 minutes, or the photo / logo is not an image. Nothing is charged.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
401The `x-api-key` header is missing, or the key is invalid, expired or deleted.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
402Not enough credits (`InsufficientCredits`, with `required` and `available`). Nothing is created.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
403Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
409This `referenceId` was already used for a video with different details. Nothing is created; send a new `referenceId`.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
429Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
500Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
503Video processing is unavailable right now; the credits are refunded. Try again shortly.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
curl '{{API_BASE_URL}}/v1/galaxy/hyperlocal/agent-video' \
--request POST \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"videoUrl": "https://cdn.example.com/campaigns/sip-launch.mp4",
"photoUrl": "https://cdn.example.com/agents/rohan.jpg",
"logoUrl": "https://cdn.example.com/brand/logo.png",
"name": "Rohan Sharma",
"arn": "781673/OCT/ABC",
"mobile": "8090134650",
"email": "rohan@gmail.com",
"referenceId": "agent-rohan-sip-oct"
}'{
"id": "string",
"referenceId": "string",
"status": "queued",
"videoUrl": "string",
"durationSeconds": 1.5,
"error": "string",
"name": "string",
"arn": "string",
"mobile": "string",
"email": "string",
"createdAt": "2026-01-15T09:30:00Z",
"completedAt": "2026-01-15T09:30:00Z",
"personalDataClearedAt": "2026-01-15T09:30:00Z"
}