Platform for developers

Integrate Ótima.
From the first call to production.

Connect digital agents and WhatsApp Business to your products with HTTP APIs, webhooks, and structured JSON responses.

One request. Context preserved.POST / session
  1. 01
    Your productSends message and context
  2. 02
    ÓtimaInterprets, decides, and executes
  3. 03
    ActionsReturn in the right order

Tokens stay on the server. Each flow uses its own credential.

Integration points

Choose where Ótima fits into your architecture.

Start with a conversation, channel, or event. The published contracts cover the path between the customer experience and your systems.

01

AgentAI

Bring an agent into your product.

Start or continue a session with a external_id stable identifier and receive an ordered list of actions.

View guide
02

WhatsApp Business

Rich messages and experiences.

Send text, media, locations, contacts, and interactive messages through the official API.

Explore messages
03

Callbacks

React to what happens.

Receive messages, status updates, interactions, and media events at your endpoint.

Understand callbacks

Real quickstart

Your first message through the API.

The WhatsApp API uses a Bearer token and workspace UUID. This example follows Ótima's published contract.

  1. 01
    Generate the token

    Create a token in the dashboard and keep the credential on the server.

  2. 02
    Identify the workspace

    Copy the UUID of the workspace used by the integration.

  3. 03
    Send the request

    Provide the provider number and recipient.

View full authentication guide
Send text messageDocumented endpoint
WhatsApp Business API
curl -X POST \
  "https://sync-core-api.otima.io/whatsapp/provider/{NUMERO}/send-message" \
  -H "Authorization: Bearer {SEU_TOKEN}" \
  -H "x-workspace-uuid: {SEU_UUID_WORKSPACE}" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "5511999999999",
    "type": "text",
    "text": { "body": "Olá! Como podemos ajudar?" }
  }'

From canvas to production

Build, validate, and publish without losing context.

  1. 01

    Model on the canvas

    Connect components, conditions, API calls, and JavaScript.

  2. 02

    Validate in the Playground

    Talk to the flow and inspect traces, input, output, errors, and variables.

  3. 03

    Version and publish

    Connect the ready version to the channel or application conducting the conversation.

Frequently asked questions

The essentials for a secure integration.

Which headers are required?

Send Authorization: Bearer, x-workspace-uuid and Content-Type: application/json.

How do I start a conversation outside the 24-hour window?

Use a template previously approved by Meta. Free-form messages can be sent within the service window.

What is delivered through webhooks?

Inbound messages, statuses, interactions, template updates, and media events.

Next step

Take your integration to production.

WhatsApp Talk to Ótima