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.
curl "https://api.melonforce.com/v1/integrations/quo/events?limit=2" \
-H "Authorization: Bearer $MELONFORCE_API_KEY"{
"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"
}eventis Quo's own event, as it arrived. Ignore fields you do not know: Quo adds fields without warning.matcheslists the boards and items the event reached through your automations. It is empty when no rule matched.deliveryIdis Quo's own ID for the delivery. It is the same on every retry.occurredAtis when the event happened in Quo.receivedAtis when Melonforce got it.
Poll with the cursor
- Ask with no
after. You get the oldest events Melonforce still holds. - Keep the
nextCursorof the answer and send it asafternext time. It is the cursor of the last event you were given. - An empty answer has
nextCursorset tonull. Keep your last cursor, wait, and ask again. - Send
limitfor a page of 1 to 100 events. The default is 50. - Send
type, such astype=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.
curl "https://api.melonforce.com/v1/integrations/quo/api/phone-numbers" \
-H "Authorization: Bearer $MELONFORCE_API_KEY"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-Versionheader. Leave it out and Melonforce sends2026-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:
| Status | Code | When |
|---|---|---|
| 400 | INVALID_REQUEST | The path is not allowed, or the body is not JSON. |
| 403 | QUO_PATH_BLOCKED | The path has a webhooks part. |
| 404 | QUO_NOT_CONNECTED | The workspace has not connected Quo. |
| 413 | PAYLOAD_TOO_LARGE | The body is over 1 MB. |
| 429 | QUO_RATE_LIMITED | Too many Quo calls. Wait for Retry-After seconds. |
| 502 | QUO_UNAVAILABLE | Quo did not answer, or answered with something Melonforce cannot pass on. |
| 503 | QUO_NOT_CONFIGURED | Melonforce cannot read the stored Quo key. Tell your owner or support. |
Blocked paths
- Any path with a
webhookspart, in any case, such as/webhooksor/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%2For%5C. Such a path answers 400INVALID_REQUESTand 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_LIMITEDwithRetry-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.