Skip to main content

Developer overview

How other systems connect to Antero: there is no REST API, so integrations use signed outgoing webhooks, an automation's incoming webhook, public links and embeds, and provider webhooks.

No REST API

Antero has no general REST API and no API keys for reading or changing records. Everything a developer can connect to is listed on this page, and each piece is documented in this section:

Integration points

Integration point Direction Use it to Set up by
Outgoing webhooks Antero to your server Receive form.submitted and automation.step events as signed JSON Admins, Workspace → Integrations → Outgoing webhook
Automation webhook trigger Your app to Antero Find or add a contact by email or phone and start an automation, with your fields as merge tags Managers, Marketing → Automations
Embeddable forms and public links Visitors to Antero Put lead forms on your site in an iframe; share booking, landing, careers, invoice and quotation links The feature's own page
Inbound webhooks Providers to Antero WhatsApp, Twilio, Amazon SES (through SNS), Meta lead ads and Google Ads lead forms call the URL you paste at the provider; Telegram, AdaSMS and TikTok Ads are set up for you Admins, at the provider
Telegram bot commands People to the workspace's bot Link a chat for alerts, send receipts, ask the C-Suite or Lin Each person, in Telegram

The Telegram bot understands these commands:

Command Does
/start CODE or /link CODE Links the chat for alerts, with the link code from the bot's page in Workspace → Integrations
/stop or /unlink Unlinks the chat
/csuite CODE, /csuite off Asks the C-Suite from your own private chat, with a one-time code from the C-Suite page, or stops
/lin CODE, /lin off Asks Lin from your own private chat, with a one-time code from the Ask Lin page, or stops
/new Starts a fresh conversation with the C-Suite or Lin

A photo or PDF sent to a chat set to take receipts goes into the accounting shoebox.

Security model

Signatures

  • Outgoing webhooks carry X-Antero-Signature: an HMAC-SHA256 of a timestamp and the raw body, keyed with a secret only you and Antero know. Check it, and refuse requests more than 300 seconds old. Each delivery has an ID (X-Antero-Delivery) for skipping repeats.
  • Inbound webhooks are checked the provider's way: Meta's X-Hub-Signature-256 with your app secret, Twilio's X-Twilio-Signature with your Auth Token, Telegram's secret token header, and Amazon SNS's message signature. A failed check is refused with HTTP 403.
  • Payment providers' callbacks are not trusted at all: they only make Antero ask the provider itself about the payment.

Tokens in URLs

Some addresses work without a signature because the URL itself is the key:

URL Key
/hooks/automations/{token} 40 letters and digits
/webhooks/{provider}/{public_id} An unguessable ID per connection, plus the provider's signature
/webhooks/adasms/{public_id}/{secret} A 64-character secret, since AdaSMS signs nothing
/i/, /q/, /offer/, /u/, /t/ links 40 letters and digits
/a/{token} (a customer's booking) 48 letters and digits
/f/, /b/, /img/ Public IDs, meant to be shared

Treat a URL with a token like a password: anyone who has it can use it. Call the automation webhook from a server, never from JavaScript in a public page.

Cookies and CSRF

Addresses under f/, webhooks/, u/, hooks/ and pay/ need no session, cookie or CSRF token, so other servers, mail apps and embedded forms can post to them.

Outgoing calls

Antero only calls addresses that resolve to the public internet (webhook URLs and SMTP hosts), checks them again on every call, connects to the address it checked and never follows redirects.

Rate limits

Public addresses are rate limited. Over the limit, the answer is HTTP 429.

Address Limit
POST /f/{public_id} (form submission) 6 a minute per visitor and form, 60 an hour per visitor
POST /b/{public_id} (booking) 5 a minute per visitor and page, 30 an hour per visitor
/a/{token} (a customer's booking) 30 a minute per visitor
POST /careers/{slug}/{job} (applying) 5 a minute per visitor and job, 30 an hour per visitor
/q/{token}, /offer/{token}, /u/{token} 30 a minute per visitor
/i/{token} 60 a minute per visitor; Pay online 10 a minute
/t/o/{token}, /t/c/{token}/{n} 30 a minute per pixel or link, 600 a minute per visitor
/pay/{id}/callback, /pay/{id}/return 20 a minute per payment
/webhooks/…, /hooks/automations/{token} 1,200 a minute per URL

Where to start

  • Send Antero's leads to another system. Connect an outgoing webhook and handle form.submitted. For more control (only some tags, after a wait, from any trigger), build an automation with a Post to your webhook step and handle automation.step.
  • Bring leads in from another system. Make an automation that starts when Another app calls a webhook and post to its URL. See Automation webhook trigger.
  • Put a form on your website. Embed a lead form. See Embedding and links.
  • Use Zapier, Make or n8n. Point their "catch a webhook" step at Antero's outgoing webhook, and their HTTP step at an automation's webhook URL.
  • Test as you go. Send test on the outgoing webhook posts a webhook.test event, and Recent deliveries shows what your endpoint answered. An automation's Runs show every step it took.