Boards (post categories) organize feedback into distinct containers with their own settings.
- Get a redirect rule by ID
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.
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.novaOr 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- Success4xx- 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
| Type | Description |
|---|---|
authentication_error | Authentication failed (401) |
authorization_error | Permission denied (403) |
invalid_request_error | Invalid request parameters or resource not found (400, 404, 410) |
api_error | Server-side error (500) |
rate_limit_error | Too many requests (429) |
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.
url(required) - Full absolute URL to look up (http or https)
Returns a redirect rule object with:
id- Unique identifier (MongoDB ObjectId)helpCenterId- Help center this rule belongs tolocale- Locale codefromUrl- Canonical source URL being redirected fromtargetType- "article" or "collection"targetId- ID of the target article or collectioncreatedAt- ISO 8601 timestamp when createdupdatedAt- ISO 8601 timestamp when last updated
400- Invalid URL format404- No redirect rule exists for the given URL
- Mock serverhttps://docs.featurebase.app/_mock/rest-api/v2/help_center/redirect_rules/by-url
- Productionhttps://do.featurebase.app/v2/help_center/redirect_rules/by-url
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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'Success
Locale code for the redirect rule
Canonical source URL being redirected from (query and hash stripped)
Type of content the redirect points to
{ "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" }
Request
Retrieves a specific redirect rule by its unique identifier.
Returns the redirect rule object if found in your organization.
Returns a redirect rule object with:
id- Unique identifier (MongoDB ObjectId)helpCenterId- Help center this rule belongs tolocale- Locale codefromUrl- Canonical source URL being redirected fromtargetType- "article" or "collection"targetId- ID of the target article or collectioncreatedAt- ISO 8601 timestamp when createdupdatedAt- ISO 8601 timestamp when last updated
404- Redirect rule not found in your organization
- Mock serverhttps://docs.featurebase.app/_mock/rest-api/v2/help_center/redirect_rules/{id}
- Productionhttps://do.featurebase.app/v2/help_center/redirect_rules/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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'Success
Locale code for the redirect rule
Canonical source URL being redirected from (query and hash stripped)
Type of content the redirect points to
{ "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" }
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.
id- The unique identifier of the redirect rule to update
All fields are optional. Only provided fields will be updated:
helpCenterId- The help center IDlocale- Locale codefromUrl- Updated source URL (will be re-normalized)targetType- "article" or "collection"targetId- ID of the new target article or collection
Returns the updated redirect rule object.
404- Redirect rule not found400- Invalid data, domain mismatch, duplicate fromUrl, or target not found
Help center identifier
Locale code for the redirect rule
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.
- Mock serverhttps://docs.featurebase.app/_mock/rest-api/v2/help_center/redirect_rules/{id}
- Productionhttps://do.featurebase.app/v2/help_center/redirect_rules/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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"
}'Success
Locale code for the redirect rule
Canonical source URL being redirected from (query and hash stripped)
Type of content the redirect points to
{ "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" }
CommentsCopy for LLM Copy page as Markdown for LLMs View as Markdown Open this page as Markdown Open in ChatGPT Get insights from ChatGPT Open in Claude Get insights from Claude Connect to Cursor Install MCP server on Cursor Connect to VS Code Install MCP server on VS Code
Threaded discussions on posts and changelogs. Comments support voting, moderation, and privacy controls.