Verst.io
Blog
  • FRFrançais
  • ENEnglish
  • ESEspañol
Get the demo

“Your agent” API

You already have an AI agent. Make it reachable on iMessage.

Verst.io gives your agent a dedicated iMessage line. Every inbound message reaches your server, signed, with the recent thread; your agent replies in the same conversation. It keeps its model and its rules: Verst.io provides the number, the transport and the safeguards.

Read the developer guideVerst.io vs. Linq: the comparison

What the API does, exactly

Every point below is described in the public developer guide.

  • GET /public/capabilities

    Readable capabilities

    One route tells you what is available: channels, each line’s features, STOP mode, which agent replies, and the state of your endpoint. Your code reads these capabilities instead of hard-coding them.

  • agent_turn

    One signed call per inbound message

    On a line assigned to your agent, every inbound message triggers a direct call to your URL, signed like a webhook (timestamped HMAC-SHA256), with the message, the recent thread, the contact and the line.

  • 200 { messages }

    A bounded synchronous reply

    Your agent replies in the HTTP response body, within a bounded time. Need more time, or want to send media? Respond right away, then write through the send API. The same reply never goes out twice.

  • typing · read · reactions

    iMessage gestures

    Typing indicator “…”, marking the thread as read, and reactions, through the API, on direct iMessage threads, depending on the line features listed in the capabilities.

  • vk_test_…

    A sandbox

    A test key simulates sending, delivery, read receipts and inbound messages, webhooks included. Nothing goes out. An endpoint set up with a test key is never called by a real message.

  • STOP

    STOP handled by Verst.io

    For prospecting, a STOP is an opt-out: your agent is not called for that message and any new send to that contact is refused. In assistant mode, where the person talks to an agent they turned on themselves, “stop” is a word like any other and blocking is done through the API.

How it works, in 3 steps

  1. 01. Try it in the sandbox

    With a test key, read your capabilities and register your agent’s URL as its endpoint. Simulate an inbound message: your server receives a turn marked “sandbox”.

  2. 02. Answer every turn

    Verify the signature on the raw body, pass the message and the thread to your model, and return its reply in the HTTP response. The guide includes a complete example in TypeScript and Python.

  3. 03. Go live

    Request access, granted case by case. Verst.io assigns a dedicated line to your agent; on that line, the Verst.io agent stays silent: never two agents in the same conversation.

→ POST https://your-agent.example/verst
  X-Verst-Signature: t=…,v1=…

  { "event": "agent_turn",
    "payload": {
      "turnId": "…", "sandbox": true,
      "message": { "channel": "imessage", "text": "…" },
      "contact": { "firstName": "…" },
      "thread": [ … ]
    } }

← 200 OK
  { "messages": [{ "text": "…" }] }
One agent turn: the signed call from Verst.io, then your server’s reply.

The developer guide is public.

Keys, agent endpoint, signatures, sandbox and terms of use, with complete examples.

Open the developer guide

Comparing providers? Read “Verst.io vs. Linq”

Start

today

Avatar 1
Avatar 2
Avatar 3
Request a demo

Discover Verst.io

Send the demo to my phoneBlogYour AI agent on iMessage

Legal

Privacy policyTerms of use

Legal documents are provided in French; the French version prevails.

Back to top

verst.io

  • FRFrançais
  • ENEnglish
  • ESEspañol

© 2026 Verst.io. All rights reserved.