Skip to content
MelonforceAPI docs

Quo: events and the pass-through

Read the Quo events Melonforce received for your workspace, and call Quo's own API through Melonforce with your API key.

If your workspace has connected Quo, your code can use two routes. One lists the events Quo sent to Melonforce. The other sends a call on to Quo's API, so your code never holds the Quo key.

An owner or admin connects Quo in the app, on the Quo page in Settings. Until then, both routes answer 404 QUO_NOT_CONNECTED.

Your Melonforce keys can use your Quo

Every API key of the workspace can call Quo through the pass-through, with everything the company's Quo key may do in Quo. That includes sending texts, which Quo bills to the company. Keep these keys as safe as the Quo key itself.

Read Quo's events

GET /v1/integrations/quo/events lists the events Quo sent to Melonforce, oldest first. People signed in to the app can call it too.

Read the first events
curl "https://api.melonforce.com/v1/integrations/quo/events?limit=2" \
  -H "Authorization: Bearer $MELONFORCE_API_KEY"
200 OK
{
  "data": [
    {
      "cursor": "MTcyMw",
      "deliveryId": "dlv_5Xk2n9PqA7",
      "type": "message.received",
      "occurredAt": "2026-11-20T15:04:05.000Z",
      "receivedAt": "2026-11-20T15:04:06.412Z",
      "event": {
        "id": "EVc3d2a1b0e9",
        "apiVersion": "2026-03-30",
        "createdAt": "2026-11-20T15:04:05.000Z",
        "type": "message.received",
        "data": {
          "resource": { "id": "ACq7w1e5r3t9", "direction": "incoming", "text": "Can you move us on Saturday?", "status": "received" },
          "context": { "phoneNumberId": "PNmain0001", "conversationId": "CNe5f7a2b1c0", "senderIdentifier": "+15550142" },
          "links": { "quo": "https://my.quo.com/inbox/PNmain0001/c/CNe5f7a2b1c0" }
        }
      },
      "matches": [{ "boardId": "brd_8k2m4q7x1v9c3n5b6z0wp", "itemId": "itm_7k2m9q4x8b1n5v3c6z0wd" }]
    }
  ],
  "nextCursor": "MTcyMw"
}
  • event is Quo's own event, as it arrived. Ignore fields you do not know: Quo adds fields without warning.
  • matches lists the boards and items the event reached through your automations. It is empty when no rule matched.
  • deliveryId is Quo's own ID for the delivery. It is the same on every retry.
  • occurredAt is when the event happened in Quo. receivedAt is when Melonforce got it.

Poll with the cursor

  1. Ask with no after. You get the oldest events Melonforce still holds.
  2. Keep the nextCursor of the answer and send it as after next time. It is the cursor of the last event you were given.
  3. An empty answer has nextCursor set to null. Keep your last cursor, wait, and ask again.
  4. Send limit for a page of 1 to 100 events. The default is 50.
  5. Send type, such as type=message.received, to get one kind of event.

A cursor is opaque. Do not read it or build one. A cursor that cannot be read answers 400 CURSOR_INVALID.

Melonforce keeps events for 180 days. A script that was down for a while finds everything when it starts again. After 180 days the oldest events are gone. The feed holds only events since Quo was connected; for older texts and calls, ask Quo through the pass-through.

An event shows up once Melonforce has finished with it, usually within seconds. The feed never skips ahead: while an event is still being handled, it and the events after it wait, so a cursor never passes an event you have not been given. An event stuck for more than 30 minutes stops holding the feed back and is listed as it is. Quo can send the same event twice, and a repeat can show up on a later page. So keep a short list of the deliveryId values you have handled and skip repeats.

Prefer a push?

Add an automation with a Quo trigger and the Call a webhook action. Melonforce then sends each event, signed, to your server. See Automations.

Call Quo through Melonforce

/v1/integrations/quo/api/<Quo path> sends your call to https://api.quo.com/<Quo path>. Use any method: GET, POST, PUT, PATCH or DELETE. Melonforce adds the company's Quo key. Only API keys can call it. A person signed in to the app gets 403 FORBIDDEN, with details.reason set to key_required.

List the Quo numbers
curl "https://api.melonforce.com/v1/integrations/quo/api/phone-numbers" \
  -H "Authorization: Bearer $MELONFORCE_API_KEY"
Add a Quo contact
curl -X POST "https://api.melonforce.com/v1/integrations/quo/api/contacts" \
  -H "Authorization: Bearer $MELONFORCE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "firstName": "Ada", "lastName": "Nguyen", "company": "Moves Co" }'

Quo's API reference lists its routes, bodies and answers. Any route Quo adds later works at once.

What is sent

  • The method and the query string, as you wrote them.
  • The body, if there is one. It must be JSON, up to 1 MB. A body over 1 MB answers 413 PAYLOAD_TOO_LARGE.
  • Your Quo-Api-Version header. Leave it out and Melonforce sends 2026-03-30.

Your Melonforce key is not sent on. Quo sees the company's Quo key.

What comes back

Quo's status, body and content type, as Quo sent them. An error from Quo is Quo's error, not a Melonforce error, so read it the way Quo's docs say.

A 401 from Quo means the company's Quo key no longer works. Melonforce marks the connection broken and emails the workspace's owners once, and never more than once a day. Until an owner pastes a new key on the Quo page, calls keep failing.

Melonforce's own refusals use the usual { "error": { "code": … } } shape:

StatusCodeWhen
400INVALID_REQUESTThe path is not allowed, or the body is not JSON.
403QUO_PATH_BLOCKEDThe path has a webhooks part.
404QUO_NOT_CONNECTEDThe workspace has not connected Quo.
413PAYLOAD_TOO_LARGEThe body is over 1 MB.
429QUO_RATE_LIMITEDToo many Quo calls. Wait for Retry-After seconds.
502QUO_UNAVAILABLEQuo did not answer, or answered with something Melonforce cannot pass on.
503QUO_NOT_CONFIGUREDMelonforce cannot read the stored Quo key. Tell your owner or support.

Blocked paths

  • Any path with a webhooks part, in any case, such as /webhooks or /webhooks/123/rotate. Melonforce's own Quo webhook lives there, and a call must not delete or change it. Manage your own webhooks in Quo.
  • A path may hold only letters, digits, -, _ and /. It may not hold .., //, dots, spaces, or an encoded slash such as %2F or %5C. Such a path answers 400 INVALID_REQUEST and never reaches Quo.
  • The host is fixed. A call cannot be sent anywhere but Quo.

Limits

  • 40 calls in 10 seconds, shared by all the workspace's keys. Over it, the call answers 429 QUO_RATE_LIMITED with Retry-After, and Quo is not asked.
  • Quo's own limit is 10 calls a second for the whole company, and it counts your calls with the company's other Quo work. Melonforce keeps its own rules under it, but a busy script can still be slowed down.
  • Your calls also count against your API key's rate limits.

What is logged

Melonforce logs the key's ID, the method, the path, Quo's status and Quo's trace ID for each call. It never logs a body, a query value or a key.

Powered by OpenPhone.