v1.0.0OpenAPI 3.1.1

Hyperlocal API

Download OpenAPI Document

Localized 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.

Server
{{API_BASE_URL}}
Your API environment
Authentication RequiredApiKeyAuth
Your organization API key (starts with `uvk_`). Create one in the Universe app under Settings → API keys.
x-api-key:
Client Libraries
Shell

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

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

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

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.

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

Auth Required

The contacts in a broadcast, in the order they were added, each with the language of its creative, its generationStatus and the rendered creative's mediaUrl. After sending, dispatches shows each channel's delivery state. Filter with status (for example failed, to find creatives to regenerate) and search; paginated with page and limit. Each item's id is the bcId the per-contact routes take.

Permission: hyperlocal.broadcast:read. An API key acts with the role of the member who created it.

Path Parameters

idstring · uuidrequired

Broadcast ID (id returned by Create a broadcast).

Example: 6e2f9a14-3b7c-4d8e-a1f5-0c9b2d4e7a36

Query Parameters

pagenumber

Page number, from 1.

Default: 1Example: 1Min: 1
limitnumber

Contacts per page, 1 to 100.

Default: 24Example: 24Min: 1Max: 100
searchstring

Only contacts whose person name, firm name or code contains this text (case-insensitive).

Example: Sri Lakshmi
statusstring

Only contacts whose creative is in this state.

Enum values:pendinggeneratinggeneratedfailed
Example: failed

Responses

200One page of the broadcast’s contacts, with paging details in `pagination`.
application/json
dataBroadcastContactRowDto[]required

One page of contacts, in the order they were added.

Show child attributes
idstring · uuidrequired

ID of the contact's row in the broadcast. Use it as bcId.

Example: b4d7e1a3-5c2f-4e9b-8a6d-3f1c0e2b9d57
fk_contactIdstring · uuidrequired

Contact ID.

Example: 0c4f8e2a-6b1d-4a9e-8f3c-7d2b5e1a9c60
languagestring | nullrequired

Language code of the creative version this contact gets, fixed when the broadcast was created.

Example: ta-IN
generationStatusstringrequired

State of this contact's creative.

Enum values:pendinggeneratinggeneratedfailed
Example: generated
generationErrorstring | nullrequired

Why the render failed. Null otherwise.

Example: null
mediaUrlstring | nullrequired

URL of the rendered creative. Null until it is generated.

Example: {{CDN_BASE_URL}}/hyper-local/broadcasts/6e2f9a14/b4d7e1a3.png
mediaTypestring | nullrequired

Kind of creative. Null until it is generated.

Enum values:imagevideo
Example: image
updatedAtstring · date-timerequired

When the row last changed.

Example: 2026-10-04T10:14:55.000Z
dispatchesBroadcastRowDispatchDto[]required

One entry per channel, WhatsApp first. Empty until the broadcast is sent.

Show child attributes
connectorstringrequired

Channel.

Enum values:whatsappfacebook
Example: whatsapp
statusstringrequired

Latest state of the message. skipped: the contact cannot receive this channel. cancelled: the send was stopped before it went out. posted is for Facebook.

Enum values:pendingsendingsentdeliveredreadfailedpostedskippedcancelled
Example: delivered
eligiblebooleanrequired

Whether the contact can receive this channel.

Example: true
skipReasonstring | nullrequired

Why the message was skipped. Null when it was not.

Enum values:no_whatsapp_numberno_fb_page
Example: null
statusAtstring · date-time | nullrequired

When status last changed. Null while pending.

Example: 2026-10-04T11:02:17.000Z
contactBroadcastContactSummaryDtorequired

The contact. Null if it was deleted.

Show child attributes
idstring · uuidrequired

Contact ID.

Example: 0c4f8e2a-6b1d-4a9e-8f3c-7d2b5e1a9c60
personNamestringrequired

Contact person's name.

Example: R. Kumar
firmNamestringrequired

Firm (dealer) name.

Example: Sri Lakshmi Motors
codestringrequired

Your code for the contact.

Example: TN-0142
phonestring | nullrequired

Phone number.

Example: +919843011284
areastringrequired

Area.

Example: Anna Nagar
statestringrequired

Indian state.

Example: Tamil Nadu
paginationBroadcastPaginationDtorequired

Paging details.

Show child attributes
totalnumberrequired

Items that match, on all pages.

Example: 37
pagenumberrequired

This page number.

Example: 1
limitnumberrequired

Items per page.

Example: 12
hasMorebooleanrequired

Whether there is another page after this one.

Example: true
400A path ID is not a UUID (`Validation failed (uuid is expected)`).
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
401The `x-api-key` header is missing, or the key is invalid, expired or deleted.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
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.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
404Broadcast not found No broadcast with this `id` in your organization, or it was deleted (`Broadcast <id> not found`).
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
429Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
500Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
GET/v1/galaxy/hyperlocal/broadcast/{id}/contacts
curl '{{API_BASE_URL}}/v1/galaxy/hyperlocal/broadcast/6e2f9a14-3b7c-4d8e-a1f5-0c9b2d4e7a36/contacts?page=1&limit=24&search=Sri Lakshmi&status=failed' \
  --header 'x-api-key: YOUR_API_KEY'
{
  "data": [
    {
      "id": "b4d7e1a3-5c2f-4e9b-8a6d-3f1c0e2b9d57",
      "fk_contactId": "0c4f8e2a-6b1d-4a9e-8f3c-7d2b5e1a9c60",
      "language": "ta-IN",
      "generationStatus": "generated",
      "generationError": null,
      "mediaUrl": "{{CDN_BASE_URL}}/hyper-local/broadcasts/6e2f9a14/b4d7e1a3.png",
      "mediaType": "image",
      "updatedAt": "2026-10-04T10:14:55.000Z",
      "dispatches": [
        {
          "connector": "whatsapp",
          "status": "delivered",
          "eligible": true,
          "skipReason": null,
          "statusAt": "2026-10-04T11:02:17.000Z"
        }
      ],
      "contact": {
        "id": "0c4f8e2a-6b1d-4a9e-8f3c-7d2b5e1a9c60",
        "personName": "R. Kumar",
        "firmName": "Sri Lakshmi Motors",
        "code": "TN-0142",
        "phone": "+919843011284",
        "area": "Anna Nagar",
        "state": "Tamil Nadu"
      }
    }
  ],
  "pagination": {
    "total": 37,
    "page": 1,
    "limit": 12,
    "hasMore": true
  }
}

Regenerate a creative

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

Models

AgentVideoDto
AgentVideoListDto
AnalyticsFailureReasonDto
AnalyticsStateCountDto
AnalyticsTimeseriesPointDto
BroadcastAnalyticsResponseDto
BroadcastAudienceDto
BroadcastAudienceFilterDto
BroadcastContactListResponseDto
BroadcastContactRowDto
BroadcastContactSummaryDto
BroadcastCountsDto
BroadcastCreatorDto
BroadcastEstimateLanguageDto
BroadcastEstimateResponseDto
BroadcastListResponseDto
BroadcastPaginationDto
BroadcastResponseDto
BroadcastRowDispatchDto
BroadcastScheduleDto
ChannelReachResponseDto
ContactChannelDataDto
ContactDataDto
ContactDeliveryStatusResponseDto
ContactDispatchStatusDto
ContactGroupListResponseDto
ContactGroupRefDto
ContactGroupResponseDto
ContactListItemDto
ContactListResponseDto
ContactLocalizationDto
ContactLocalizationPreviewDto
ContactLocalizationSummaryDto
ContactLocalizedFieldsDto
ContactResponseDto
ContactWhatsappDto
CopyOverlayFromDefaultDto
CopyTemplateOverlayDto
CreateAgentVideoDto
CreateBroadcastDto
CreateContactDto
CreateContactGroupDto
CreateFacebookTemplateDto
CreateHyperlocalUploadPresignDto
CreateLocalizedTemplateDto
CreateProductDto
CreateProductModelDto
CreateStagedUploadDto
CreateTemplateDto
CreateWhatsappTemplateDto
DispatchAttemptDto
EstimateBroadcastDto
FacebookAnalyticsDto
FacebookInsightsTotalsDto
FacebookInviteResponseDto
FacebookMediaDto
FacebookPageStatusDto
FacebookStatusResponseDto
FacebookTemplateListResponseDto
FacebookTemplateOptionsResponseDto
FacebookTemplateResponseDto
FacebookTemplateVariableDto
GroupAudienceFilterDto
GroupMembersDto
GroupMembersResultDto
HlCatalogCreatorDto
HlCatalogPaginationDto
HlCatalogUsageDto
HlCatalogUsageTemplateDto
HlCreatedProductDto
HlLocalizationDto
HlLocalizationListDto
HlLocalizationPreviewDto
HlMessageTemplateEntryDto
HlOverlayDto
HlProductDto
HlProductListDto
HlProductModelDto
HlProductModelListDto
HlResolvedOverlayDto
HlTemplateDto
HlTemplateListDto
HlTemplateListItemDto
HlTemplateModelRefDto
HlTemplateProductRefDto
HyperlocalImportedAssetResponseDto
HyperlocalPaginationDto
HyperlocalRegisteredUploadResponseDto
HyperlocalUploadUrlResponseDto
ImportContactsResponseDto
ImportGroupDto
ImportHyperlocalAssetFromDriveDto
ImportSkipDto
InsufficientCreditsErrorDto
LanguageLocalizationCountsDto
LocalizationMethodsDto
LocalizeContactsDto
LocalizeContactsResponseDto
MessageTemplateCreatorDto
MessageTemplateLanguageDto
MessageTemplatePaginationDto
OrgPreferenceResponseDto
OverlayMediaMetadataDto
PostInsightsDto
PreviewLocalizationDto
RegenerateCreativeResponseDto
RegisterHyperlocalUploadDto
RenderOverlayDto
ResendMessageResponseDto
ResolveOverlayDto
ResumeBroadcastResponseDto
RetryFailedResponseDto
ScheduleBroadcastDto
SendPreviewBlockedDto
SendPreviewChannelDto
SendPreviewLanguageDto
SendPreviewResponseDto
StagedUploadTicketDto
StatusEventDto
TestSendAllowanceDto
TestSendDto
TestSendMessageDto
TestSendPreviewResponseDto
TestSendPreviewVersionDto
TestSendResultResponseDto
TestSendWhatsappTemplateDto
TriggerBroadcastResponseDto
UpdateContactChannelsDto
UpdateContactDto
UpdateContactGroupDto
UpdateContactLocalizationDto
UpdateFacebookTemplateDto
UpdateLocalizedTemplateDto
UpdateProductDto
UpdateProductModelDto
UpdateTemplateDto
UpdateTemplateMessageTemplatesDto
UpdateWhatsappTemplateDto
UpsertTemplateOverlayDto
WhatsappAnalyticsDto
WhatsappBodyDto
WhatsappButtonDto
WhatsAppChannelDto
WhatsappComponentsDto
WhatsappFooterDto
WhatsappHeaderDto
WhatsappTemplateListResponseDto
WhatsappTemplateOptionsResponseDto
WhatsappTemplateResponseDto
WhatsappTemplateVariableDto