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
Send a broadcast automatically at a local date and time in a timezone you choose. The time is the earliest it sends: if creatives are still rendering then, it sends as soon as the last one is ready. Calling it again moves the schedule. Works while the broadcast is generating, review or scheduled; one in review moves to scheduled. To schedule at create, pass schedule to Create a broadcast instead. Returns the broadcast with its schedule.
Permission: hyperlocal.broadcast:update. An API key acts with the role of the member who created it.
Credits: Nothing is charged when you schedule. The messages are charged at the scheduled time, exactly as Send a broadcast charges them. If your organization doesn't have enough credits then, nothing is sent, the broadcast goes back to review, and statusReason says why.
| Rate | What it covers | Price |
|---|---|---|
| Broadcast send | Dispatching one broadcast message — a WhatsApp template message or a Facebook post. | 10 credits |
Path Parameters
Broadcast ID (id returned by Create a broadcast).
Bodyrequiredapplication/json
Date to send on, YYYY-MM-DD, in timezone.
Time to send at, 24-hour HH:mm, in timezone.
IANA timezone name that date and time are in, such as Asia/Kolkata.
Responses
200The broadcast, with its schedule attached.
Broadcast ID.
Name of the broadcast.
The creative template it sends.
The creative template's title. Null if the template was deleted.
Channels it sends on.
The broadcast's own WhatsApp template, used for languages with no mapped one.
The broadcast's own Facebook template, used for languages with no mapped one.
The options you sent, plus messageTemplates: a copy of the creative template's message-template mapping taken at create (language code → whatsappTemplateId / facebookTemplateId). Later changes to the mapping do not change this broadcast.
The audience filter it was created with.
Show child attributes
Whether the audience was every contact matching the filter (true) or a list of contactIds (false).
Legacy single-state filter. Prefer states; both are combined. Matched without regard to case.
Contacts in any of these Indian states (state on the contact). Matched without regard to case.
Contacts in any of these sales zones (zone on the contact). Matched without regard to case.
Contacts in any of these areas (area on the contact). Matched exactly, including case.
Only contacts in at least one of these contact groups. ANDed with the other filters, so a group plus a state targets that group within that state.
Areas to leave out of the audience (applied after areas). Matched exactly, including case.
Contacts whose person name, firm name or code contains this text (case-insensitive).
generating: creatives are rendering. review: every creative has settled and it waits for Send a broadcast. scheduled: settled, and a schedule will send it. sending, paused, then completed. cancelled: the send was stopped.
Why the broadcast is in its status, when that needs saying: for example a scheduled send that could not go out because your organization was short of credits. Null otherwise.
Progress counters.
Show child attributes
Contacts in the broadcast when it was created.
Creatives rendered so far.
Creatives that failed to render.
Messages sent so far (once sending has started).
Messages that failed to send (once sending has started).
Your organization ID.
Member ID of the member who created the broadcast.
When the broadcast was created.
When the broadcast last changed.
Who created it. Null if the member no longer exists.
Show child attributes
User ID of the member who created the broadcast.
The member's name.
URL of the member's profile picture.
The schedule that will send it. Null when it waits for Send a broadcast.
Show child attributes
ID of the schedule.
What the schedule runs. Always hyperlocal.broadcast.dispatch.
Always hl_broadcast.
The broadcast this schedule sends.
When the broadcast sends, as a UTC instant.
IANA timezone the schedule was set in.
The date you set, YYYY-MM-DD, in timezone.
The time you set, HH:mm, in timezone.
pending until runAt; waiting_readiness when runAt has passed but creatives are still rendering (it sends as soon as they are ready); then firing and fired. expired, failed and cancelled mean it did not send.
How long the schedule waits for the creatives after runAt before it expires. Null when it is not waiting.
Why the schedule is still waiting, in plain words.
Why the last attempt to send failed.
When the schedule sent the broadcast.
When the schedule was set.
400Already sending, time in the past, or unknown timezone A path ID is not a UUID, a field failed validation (`date must be YYYY-MM-DD`, `time must be HH:mm (24h)`), or: - `Broadcast is "<status>" — only a broadcast that has not started sending can be scheduled` - `Scheduled time is in the past — pick a future date and time.` - `Unknown timezone "<timezone>"`
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.
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.
404Broadcast not found No broadcast with this `id` in your organization, or it was deleted (`Broadcast <id> not found`).
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.
curl '{{API_BASE_URL}}/v1/galaxy/hyperlocal/broadcast/6e2f9a14-3b7c-4d8e-a1f5-0c9b2d4e7a36/schedule' \
--request PUT \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"date": "2026-10-12",
"time": "09:00",
"timezone": "Asia/Kolkata"
}'{
"id": "6e2f9a14-3b7c-4d8e-a1f5-0c9b2d4e7a36",
"title": "Q3 monsoon push",
"fk_templateId": "1f6d2b9a-4c3e-4f8a-b7d1-2e9c5a0f3b64",
"templateName": "Monsoon offer — scooter",
"channels": [
"whatsapp",
"facebook"
],
"fk_whatsappTemplateId": "8a3e1c7b-2f4d-4b6a-9c0e-5d7f1a2b3c48",
"fk_facebookTemplateId": null,
"options": {
"messageTemplates": {
"ta-IN": {
"whatsappTemplateId": "8a3e1c7b-2f4d-4b6a-9c0e-5d7f1a2b3c48"
}
}
},
"audience": {
"state": "Tamil Nadu",
"states": [
"Tamil Nadu",
"Maharashtra"
],
"zones": [
"South"
],
"areas": [
"Anna Nagar",
"T. Nagar"
],
"groupIds": [
"5b0c3f2e-8d14-4a7b-9e21-6f3a2c1d0e94"
],
"excludeAreas": [
"Tambaram"
],
"search": "Sri Lakshmi",
"selectAll": true
},
"status": "review",
"statusReason": null,
"counts": {
"total": 120,
"generated": 118,
"generationFailed": 2,
"sent": 96,
"failed": 3
},
"fk_orgId": "2b5d8f1a-4c7e-4a9b-b3d6-9e1f4a7c2d58",
"fk_creatorId": "f3a6c9e2-1b4d-4e7a-9c2f-5b8e1d4a7c06",
"createdAt": "2026-10-04T10:12:41.000Z",
"updatedAt": "2026-10-04T10:18:03.000Z",
"creator": {
"id": "a91c3e5f-7b2d-4f6a-8e0c-2d4b6f8a1c35",
"name": "Priya Raman",
"image": "{{CDN_BASE_URL}}/avatars/priya-raman.png"
},
"schedule": {
"id": "7c1e3a5b-9d2f-4b6e-8a0c-4e6f8a2b1d93",
"handlerKey": "hyperlocal.broadcast.dispatch",
"resourceType": "hl_broadcast",
"resourceId": "6e2f9a14-3b7c-4d8e-a1f5-0c9b2d4e7a36",
"runAt": "2026-10-12T03:30:00.000Z",
"timezone": "Asia/Kolkata",
"localDate": "2026-10-12",
"localTime": "09:00",
"status": "pending",
"readinessDeadlineAt": null,
"notReadyReason": null,
"lastError": null,
"firedAt": null,
"createdAt": "2026-10-04T10:15:00.000Z"
}
}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.