Skip to content

Featurebase API (2026-01-01.nova)

Welcome to the Featurebase API. This API allows you to programmatically interact with your Featurebase organization.

This documentation reflects API version 2026-01-01.nova.

Download OpenAPI description
Languages
Servers
Mock server
https://docs.featurebase.app/_mock/rest-api
Production
https://do.featurebase.app

API Versioning

This API uses date-based versioning. Each version is identified by a release date and slug, e.g., 2026-01-01.nova.

Specifying a Version

Include the version in the request header:

Featurebase-Version: 2026-01-01.nova

Or set a default version for your organization in the dashboard settings.

Version Compatibility

  • Newer versions may add new fields to responses (always backwards-compatible)
  • Breaking changes (removed/renamed fields, changed behavior) only occur in new versions
  • Your integration will continue to work as long as you pin to a specific version

Authentication

All API requests require authentication via API key.

Include in headers:

Authorization: Bearer <api-key>

Create and manage your API keys in the Featurebase dashboard.

Error Handling

The API uses conventional HTTP response codes to indicate success or failure:

  • 2xx - Success
  • 4xx - Client errors (bad request, unauthorized, not found, etc.)
  • 5xx - Server errors (internal error)

Error Response Format

All errors follow a consistent format:

{
  "error": {
    "type": "invalid_request_error",
    "code": "resource_not_found",
    "message": "Post not found",
    "param": "id",
    "status": 404
  }
}

Error Types

TypeDescription
authentication_errorAuthentication failed (401)
authorization_errorPermission denied (403)
invalid_request_errorInvalid request parameters or resource not found (400, 404, 410)
api_errorServer-side error (500)
rate_limit_errorToo many requests (429)

Boards

Boards (post categories) organize feedback into distinct containers with their own settings.

Operations

Posts

User-submitted feedback and feature requests. Posts belong to boards and can be upvoted, commented on, and tracked through statuses.

Operations

Post Statuses

Post statuses define the workflow stages for posts (e.g., In Review, Active, Completed).

Operations

Comments

Threaded discussions on posts and changelogs. Comments support voting, moderation, and privacy controls.

Operations

Custom Fields

Configurable input fields for posts in your Featurebase organization. Custom fields allow you to collect additional structured data when users create posts.

Operations

Changelogs

Release notes and updates published by the organization. Changelogs keep users informed about new features, improvements, and fixes.

Operations

Admins

Team members who manage your Featurebase organization. Admins have roles that define their permissions.

Operations

Teams

Teams are groups within your Featurebase organization. Use this endpoint to list and retrieve team information for conversation assignment and organization management.

Operations

Brands

Brands represent distinct brand identities within your organization. Each brand can have its own help center and email sending address. Use this endpoint to list and retrieve brand information.

Operations

Contacts

Contacts are the customers and leads in your Featurebase organization. Use this endpoint to list and retrieve contact information.

Operations

Companies

Companies represent organizations or businesses that your users belong to. Use this endpoint to list and retrieve company information.

Operations

Surveys

Surveys allow you to collect targeted feedback from your users within your product. Surveys can be targeted to specific user segments or pages and can contain multiple questions with conditional logic.

Operations

Help Centers

Help centers allow organizations to create and manage knowledge bases with articles and collections. Currently, Featurebase supports one help center per organization.

Operations

Get a redirect rule by URL

Request

Retrieves a specific redirect rule by its source URL.

The url query parameter is normalized before matching: query parameters and hash fragments are stripped, the hostname is lowercased, and trailing slashes are removed. This is the same normalization applied when creating a redirect rule.

Query Parameters

  • url (required) - Full absolute URL to look up (http or https)

Response

Returns a redirect rule object with:

  • id - Unique identifier (MongoDB ObjectId)
  • helpCenterId - Help center this rule belongs to
  • locale - Locale code
  • fromUrl - Canonical source URL being redirected from
  • targetType - "article" or "collection"
  • targetId - ID of the target article or collection
  • createdAt - ISO 8601 timestamp when created
  • updatedAt - ISO 8601 timestamp when last updated

Errors

  • 400 - Invalid URL format
  • 404 - No redirect rule exists for the given URL
Security
bearerAuth
Query
urlstring<= 2048 charactersrequired

Full absolute URL to look up. The URL is normalized before matching: query parameters and hash fragments are stripped, the hostname is lowercased, and trailing slashes are removed.

Example: url=https://help.example.com/en/old/getting-started
Headers
Featurebase-Versionstring(FeaturebaseVersion)

API version for this request. Defaults to your organization's configured API version if not specified.

Example: 2026-01-01.nova
curl -i -X GET \
  'https://docs.featurebase.app/_mock/rest-api/v2/help_center/redirect_rules/by-url?url=https%3A%2F%2Fhelp.example.com%2Fen%2Fold%2Fgetting-started' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Featurebase-Version: 2026-01-01.nova'

Responses

Success

Bodyapplication/json
objectstringrequired

Object type identifier

Value"redirect_rule"
Example: "redirect_rule"
idstringrequired

Redirect rule unique identifier

Example: "507f1f77bcf86cd799439011"
helpCenterIdstringrequired

Help center identifier

Example: "ox6qrqprmsuqaunj"
localestringrequired

Locale code for the redirect rule

Enum"bn""bs""pt-BR""bg""ca""hr""cs""da""nl""en"
Example: "en"
fromUrlstringrequired

Canonical source URL being redirected from (query and hash stripped)

Example: "https://help.example.com/en/old/getting-started"
targetTypestringrequired

Type of content the redirect points to

Enum"article""collection"
Example: "article"
targetIdstringrequired

Target article or collection ID

Example: "1234567"
createdAtstringrequired

ISO 8601 timestamp when created

Example: "2026-02-11T12:00:00.000Z"
updatedAtstringrequired

ISO 8601 timestamp when last updated

Example: "2026-02-11T12:00:00.000Z"
Response
application/json
{ "object": "redirect_rule", "id": "507f1f77bcf86cd799439011", "helpCenterId": "ox6qrqprmsuqaunj", "locale": "en", "fromUrl": "https://help.example.com/en/old/getting-started", "targetType": "article", "targetId": "1234567", "createdAt": "2026-02-11T12:00:00.000Z", "updatedAt": "2026-02-11T12:00:00.000Z" }

Get a redirect rule by ID

Request

Retrieves a specific redirect rule by its unique identifier.

Returns the redirect rule object if found in your organization.

Response

Returns a redirect rule object with:

  • id - Unique identifier (MongoDB ObjectId)
  • helpCenterId - Help center this rule belongs to
  • locale - Locale code
  • fromUrl - Canonical source URL being redirected from
  • targetType - "article" or "collection"
  • targetId - ID of the target article or collection
  • createdAt - ISO 8601 timestamp when created
  • updatedAt - ISO 8601 timestamp when last updated

Errors

  • 404 - Redirect rule not found in your organization
Security
bearerAuth
Path
idstringrequired

Redirect rule unique identifier

Example: 507f1f77bcf86cd799439011
Headers
Featurebase-Versionstring(FeaturebaseVersion)

API version for this request. Defaults to your organization's configured API version if not specified.

Example: 2026-01-01.nova
curl -i -X GET \
  https://docs.featurebase.app/_mock/rest-api/v2/help_center/redirect_rules/507f1f77bcf86cd799439011 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Featurebase-Version: 2026-01-01.nova'

Responses

Success

Bodyapplication/json
objectstringrequired

Object type identifier

Value"redirect_rule"
Example: "redirect_rule"
idstringrequired

Redirect rule unique identifier

Example: "507f1f77bcf86cd799439011"
helpCenterIdstringrequired

Help center identifier

Example: "ox6qrqprmsuqaunj"
localestringrequired

Locale code for the redirect rule

Enum"bn""bs""pt-BR""bg""ca""hr""cs""da""nl""en"
Example: "en"
fromUrlstringrequired

Canonical source URL being redirected from (query and hash stripped)

Example: "https://help.example.com/en/old/getting-started"
targetTypestringrequired

Type of content the redirect points to

Enum"article""collection"
Example: "article"
targetIdstringrequired

Target article or collection ID

Example: "1234567"
createdAtstringrequired

ISO 8601 timestamp when created

Example: "2026-02-11T12:00:00.000Z"
updatedAtstringrequired

ISO 8601 timestamp when last updated

Example: "2026-02-11T12:00:00.000Z"
Response
application/json
{ "object": "redirect_rule", "id": "507f1f77bcf86cd799439011", "helpCenterId": "ox6qrqprmsuqaunj", "locale": "en", "fromUrl": "https://help.example.com/en/old/getting-started", "targetType": "article", "targetId": "1234567", "createdAt": "2026-02-11T12:00:00.000Z", "updatedAt": "2026-02-11T12:00:00.000Z" }

Update a redirect rule

Request

Updates an existing redirect rule. Only include the fields you wish to update.

If fromUrl is provided, it will be re-normalized and validated against the Help Center's custom domain. If targetType or targetId is changed, the new target must exist and have a resolvable URL.

Path Parameters

  • id - The unique identifier of the redirect rule to update

Request Body

All fields are optional. Only provided fields will be updated:

  • helpCenterId - The help center ID
  • locale - Locale code
  • fromUrl - Updated source URL (will be re-normalized)
  • targetType - "article" or "collection"
  • targetId - ID of the new target article or collection

Response

Returns the updated redirect rule object.

Errors

  • 404 - Redirect rule not found
  • 400 - Invalid data, domain mismatch, duplicate fromUrl, or target not found
Security
bearerAuth
Path
idstringrequired

Redirect rule unique identifier

Example: 507f1f77bcf86cd799439011
Headers
Featurebase-Versionstring(FeaturebaseVersion)

API version for this request. Defaults to your organization's configured API version if not specified.

Example: 2026-01-01.nova
Bodyapplication/json
helpCenterIdstring[ 1 .. 16 ] characters^[a-zA-Z0-9]+$

Help center identifier

Example: "ox6qrqprmsuqaunj"
localestring

Locale code for the redirect rule

Enum"bn""bs""pt-BR""bg""ca""hr""cs""da""nl""en"
Example: "en"
fromUrlstring<= 2048 characters

Full absolute URL to redirect from. Must use http or https protocol. Query parameters and hash fragments are stripped during normalization. The hostname must match the Help Center custom domain.

Example: "https://help.example.com/en/old/getting-started"
targetTypestring

Type of content the redirect points to

Enum"article""collection"
Example: "article"
targetIdstring[ 1 .. 16 ] characters^[a-zA-Z0-9]+$

ID of the target article or collection

Example: "10021362"
curl -i -X PATCH \
  https://docs.featurebase.app/_mock/rest-api/v2/help_center/redirect_rules/507f1f77bcf86cd799439011 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Featurebase-Version: 2026-01-01.nova' \
  -d '{
    "helpCenterId": "ox6qrqprmsuqaunj",
    "locale": "en",
    "fromUrl": "https://help.example.com/en/old/getting-started",
    "targetType": "article",
    "targetId": "10021362"
  }'

Responses

Success

Bodyapplication/json
objectstringrequired

Object type identifier

Value"redirect_rule"
Example: "redirect_rule"
idstringrequired

Redirect rule unique identifier

Example: "507f1f77bcf86cd799439011"
helpCenterIdstringrequired

Help center identifier

Example: "ox6qrqprmsuqaunj"
localestringrequired

Locale code for the redirect rule

Enum"bn""bs""pt-BR""bg""ca""hr""cs""da""nl""en"
Example: "en"
fromUrlstringrequired

Canonical source URL being redirected from (query and hash stripped)

Example: "https://help.example.com/en/old/getting-started"
targetTypestringrequired

Type of content the redirect points to

Enum"article""collection"
Example: "article"
targetIdstringrequired

Target article or collection ID

Example: "1234567"
createdAtstringrequired

ISO 8601 timestamp when created

Example: "2026-02-11T12:00:00.000Z"
updatedAtstringrequired

ISO 8601 timestamp when last updated

Example: "2026-02-11T12:00:00.000Z"
Response
application/json
{ "object": "redirect_rule", "id": "507f1f77bcf86cd799439011", "helpCenterId": "ox6qrqprmsuqaunj", "locale": "en", "fromUrl": "https://help.example.com/en/old/getting-started", "targetType": "article", "targetId": "1234567", "createdAt": "2026-02-11T12:00:00.000Z", "updatedAt": "2026-02-11T12:00:00.000Z" }

Conversations

Conversations are messenger/inbox conversations in your Featurebase organization. Use this endpoint to list and retrieve conversation information.

Operations

Webhooks

Webhooks allow you to receive real-time HTTP callbacks when events occur in your Featurebase organization. Configure webhook endpoints to subscribe to specific event types.

Operations