Getting started

Complete API documentation

Integrate Zyron Connect Suite with n8n, custom backends, external CRMs and internal jobs using versioned REST endpoints.

Overview

API v1 always operates inside the account that owns the key. Every read, write, update and send is scoped to the Bearer-authenticated user.

Base URL

Always use the complete URL below. The examples in this documentation are ready to copy.

https://connect.zyronstack.com/api/v1

Authentication

Send the Authorization header on every request. Create the key in Dashboard > API. New keys can be revealed again after confirming the user's password.

Authorization: Bearer SUA_CHAVE_API

Rate limit

The limit is per key and per plan: 120 requests per minute on the Basic and Official plans, 300 on Agency. When exceeded, the API returns HTTP 429 with the Retry-After header.

Pagination

List endpoints accept limit and offset. The response includes pagination.limit, pagination.offset, pagination.total and pagination.next_offset.

OpenAPI JSON

GET https://connect.zyronstack.com/api/v1/openapi.json

OpenAPI JSON

Monte seus exemplos

Cole os valores da sua conta uma vez

Os exemplos não usam UUIDs fictícios: onde faltar um valor, aparece <NOME_DO_VALOR>. A chave fica só na memória deste navegador.

1

Identifique a conexão

Use o número da instância direto, ou copie connection_id em GET /connections.

2

Envie ou faça upload

Cada tipo tem sua rota: /messages/text, /media, /template ou /interactive.

3

Acompanhe a entrega

O 202 apenas aceita; consulte o status pelo wamid.

4

Baixe mídia recebida

Leia a mensagem, consulte GET /media/:id e chame a URL de download.

Getting started

Errors

Failures return standardized JSON with error.code and error.message.

400 invalid_body / query_errorinvalid JSON or query failure
401 unauthorizedmissing, invalid or revoked key
403 forbiddenkey lacks the required scope
403 upgrade_requiredfeature requires the Official or Agency plan
404 not_foundresource not found in the authenticated account
422 validationmissing required field or invalid value
429 rate_limitedexceptional abuse protection
{ "error": { "code": "unauthorized", "message": "Chave de API ausente ou inválida." } }

Module

Modules

Explore endpoints by product area, with ready-to-use examples for each operation.