Skip to main content

Viber Services

Retrieve available Viber services (brands) for your account.

List Viber Services

Get all Viber services available for creating templates.

GET /api/v1/viber-services

Response

[
{
"id": 12345,
"brandName": "My Brand"
},
{
"id": 12346,
"brandName": "Another Brand"
}
]

Response Fields

FieldTypeDescription
idintegerViber service ID (use in templates)
brandNamestringDisplay name of the Viber brand

Example

curl -X GET https://api.transformify.mk/api/v1/viber-services \
-H "X-API-Key: your-api-key"

Usage

When creating a Viber template, use the id from this endpoint as the viberServiceId:

{
"name": "My Template",
"messageType": 1,
"templateContent": "Hello {{name}}!",
"viberServiceId": 12345 // From viber-services endpoint
}

Notes

  • Each company may have one or more Viber services
  • Viber services represent your registered Viber Business accounts
  • Messages sent through a template will appear from the associated brand

Errors

StatusErrorDescription
401UnauthorizedInvalid API key