In this section

Resources / Developers / Server API

REST 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.

ItemValue
Base URLhttps://api.hubbo.io/v1
AuthenticationAuthorization: Bearer YOUR_API_KEY
FormatJSON in, JSON out. Send Content-Type: application/json with a body.
Rate limit120 requests per minute per key, 600 per minute per IP address.

API keys

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.

PermissionAllows
readEvery GET endpoint.
writePOST, 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.

A first request

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"]
  }
}

Endpoints

Method and pathPermissionWhat it does
GET /v1/mereadThe account the key belongs to and the permissions of the key.
GET /v1/boardsreadIdeas boards. Use a board id when you create an idea.
GET /v1/ideasreadIdeas, newest first unless you pass sort.
POST /v1/ideaswriteCreate an idea on a board. Answers 201.
GET /v1/ideas/:idreadOne idea.
PATCH /v1/ideas/:idwriteChange the title, details, status, category or visibility of an idea.
GET /v1/feedbackreadFeedback Hub items: chats, NPS and survey responses, ideas, votes and comments.
GET /v1/visitorsreadUsers tracked by Hubbo.
POST /v1/visitorswriteCreate or update a user by your own id.
GET /v1/webhooksreadWebhook endpoints, without their signing secrets.
POST /v1/webhookswriteAdd a webhook endpoint. Answers 201 with the signing secret, once.
DELETE /v1/webhooks/:idwriteRemove a webhook endpoint and its delivery history.

Lists and paging

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 }
}

Ideas

Query parameterMeaning
boardIdOnly ideas of this board.
statusIdOnly ideas in this status, for example planned.
categoryIdOnly ideas in this category.
visibilitypending, public or internal.
searchText to look for in ideas.
sortnew (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" }'

Feedback

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.

Users

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).

  • When the user is new, send a name or an email so the row is recognizable in the list. The answer has "created": true.
  • When the user exists, fields you leave out stay as they are, and traits are merged into the stored ones. The answer has "created": false.
  • Send "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
}

Webhooks

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.

Errors

A failed request answers with the HTTP status and a JSON body that says what went wrong.

{ "statusCode": 400, "message": "boardId is required", "messages": [] }
StatusMeaning
400The request is not valid. message names the field.
401The key is missing, wrong or revoked.
402The plan does not include the API, or a plan limit is used up.
403The key does not have the permission this endpoint needs.
404The item does not exist in this account.
429Too many requests. Wait a minute and try again.

What the API does not cover

  • Posts, NPS and survey setup, roadmaps, the status page and settings are managed in the app. The API reads their feedback but does not create or edit them.
  • There are no endpoints to delete ideas or users.
  • There is no official SDK. Any HTTP client works.