In this section
Resources / Developers / Server API
Read and write ideas, feedback, users and webhooks from your backend with a secret API key. Standard and Premium.
The REST API is for your backend: scripts, internal tools and automation platforms. It is separate from the client_* GraphQL operations the widget uses in the browser. It is included on Standard and Premium.
| Item | Value |
|---|---|
| Base URL | https://api.hubbo.io/v1 |
| Authentication | Authorization: Bearer YOUR_API_KEY |
| Format | JSON in, JSON out. Send Content-Type: application/json with a body. |
| Rate limit | 120 requests per minute per key, 600 per minute per IP address. |
Create a key under Settings → Integrations → API keys. Hubbo shows the full key once, when you create it, and stores only a hash, so a lost key cannot be recovered: roll it to get a new one, or revoke it and create another. After a roll the old key can keep working for up to 7 days, so you can switch servers without an outage. An account can hold up to 20 active keys. See API keys.
| Permission | Allows |
|---|---|
| read | Every GET endpoint. |
| write | POST, PATCH and DELETE endpoints. |
Server side only
An API key can read and change the data of the whole account. Keep it on a server and never ship it in a web page or a mobile app. The API does not answer browser cross-origin requests. The account key from the embed snippet is a different, public value and does not work here.
curl https://api.hubbo.io/v1/me \
-H 'Authorization: Bearer YOUR_API_KEY'{
"data": {
"account": { "id": "6650f0c2a1b2c3d4e5f60718", "key": "ACCOUNT_KEY", "name": "Acme" },
"scopes": ["read", "write"]
}
}| Method and path | Permission | What it does |
|---|---|---|
| GET /v1/me | read | The account the key belongs to and the permissions of the key. |
| GET /v1/boards | read | Ideas boards. Use a board id when you create an idea. |
| GET /v1/ideas | read | Ideas, newest first unless you pass sort. |
| POST /v1/ideas | write | Create an idea on a board. Answers 201. |
| GET /v1/ideas/:id | read | One idea. |
| PATCH /v1/ideas/:id | write | Change the title, details, status, category or visibility of an idea. |
| GET /v1/feedback | read | Feedback Hub items: chats, NPS and survey responses, ideas, votes and comments. |
| GET /v1/visitors | read | Users tracked by Hubbo. |
| POST /v1/visitors | write | Create or update a user by your own id. |
| GET /v1/webhooks | read | Webhook endpoints, without their signing secrets. |
| POST /v1/webhooks | write | Add a webhook endpoint. Answers 201 with the signing secret, once. |
| DELETE /v1/webhooks/:id | write | Remove a webhook endpoint and its delivery history. |
List endpoints take limit (1 to 100) and offset. The default limit is 25, and 50 for users. Every list answers with data and pagination. total is returned for ideas and users, not for feedback; use hasMore to decide whether to ask for the next page.
{
"data": [],
"pagination": { "limit": 25, "offset": 0, "total": 0, "hasMore": false }
}| Query parameter | Meaning |
|---|---|
| boardId | Only ideas of this board. |
| statusId | Only ideas in this status, for example planned. |
| categoryId | Only ideas in this category. |
| visibility | pending, public or internal. |
| search | Text to look for in ideas. |
| sort | new (default), top (most votes) or priority. |
To create an idea, send boardId and title. Optional fields: details, categoryId, statusId (default under_review), visibility (default public), authorName and authorEmail. The same plan limits apply as in the app, so a full monthly allowance answers 402.
curl https://api.hubbo.io/v1/ideas \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"boardId": "6650f0c2a1b2c3d4e5f60799",
"title": "Dark mode",
"details": "Asked for on a support call.",
"authorName": "Ada Lovelace",
"authorEmail": "ada@example.com"
}'{
"data": {
"id": "6650f0c2a1b2c3d4e5f607aa",
"boardId": "6650f0c2a1b2c3d4e5f60799",
"title": "Dark mode",
"details": "Asked for on a support call.",
"categoryId": null,
"statusId": "under_review",
"visibility": "public",
"voteCount": 0,
"commentCount": 0,
"priorityScore": 0,
"effortHours": null,
"expectedMrr": null,
"attachmentUrls": [],
"authorVisitorId": null,
"authorName": "Ada Lovelace",
"authorEmail": "ada@example.com",
"promotedRoadMapId": null,
"promotedRoadMapItemId": null,
"mergedIntoIdeaId": null,
"createdAt": "2026-12-01T09:30:00.000Z",
"updatedAt": "2026-12-01T09:30:00.000Z"
}
}PATCH /v1/ideas/:id accepts title, details, categoryId, statusId and visibility, all strings. Send only the fields you want to change. Moving an idea to another status emails its author when the idea has an author email, exactly as it does in the app.
curl -X PATCH https://api.hubbo.io/v1/ideas/6650f0c2a1b2c3d4e5f607aa \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{ "statusId": "planned" }'GET /v1/feedback returns the same stream as Feedback Hub, newest first. Filter with kind (one or more of support_chat, nps_response, survey_response, idea, idea_vote, comment, separated by commas), dateFrom and dateTo (ISO dates).
{
"data": [
{
"id": "nps_response:6650f0c2a1b2c3d4e5f607bb",
"kind": "nps_response",
"sourceId": "6650f0c2a1b2c3d4e5f607bb",
"createdAt": "2026-12-01T09:12:00.000Z",
"preview": "Love the new editor",
"authorName": null,
"authorEmail": null,
"contextLabel": "NPS",
"replyable": false,
"meta": { "score": 9, "feedback": "Love the new editor", "userContext": null }
}
],
"pagination": { "limit": 25, "offset": 0, "hasMore": false }
}The contents of meta depend on kind. The API reads feedback; it does not send chat replies.
GET /v1/visitors lists the people shown under Users in the app. Filter with search and identified (true or false).
POST /v1/visitors creates or updates a user by externalId, the id the user has in your product. It is the server-side counterpart of hubbo.identify(). Optional fields: email, name and traits (an object).
name or an email so the row is recognizable in the list. The answer has "created": true.traits are merged into the stored ones. The answer has "created": false."email": null or "name": null to clear that field.curl https://api.hubbo.io/v1/visitors \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{ "externalId": "user_42", "email": "ada@example.com", "traits": { "plan": "pro" } }'{
"data": {
"id": "6650f0c2a1b2c3d4e5f607cc",
"externalId": "user_42",
"email": "ada@example.com",
"name": null,
"traits": { "plan": "pro" },
"identified": true,
"firstSeenAt": "2026-12-01T09:30:00.000Z",
"lastSeenAt": "2026-12-01T09:30:00.000Z",
"createdAt": "2026-12-01T09:30:00.000Z",
"updatedAt": "2026-12-01T09:30:00.000Z"
},
"created": true
}POST /v1/webhooks takes url, topics (a list of event names) and, if you want, retry: an object with any of backoff, maxAttempts and disableAfter, described under Retries in Webhooks. A field you leave out gets its default. The answer contains secret, the signing secret of the endpoint. It is returned only here. Every endpoint in an answer carries its retry rule and autoPausedAt, the time Hubbo paused it after too many failures, or null. Event names, the request format and signature checks are in Webhooks.
A failed request answers with the HTTP status and a JSON body that says what went wrong.
{ "statusCode": 400, "message": "boardId is required", "messages": [] }| Status | Meaning |
|---|---|
| 400 | The request is not valid. message names the field. |
| 401 | The key is missing, wrong or revoked. |
| 402 | The plan does not include the API, or a plan limit is used up. |
| 403 | The key does not have the permission this endpoint needs. |
| 404 | The item does not exist in this account. |
| 429 | Too many requests. Wait a minute and try again. |