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

List contacts

Get a contact

Auth Required

One contact, with its channels and any saved localized values.

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

Path Parameters

idstring · uuidrequired

Contact ID, as returned by Create a contact or List contacts.

Example: 3f8c2b1e-7a4d-4c9e-b5f2-1d6e8a0c4b7f

Responses

200The contact.
application/json
idstring · uuidrequired

Contact ID.

Example: 3f8c2b1e-7a4d-4c9e-b5f2-1d6e8a0c4b7f
personNamestringrequired

Name of the person.

Example: Ravi Kumar
firmNamestringrequired

Name of the firm.

Example: Kumar Traders
codestringrequired

Your code for the contact, unique in your organization.

Example: KT-001
zonestringrequired

Sales zone.

Example: West
statestringrequired

Indian state or union territory. It decides which language version of a template the contact gets.

Enum values:Andhra PradeshArunachal PradeshAssamBiharChhattisgarhGoaGujaratHaryanaHimachal PradeshJharkhandKarnatakaKeralaMadhya PradeshMaharashtraManipurMeghalayaMizoramNagalandOdishaPunjabRajasthanSikkimTamil NaduTelanganaTripuraUttar PradeshUttarakhandWest BengalAndaman and Nicobar IslandsChandigarhDadra and Nagar Haveli and Daman and DiuDelhiJammu and KashmirLadakhLakshadweepPuducherry
Example: Maharashtra
areastringrequired

Area or locality. Empty string when not set.

Example: Andheri East
addressstringrequired

Street address. Empty string when not set.

Example: 123 MG Road
phonestring | nullrequired

Contact phone number.

Example: +919876543210
emailstring | nullrequired

Email address.

Example: ravi@kumartraders.in
websitestring | nullrequired

The dealer's own website, as entered (with or without https://).

Example: kumartraders.in
logostring | nullrequired

Public URL of the contact’s logo, used on creatives that show it.

Example: {{CDN_BASE_URL}}/0b7e4d2a/hyper-local/uploads/logo/5d1c/kumar-traders.png
dataContactDataDtorequired

Free-form data you stored, plus localization once saved.

Show child attributes
localizationContactLocalizationDto

Saved localized values, written by Localize contacts or Save contact localization. Any other keys are the free-form data you sent.

Show child attributes
languagestringrequired

BCP-47 code of the language these values are in. The contact counts as localized only while this equals the language its state maps to.

Example: mr-IN
fieldsContactLocalizedFieldsDtorequired

The localized values, by field.

Show child attributes
firmNamestring

Firm name in the target language or script.

Example: कुमार ट्रेडर्स
personNamestring

Person name in the target language or script.

Example: रवि कुमार
areastring

Area in the target language.

Example: अंधेरी पूर्व
addressstring

Address in the target language.

Example: 123 एमजी रोड
updatedAtstringrequired

When the values were last saved (ISO 8601).

Example: 2026-09-20T08:15:00.000Z
channelDataContactChannelDataDtorequired

The channels the contact can be reached on. Empty object when none.

Show child attributes
whatsappContactWhatsappDto

The WhatsApp channel. Missing when the contact has no WhatsApp number.

Show child attributes
numberstringrequired

WhatsApp number the contact receives broadcasts on, as you saved it.

Example: +919876543210
facebookobject

The connected Facebook page (page.id, page.name, status, connectedAt), present once the contact has connected a page through Create a Facebook connect link. Check it with Get Facebook connection status.

Example: {"status":"active","page":{"id":"104582377712345","name":"Kumar Traders Andheri"},"connectedAt":"2026-09-14T10:22:31.000Z"}
fk_orgIdstring · uuidrequired

Your organization ID.

Example: 0b7e4d2a-9c1f-4e8b-a6d3-5f2c1e9b7a40
createdAtstring · date-timerequired

When the contact was created.

Example: 2026-09-12T06:30:00.000Z
updatedAtstring · date-timerequired

When the contact was last changed.

Example: 2026-09-20T08:15:00.000Z
deletedAtstring · date-time | nullrequired

When the contact was deleted. Always null for live contacts.

Example: null
400`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
404No contact with this `id` in your organization, or it was deleted (`Contact <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/contact/{id}
curl '{{API_BASE_URL}}/v1/galaxy/hyperlocal/contact/3f8c2b1e-7a4d-4c9e-b5f2-1d6e8a0c4b7f' \
  --header 'x-api-key: YOUR_API_KEY'
{
  "id": "3f8c2b1e-7a4d-4c9e-b5f2-1d6e8a0c4b7f",
  "personName": "Ravi Kumar",
  "firmName": "Kumar Traders",
  "code": "KT-001",
  "zone": "West",
  "state": "Maharashtra",
  "area": "Andheri East",
  "address": "123 MG Road",
  "phone": "+919876543210",
  "email": "ravi@kumartraders.in",
  "website": "kumartraders.in",
  "logo": "{{CDN_BASE_URL}}/0b7e4d2a/hyper-local/uploads/logo/5d1c/kumar-traders.png",
  "data": {
    "localization": {
      "language": "mr-IN",
      "fields": {},
      "updatedAt": "2026-09-20T08:15:00.000Z"
    }
  },
  "channelData": {
    "whatsapp": {
      "number": "+919876543210"
    },
    "facebook": {
      "status": "active",
      "page": {
        "id": "104582377712345",
        "name": "Kumar Traders Andheri"
      },
      "connectedAt": "2026-09-14T10:22:31.000Z"
    }
  },
  "fk_orgId": "0b7e4d2a-9c1f-4e8b-a6d3-5f2c1e9b7a40",
  "createdAt": "2026-09-12T06:30:00.000Z",
  "updatedAt": "2026-09-20T08:15:00.000Z",
  "deletedAt": null
}

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

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

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