This is the official BetaHub API documentation.
A response is rendered as JSON when the request path ends in the .json extension (e.g. https://app.betahub.io/projects.json) OR the request sends an Accept: application/json header. Either mechanism selects the JSON representation; you do not need both. The .json suffix is the most reliable and is used throughout the paths in this document.
Note that Content-Type describes the request body you are sending (e.g. application/json, application/x-www-form-urlencoded, or multipart/form-data for uploads) — it does NOT select the response format. Use the path suffix or the Accept header for that.
Timestamps in request and response bodies are ISO 8601 / RFC 3339 in UTC with a millisecond fraction and a trailing Z, e.g. 2024-10-03T12:34:56.000Z.
The API supports multiple authentication methods:
FormUser anonymous for public operationsFormUser tkn-{token} for authenticated operationsFormUser tkn-{token},{jwt_token} to include a server-generated JWT that carries trusted data (email, custom fields) that cannot be tampered with by the end user. See the Submission Tokens endpoint for generating these tokens.FormUser tkn-{token},{jwt_token} where the JWT contains a user_id claim to authenticate as an existing BetaHub userBearer YOUR_TOKEN_HERE format for enhanced security
Personal Access Tokens provide secure authentication for API integrations, automated scripts, and CI/CD pipelines. You can create and manage them in your account settings at Profile → Personal Access Tokens.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
A coding agent (Claude Code, Cursor, Codex and the like) connects through the user’s browser instead of a pasted token: it starts at POST /agent_auth, the user approves, and it receives an agent Personal Access Token. Point an agent at /agents/setup.md; it describes the whole flow.
An agent token, like a Read only (ops_durable) token, is scoped: it can read everything its user can see, and only what its keys allow beyond that. POST /auth/verify returns its profile and scopes. A scoped token that lacks a key gets 403 insufficient_scope (see InsufficientScope); an expired or revoked agent token gets 401 with how to reconnect (see RejectedAgentToken). Legacy tokens (scopes: null) act with the user’s full access, as before.
With “Read and work on reports” an agent token changes bugs (update, archive, merge and undo, duplicate decisions, bulk changes) and suggestions (status, approve, reject, restore, merge and undo), only in the organizations the user picked. It never deletes, and never edits or creates a draft.
Two limits answer 429 with retry_after seconds and a Retry-After header; relay the message to the user. agent_session_limit (see AgentSessionLimit): an account is one person’s, so while one coding agent session works on it (a call in the last 2 minutes), its other sessions share 30 requests per 5 minutes. It applies to agent tokens and to any token sent through the BetaHub MCP server, which names its session in X-Agent-Session; without that header a call belongs to its token’s latest session. agent_write_cap (see AgentWriteCap): an agent token makes at most 300 changes per clock hour.
Attaching media to an issue is a three-step flow. The endpoints are named presigned_upload and confirm_upload, but there is a mandatory storage PUT between them:
POST .../{media}/presigned_upload with filename, byte_size, checksum (base64-encoded MD5), and content_type. The response returns direct_upload_url, a headers object, blob_signed_id, and blob_id.PUT the raw file bytes to direct_upload_url. This call goes straight to the storage backend (S3), not to BetaHub. You MUST send every key/value from the headers object returned in step 1 as request headers — they carry the Content-Type and Content-MD5 that storage validates against the checksum and content_type you declared. The presigned URL is short-lived, so perform this PUT promptly.POST .../{media}/confirm_upload with the blob_signed_id from step 1 to attach the stored file to the issue.
The confirm_upload success response (201) is the created attachment record serialized as its raw database columns (there is no name column — name is a write-only transient attribute and is NOT in the response). For a screenshot the columns are id, status, description, issue_id, media_size_bytes, user_id, developer_private, and timestamps; the other media types serialize their own columns similarly. The response does not include a download URL — fetch the issue’s media list endpoint (e.g. GET .../screenshots) to obtain url.
image/png, image/jpeg, image/jpg.text/plain, text/csv, application/json, application/xml, application/zip, application/gzip, application/x-tar, …), with application/octet-stream as a fallback.video/mp4, video/quicktime, video/webm, video/avi, video/mov.
Both presigned_upload and confirm_upload return errors as a {"error": "<message>"} body. Statuses: 400 missing required parameters; 422 invalid content type, file exceeds the per-type size cap, invalid checksum, per-issue count cap reached, or the file was not uploaded before confirming; 404 invalid/expired blob_signed_id; 500 server error creating the presigned upload. Rely on the HTTP status line — error message strings are human-readable English, not localized, and not a stable contract.
BetaHub uses two id styles.
Top-level resources are addressed by an obfuscated string id with a type prefix: projects are pr-XXXXXXXX (used as project_id), organizations are org-XXXXXXXX, and users are usr-XXXXXXXX. These are the values you pass in paths and see in responses (e.g. project_id = pr-5632787018).
Issues, feature requests, and tickets additionally have a per-project integer scoped_id that restarts at 1 within each project (the numbers you see in the UI). A path id for these resources accepts either that per-project scoped_id OR the obfuscated global form. For issues the global form is g-{database_id} (which is why issue paths are written .../issues/g-{issue_id}); passing the plain scoped_id resolves the same record within the project.
Response bodies expose scoped_id as the per-project number; treat it as unique only within its project, not globally.
Attachment responses (screenshots, log files, binary files, video clips) include *_url fields such as url and layer_a_url. A returned media URL points at the CDN as an unsigned path of the form https://<cdn-host>/<storage-key> — it carries no signature or expiry query parameter — and is fetched directly; that fetch requires no additional BetaHub API authentication. The developer_private flag controls only whether a given media URL is included in the JSON listing returned to a particular caller; it does not gate access to the URL once the URL is known.
The API sends permissive CORS headers: it allows any Origin (*), the methods GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD, and any request header, and it answers OPTIONS preflight requests. Because the allowed origin is *, browser requests cannot include credentials (cookies); pass the token in the Authorization header instead.
formUserTokenProject Auth Token authentication, scoped to a single project. Send the token in the Authorization header using the FormUser scheme — the header value is the full string, e.g. FormUser tkn-YOUR_TOKEN.
Accepted values:
FormUser tkn-{token} — authenticated as the project tokenFormUser anonymous — anonymous submission (no token)FormUser tkn-{token},{jwt_token} — attach a server-generated Submission Token (JWT)Tokens are created per project and carry individually configurable boolean permission flags. Each flag unlocks specific operations:
can_create_bug_report — POST /projects/{project_id}/issues.jsoncan_create_feature_request — POST /projects/{project_id}/feature_requests.jsoncan_create_ticket — POST /projects/{project_id}/tickets.jsoncan_report_crash — crash-report submission (e.g. POST /crashes/unreal/{token})can_search_knowledge_base — POST /projects/{project_id}/support_knowledge/askcan_read_release_list — GET /projects/{project_id}/releases.jsoncan_create_release — allows a submission that names a new release via
release_label to create that release on the flyA request returns 403 Forbidden when the token lacks the flag for the operation, is used against a different project than it belongs to, or exceeds its per-IP daily rate limit (see below).
Per-IP daily rate limits. The bug-report, feature-request, ticket, crash-report, and knowledge-base-search operations are each metered by a separate per-IP daily counter (default 8 per IP per day, configurable per token). The count is keyed on (token, IP, operation, day) and resets at the day boundary. Exceeding a limit returns 403 Forbidden with a “Not allowed to …” message. No rate-limit reset metadata is returned in responses.
bearerAuthPersonal Access Token (PAT) authentication for account-level API access. Send as Authorization: Bearer pat-YOUR_TOKEN.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. Unlike a Project Auth Token (which carries a fixed set of boolean flags and is scoped to one project), a PAT is not limited to a single project: for each operation, authorization is decided by the permission scopes the user holds through their role in the target project.
Scopes are string keys drawn from a fixed vocabulary. The keys that gate API-reachable operations include (grouped by area):
Bugs: bugs.update (alias issues.update), bugs.archive
(issues.archive), bugs.merge (issues.merge), bugs.convert
(issues.convert), bugs.ask_details (issues.ask_details),
bugs.bulk_update (issues.bulk_update), bugs.delete
(issues.delete), bugs.push_integration (issues.push_integration),
bugs.public_link (issues.public_link), bugs.clarify
(issues.clarify)
suggestions.update, suggestions.moderatetickets.view, tickets.updateProject configuration: project.settings.edit,
project.members.manage, project.releases.manage,
project.integrations.view, project.integrations.manage,
project.api_tokens.manage, project.webhooks.manage,
project.automation.manage, project.taxonomy.manage (issue statuses,
tags, groups, custom fields, log-redaction patterns),
project.support.manage, project.survey.manage,
project.guidelines.view, project.key_collections.view,
project.analytics.view
access_requests.reviewThe issues.* names are legacy aliases that resolve to the canonical bugs.* keys. A request the user’s scopes do not permit returns 403 Forbidden.
A coding agent’s token is also limited per account and per hour: 429 agent_session_limit or agent_write_cap (see “Coding agents and scoped tokens”).
all=true, returns publicly discoverable projects.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| page optional | integer |
Page number for pagination (default: 1). The JSON endpoint returns a fixed 25 projects per page; the page size is not client-controllable (there is no per-page parameter). Use the pagination.total_pages value in the response to iterate through all pages.
min: 1
Default:
1 |
| all optional | boolean | When true, returns public/discoverable projects instead of the user’s member projects |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://app.betahub.io/projects.json?page=1&all=true"
require "net/http" uri = URI("https://app.betahub.io/projects.json?page=1&all=true") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects.json?page=1&all=true", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects.json?page=1&all=true", { headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects.json?page=1&all=true")) .header("Authorization", "Bearer YOUR_API_TOKEN") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"projects": [
{
"id": "string",
"name": "string",
"description": "string",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z"
}
],
"pagination": {
"current_page": 0,
"total_pages": 0,
"total_count": 0
}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| id required | string | The project ID (obfuscated format, e.g. “pr-1234567”) |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://app.betahub.io/projects/123.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123.json", { headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
private — the project is only visible to its members and organization admins. public — the project is publicly discoverable and viewable without membership.
bugs and tickets enabled returns ["bugs", "tickets"]). The enum lists every module key that may appear.
modules that the organization’s plan does not include: they do nothing until it upgrades. A new project on the free plan has sentiments switched on, listed here.
{}. It is also empty when the project hides release versioning from players and the caller is not on the team, so clients must check for id rather than assume a release is present and none of the sub-fields below are present — check for the presence of id (or an empty object) before reading release details.
{
"id": "string",
"name": "string",
"description": "string",
"access": "private",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"url": "https://example.com",
"active": true,
"sentiment_analysis": true,
"support_knowledge": true,
"support_knowledge_chunks_size": 0,
"has_discord_bot": true,
"modules": [
"bugs",
"suggestions",
"sentiments",
"tickets",
"support_knowledge"
],
"modules_outside_plan": [
{
"name": "sentiments",
"required_plan": "pro",
"upgrade_url": "https://example.com"
}
],
"platforms": [
"Windows",
"Steam",
"PS5"
],
"reporting": {
"first_report_received": true,
"channels": [
{
"key": "discord",
"title": "string",
"available": true,
"upgrade_url": "https://example.com",
"connected": true,
"connect_url": "https://example.com"
}
]
},
"min_description_length": 0,
"min_suggestion_length": 0,
"latest_release": {
"id": 0,
"label": "string",
"description": "string",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"url": "https://example.com"
}
}
{"error":"You must be signed in to perform this action."}) — the unauthenticated case is handled here, before any 403.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{"error":"Forbidden"}). Returned only for an authenticated user who is not a member (nor org-admin/site-admin) of a private or draft project. The unauthenticated case is a 401, not a 403.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
updated_after rather than re-reading every page. Pass sort=heat for the hottest issues first.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| page optional | integer | Page number for pagination (default: 1) |
| sort optional | string |
Order of the list. id (default): ascending ID. heat: highest heat first, then newest first among equal heat. Heat is recalculated periodically, so issues can move between pages while you walk a heat-ordered list; use id to read every issue exactly once. Any other value is ignored (issues come in id order) and named in warnings.
id
heat
Default:
id |
| per_page optional | integer |
Number of issues per page. Default is 25. Any positive value is honored verbatim up to a maximum of 100; values greater than 100 are clamped to 100, and values ≤0 fall back to the default of 25.
min: 1
max: 100
|
| status optional | string |
Filter issues by status (single value). Accepts any built-in status (hidden, open, in_progress, resolved, closed, duplicate, pending_moderation, wont_fix, needs_more_info) or a project custom status. Pass status=any to disable status filtering. When omitted, no status filter is applied. For several statuses use status[]. status=pending_moderation (alone) lists the moderation queue, reports BetaHub flagged as possible duplicates with their potential_duplicate, to callers who can moderate bugs (bugs.update); for others it is empty.
|
| status[] optional | array |
Filter issues matching ANY of the given statuses. Repeat the bracketed key once per value: ?status[]=open&status[]=in_progress. Including any among the values disables status filtering entirely.
max items: 50
|
| priority optional | string |
Filter issues by priority (single value). For several priorities use priority[].
low
medium
high
critical
blocker
|
| priority[] optional | array |
Filter issues matching ANY of the given priorities. Repeat the bracketed key once per value: ?priority[]=high&priority[]=critical.
max items: 50
|
| assigned_to_id optional | string |
Filter by assignee (single value). Pass a user id, or the literal not_assigned to return only unassigned issues. For several assignees use assigned_to_id[].
|
| assigned_to_id[] optional | array |
Filter by assignee, matching ANY of the given user ids. The literal not_assigned may be combined with real ids to include unassigned issues alongside them.
max items: 50
|
| reported_by_id optional | string |
Filter by the id of the reporting user (single value). For several reporters use reported_by_id[].
|
| reported_by_id[] optional | array |
Filter by reporter, matching ANY of the given user ids.
max items: 50
|
| release_id optional | string |
Filter by release (single value). Pass a release id, or the literal latest to filter by the project’s most recent release. For several releases use release_id[]. Ignored for non-team viewers on projects that hide releases.
|
| release_id[] optional | array |
Filter by release, matching ANY of the given release ids. The literal latest may be used as one of the values.
max items: 50
|
| archived optional | string |
Filter by archived state. true returns only archived issues, false only non-archived. When omitted, archived issues are excluded by default (equivalent to false).
true
false
|
| created_after optional | string | Return issues created on or after this date (inclusive). |
| created_before optional | string |
Return issues created on or before this date. A date-only value is treated as inclusive of the whole day (e.g. created_before=2026-05-25 includes issues created at 15:30 that day).
|
| updated_after optional | string | Return issues updated on or after this date (inclusive). |
| updated_before optional | string | Return issues updated on or before this date (inclusive of the whole day). |
| with_media optional | string |
true returns only issues that have at least one attachment (screenshot, video, log, or binary file); false returns only issues with none.
true
false
|
| sent_to optional | string |
Filter by issues pushed to an external integration (single value). Pass an integration service name, or the literal any to match issues sent to any enabled integration. For several integrations use sent_to[].
|
| sent_to[] optional | array |
Filter by issues pushed to ANY of the given integration service names. The literal any expands to every enabled integration.
max items: 50
|
| tag_ids optional | string | Comma-separated list of tag ids; returns issues carrying any of the given tags. |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues.json?page=123&sort=id&per_page=123&status=example&status[]=example&priority=low&priority[]=example&assigned_to_id=123&assigned_to_id[]=123&reported_by_id=123&reported_by_id[]=123&release_id=123&release_id[]=123&archived=true&created_after=example&created_before=example&updated_after=example&updated_before=example&with_media=true&sent_to=example&sent_to[]=example&tag_ids=123"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues.json?page=123&sort=id&per_page=123&status=example&status[]=example&priority=low&priority[]=example&assigned_to_id=123&assigned_to_id[]=123&reported_by_id=123&reported_by_id[]=123&release_id=123&release_id[]=123&archived=true&created_after=example&created_before=example&updated_after=example&updated_before=example&with_media=true&sent_to=example&sent_to[]=example&tag_ids=123") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/issues.json?page=123&sort=id&per_page=123&status=example&status[]=example&priority=low&priority[]=example&assigned_to_id=123&assigned_to_id[]=123&reported_by_id=123&reported_by_id[]=123&release_id=123&release_id[]=123&archived=true&created_after=example&created_before=example&updated_after=example&updated_before=example&with_media=true&sent_to=example&sent_to[]=example&tag_ids=123", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues.json?page=123&sort=id&per_page=123&status=example&status[]=example&priority=low&priority[]=example&assigned_to_id=123&assigned_to_id[]=123&reported_by_id=123&reported_by_id[]=123&release_id=123&release_id[]=123&archived=true&created_after=example&created_before=example&updated_after=example&updated_before=example&with_media=true&sent_to=example&sent_to[]=example&tag_ids=123", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues.json?page=123&sort=id&per_page=123&status=example&status[]=example&priority=low&priority[]=example&assigned_to_id=123&assigned_to_id[]=123&reported_by_id=123&reported_by_id[]=123&release_id=123&release_id[]=123&archived=true&created_after=example&created_before=example&updated_after=example&updated_before=example&with_media=true&sent_to=example&sent_to[]=example&tag_ids=123")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
g-{id} form (e.g. /issues/g-12345), which this value is not. To build links use url (already fully-formed) or scoped_id — do not concatenate this id into a path.
g-{id} (see url) if you need a permanently stable identifier.
hidden, open, in_progress, resolved, closed, duplicate, pending_moderation, wont_fix, and needs_more_info, but a project may also define custom statuses — treat this as a free-form string.
status, resolved against the project’s (possibly custom) status names.
low, medium, high, critical, blocker. For issues created through SDK / FormUser tokens the priority is LLM-predicted and cannot be set on create (any submitted value is stripped); it is only settable by a developer via the update (PUT) endpoint.
issue[raw].
field_type: a string for text / single_select, a boolean for boolean, an array of strings for multi_select, and an object { client_map_id, x, y } for coordinates.
issue[extras][device_info] is submitted on create (see the create endpoint).
id and name are null unless the caller’s token carries reporter-visibility permission. Even when visible, name may be masked or replaced with a persona by the project’s team-identity settings.
status == 'duplicate', and for viewers who can moderate bugs when status == 'pending_moderation' (a report BetaHub thinks duplicates another, waiting for the team’s call: mark_as_duplicate or mark_as_new_bug); null otherwise. When present it is a full nested issue object with the same shape as this IssueResponse — describing the canonical issue this submission was merged into (your report was detected as a duplicate and folded into that existing issue), or for a pending report the one it may duplicate. The nested object is not expanded inline here to avoid a recursive schema; expect the same fields as a top-level issue. When the caller may not open that issue (another reporter’s bug on a project that isolates bugs, or a private project the caller is not a member of), it holds only id, scoped_id, title and url.
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falseissue.reported_by), NOT the screenshot’s uploader — the _screenshot.json.jbuilder view ignores the screenshot.user column. It is null only when the issue has no reporter. (The video/log/binary jbuilders differ: those DO use the uploader, resource.user.)
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsetrue only if the source is web-compatible AND under the organization’s max video length; otherwise a background job transcodes it first. Direct (presigned) uploads are marked processed=true immediately on confirm, without transcoding or a length check (see VideoClip model before_save).
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsedeveloper_private controls only whether this URL appears in the listing, not access to the URL once known.
falseheat the issue has reached. Null until heat is first calculated.
sort value this endpoint does not offer.
{
"issues": [
{
"id": 12345,
"scoped_id": 42,
"title": "App crashes on login screen",
"description": "When attempting to login, the app crashes after entering credentials.",
"status": "open",
"status_display": "Open",
"priority": "high",
"created_at": "2024-10-03T12:34:56Z",
"updated_at": "2024-10-03T12:34:56Z",
"score": "0.8542",
"steps_to_reproduce": [
{
"step": "1. Open the app"
},
{
"step": "2. Enter login credentials"
},
{
"step": "3. Press login"
}
],
"assigned_to": {
"id": 12,
"name": "John Doe"
},
"reported_by": {
"id": 34,
"name": "Jane Smith"
},
"potential_duplicate": null,
"url": "https://app.betahub.io/projects/1/issues/g-12345",
"heat": 37,
"peak_heat": 52
}
],
"pagination": {
"current_page": 1,
"per_page": 25,
"total_pages": 4,
"total_count": 95
}
}
agent_session_limit: another coding agent session is working on this account. Applies to agent tokens and to tokens sent through the BetaHub MCP server.retry_after.
{
"error": "agent_session_limit",
"message": "string",
"retry_after": 120,
"seats_url": "https://example.com"
}
Creates a new issue for a project. Issues can be created in a draft mode, which allows for a step-by-step creation process.
draft=true to keep it hidden (returns a JWT token in the ‘token’ field) 2. Optionally upload media files (screenshots, videos, log files) using the respective endpoints with the JWT token 3. Optionally set reporter email using the set_reporter_email endpoint 4. Publish the issue using the publish endpoint to make it visibleIMPORTANT NOTES:
Bearer {jwt_token} for subsequent API calls after issue creationapplication/x-www-form-urlencoded / multipart/form-data) boolean-typed custom fields (issue[custom][...]) must be sent as '1' / '0' — their validator accepts only [true, false, '1', '0', 1, 0] and rejects the literal strings 'true' / 'false' with a 422. Top-level form booleans (draft, skip_description_check, issue[process_include_flags], issue[include_screenshot] / include_video / include_other) are parsed with lenient boolean casting and DO accept 'true' / 'false' as well as '1' / '0'.multi_select custom fields need bracket-array keys: issue[custom][ident][]=A&issue[custom][ident][]=B.Content-Type: application/json and nest values under issue (custom-field JSON / array encoding is described on the issue[custom][FIELD_IDENT] field).
Eventual consistency:status: 'open' and potential_duplicate: null, then may asynchronously flip to status: 'duplicate' with potential_duplicate populated shortly after. Re-fetch the issue if you need the settled duplicate state.
Draft validation:draft=true, custom-field required/select validation is skipped at create and enforced at publish — the same payload can return 201 at create yet 422 when published.
Identifier stability:g-{id} is stable for the lifetime of an issue. scoped_id can be reassigned to a surviving duplicate when issues are merged (the losing issue is destroyed). Persist g-{id} (or url) when you need a permanent reference.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
unformatted_steps_to_reproduce: it is stored as-is and skips the AI reformatting pass. Over form-encoding, repeat the bracketed key: issue[steps_to_reproduce_array][]=Open the app&issue[steps_to_reproduce_array][]=Press login.
true for high-volume automated / low-signal telemetry and false (the default) for a normal player bug report. Accepts true/false (also "1"/"0"). When you set this explicitly the server treats you as choosing raw-vs-regular yourself and does no legacy description auto-detection.
falsevalue and choose how strictly it is parsed with validation_mode. The server runs an LLM parse and populates the response device object (device_type + configuration). This is the device-attach path for callers that cannot create a Device record (FormUser tokens).
strict rejects on unparseable input, loose (the fallback for an unrecognized mode) parses best-effort, and optional is the most permissive.
allow_discord_id_for_issues enabled and the caller is an anonymous token-authenticated FormUser; silently ignored otherwise.
issue[discord_id], used when creating the attributed reporter. Subject to the same gating as issue[discord_id].
issue[extras][device_info] (documented above) instead.
Attach existing issue tags to the new issue by their numeric IssueTag id (the id from the issue-tags list endpoint), one array entry per tag. Over form-encoding repeat the bracketed key: issue[tag_ids][]=12&issue[tag_ids][]=34.
Developer / PAT only. This field is honored only for session or Personal Access Token reporters. For game-SDK submission tokens (FormUser) it is silently stripped from the permitted params (no error, tags are simply not attached), because tag assignment is a developer-only action.
Custom field values for the issue. Replace FIELD_IDENT with the field’s identifier (e.g., issue[custom][severity], issue[custom][platform]). Each project can define its own custom fields via the project settings. Field identifiers are snake_case strings (e.g., actual_result, player_cloud_id). You can find the available fields and their identifiers in the project’s Custom Fields settings page.
Field types and expected values:
true, false, 1, or 0.
Validation: If a custom field is marked as required in the project settings and is not provided (or blank), the API returns a 422 error indicating which field is missing. For single_select fields, the value must match one of the configured options exactly.
JSON format: When using application/json, send custom fields as a nested object: {"issue": {"description": "...", "custom": {"severity": "Major", "platform": "Steam"}}}. For multi_select, send a JSON array: {"custom": {"platforms": ["Steam", "Epic"]}}.
Multi-select over multipart/form-data or application/x-www-form-urlencoded: repeat the bracketed key — issue[custom][platforms][]=Steam&issue[custom][platforms][]=Epic.
Auto-creation (SDK submissions). On the game-SDK submission path an unknown FIELD_IDENT is not rejected — it auto-creates a new project custom field (type text) and stores the value. The new field is hidden from testers. Guardrails: auto-creation stops once the project already has 32 custom fields of that entity type (total, not only auto-created ones), and each value is capped at 4096 characters. When a value is dropped for hitting a cap (or a field cannot be created), the request still returns 201 and reports it in a top-level warnings array (see the response schema) — inspect it to detect partial data loss. Values resolve by field ident, falling back to the display name.include_* flags below. WARNING: enabling this WITHOUT setting the corresponding include flags deletes the attached media. Leave unset unless you specifically intend media pruning.
process_include_flags=true, keep (true) or drop (false) attached screenshots.
process_include_flags=true, keep (true) or drop (false) attached video clips.
process_include_flags=true, keep (true) or drop (false) other attached media (logs / binary files).
draft is true. Automatically publishes the draft after this duration if it is never published explicitly, e.g. 1h, 30m, 2d. Overrides the project’s default auto-publish window. Capped at 7 days (longer values are clamped). An invalid value, or supplying this without draft=true, returns 422.
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -d "issue[title]=Example title" \ -d "issue[description]=Example description" \ -d "issue[unformatted_steps_to_reproduce]=string" \ -d "issue[steps_to_reproduce_array][]=string" \ -d "issue[logs]=string" \ -d "issue[release_id]=string" \ "https://app.betahub.io/projects/123/issues.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request.set_form_data({ "issue[title]" => "Example title", "issue[description]" => "Example description", "issue[unformatted_steps_to_reproduce]" => "string", "issue[steps_to_reproduce_array][]" => "string", "issue[logs]" => "string", "issue[release_id]" => "string" }) response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"}, data={"issue[title]": "Example title", "issue[description]": "Example description", "issue[unformatted_steps_to_reproduce]": "string", "issue[steps_to_reproduce_array][]": "string", "issue[logs]": "string", "issue[release_id]": "string"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"issue[title]\":\"string\",\"issue[description]\":\"string\",\"issue[unformatted_steps_to_reproduce]\":\"string\",\"issue[steps_to_reproduce_array][]\":[\"string\"],\"issue[logs]\":\"string\",\"issue[release_id]\":\"string\",\"issue[release_label]\":\"string\",\"issue[source]\":\"string\",\"issue[raw]\":true,\"issue[extras][device_info]\":{\"value\":\"string\",\"validation_mode\":\"strict\"},\"issue[discord_id]\":\"string\",\"issue[discord_username]\":\"string\",\"issue[tested_on_device_id]\":\"string\",\"issue[tag_ids][]\":[0],\"issue[custom][FIELD_IDENT]\":\"https://example.com\",\"issue[debug_trace]\":{\"steps\":[{\"severity\":\"info\",\"description\":\"Process started successfully\"},{\"severity\":\"warning\",\"description\":\"Memory usage is high\"},{\"severity\":\"danger\",\"description\":\"Critical error occurred\"}]},\"issue[process_include_flags]\":true,\"issue[include_screenshot]\":true,\"issue[include_video]\":true,\"issue[include_other]\":true,\"draft\":true,\"publish_after\":\"1h\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"issue[title]": "string",
"issue[description]": "string",
"issue[unformatted_steps_to_reproduce]": "string",
"issue[steps_to_reproduce_array][]": [
"string"
],
"issue[logs]": "string",
"issue[release_id]": "string",
"issue[release_label]": "string",
"issue[source]": "string",
"issue[raw]": true,
"issue[extras][device_info]": {
"value": "string",
"validation_mode": "strict"
},
"issue[discord_id]": "string",
"issue[discord_username]": "string",
"issue[tested_on_device_id]": "string",
"issue[tag_ids][]": [
0
],
"issue[custom][FIELD_IDENT]": "https://example.com",
"issue[debug_trace]": {
"steps": [
{
"severity": "info",
"description": "Process started successfully"
},
{
"severity": "warning",
"description": "Memory usage is high"
},
{
"severity": "danger",
"description": "Critical error occurred"
}
]
},
"issue[process_include_flags]": true,
"issue[include_screenshot]": true,
"issue[include_video]": true,
"issue[include_other]": true,
"draft": true,
"publish_after": "1h"
}
g-{id} form (e.g. /issues/g-12345), which this value is not. To build links use url (already fully-formed) or scoped_id — do not concatenate this id into a path.
g-{id} (see url) if you need a permanently stable identifier.
hidden, open, in_progress, resolved, closed, duplicate, pending_moderation, wont_fix, and needs_more_info, but a project may also define custom statuses — treat this as a free-form string.
status, resolved against the project’s (possibly custom) status names.
low, medium, high, critical, blocker. For issues created through SDK / FormUser tokens the priority is LLM-predicted and cannot be set on create (any submitted value is stripped); it is only settable by a developer via the update (PUT) endpoint.
issue[raw].
field_type: a string for text / single_select, a boolean for boolean, an array of strings for multi_select, and an object { client_map_id, x, y } for coordinates.
issue[extras][device_info] is submitted on create (see the create endpoint).
id and name are null unless the caller’s token carries reporter-visibility permission. Even when visible, name may be masked or replaced with a persona by the project’s team-identity settings.
status == 'duplicate', and for viewers who can moderate bugs when status == 'pending_moderation' (a report BetaHub thinks duplicates another, waiting for the team’s call: mark_as_duplicate or mark_as_new_bug); null otherwise. When present it is a full nested issue object with the same shape as this IssueResponse — describing the canonical issue this submission was merged into (your report was detected as a duplicate and folded into that existing issue), or for a pending report the one it may duplicate. The nested object is not expanded inline here to avoid a recursive schema; expect the same fields as a top-level issue. When the caller may not open that issue (another reporter’s bug on a project that isolates bugs, or a private project the caller is not a member of), it holds only id, scoped_id, title and url.
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falseissue.reported_by), NOT the screenshot’s uploader — the _screenshot.json.jbuilder view ignores the screenshot.user column. It is null only when the issue has no reporter. (The video/log/binary jbuilders differ: those DO use the uploader, resource.user.)
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsetrue only if the source is web-compatible AND under the organization’s max video length; otherwise a background job transcodes it first. Direct (presigned) uploads are marked processed=true immediately on confirm, without transcoding or a length check (see VideoClip model before_save).
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsedeveloper_private controls only whether this URL appears in the listing, not access to the URL once known.
falseheat the issue has reached. Null until heat is first calculated.
{
"issue[title]": "App crashes on login screen",
"issue[description]": "When attempting to login, the app crashes after entering credentials.",
"issue[unformatted_steps_to_reproduce]": "1. Open the app
2. Enter login credentials
3. Press login",
"draft": true
}
{
"id": 12345,
"scoped_id": 42,
"title": "App crashes on login screen",
"description": "When attempting to login, the app crashes after entering credentials.",
"status": "hidden",
"status_display": "Hidden",
"priority": "high",
"created_at": "2024-10-03T12:34:56Z",
"updated_at": "2024-10-03T12:34:56Z",
"score": "0.8542",
"steps_to_reproduce": [
{
"step": "1. Open the app"
},
{
"step": "2. Enter login credentials"
},
{
"step": "3. Press login"
}
],
"assigned_to": {
"id": 12,
"name": "John Doe"
},
"reported_by": {
"id": 34,
"name": "Jane Smith"
},
"potential_duplicate": null,
"url": "https://app.betahub.io/projects/1/issues/g-12345",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
Forbidden. Real causes include:
The auth token is not permitted to report a bug — either it lacks the
can_create_bug_report scope or it has exceeded its per-IP daily bug-report limit
(error: “Not allowed to report a bug.”).
The token belongs to a different project than the target (error: “Auth token does not belong to this project.”).
The project is NDA-gated and the reporter has not accepted the NDA (error: “NDA acceptance required.”).
release_label names a new release but the token lacks release-creation permission
(error: “Auth token does not have permission to create releases”).
The organization has exceeded its plan’s monthly submission quota for bug reports. Note this is the OPPOSITE meaning of the token-permission 403 above: the credentials are valid, but the project is at its plan cap (error: “This project is not currently accepting new bug reports. Please try again later.”).
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Not allowed to report a bug.",
"status": "forbidden"
}
{
"error": "NDA acceptance required.",
"status": "forbidden"
}
{
"error": "Auth token does not have permission to create releases",
"status": "forbidden"
}
{
"error": "This project is not currently accepting new bug reports. Please try again later.",
"status": "forbidden"
}
Validation error. Common causes:
Missing required custom fields, or invalid values for single_select/multi_select fields.
The reporter hit a per-project, per-reporter tester submission cap. Bugs are limited per rolling 24 hours and per rolling 7 days (both configurable per project; developers, support, org admins, and site admins are exempt). Error: “You have reached your 24 hours limit for bug submissions.” (or “7 days”).
A supplied submission token (JWT) was already used (error: “Submission token has already been used. Please generate a new one.”).
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Custom fields Severity is required, Custom fields Platform is required",
"status": 422
}
{
"error": "Custom fields Severity must be one of: Blocker, Major, Minor, Cosmetic",
"status": 422
}
{
"error": "You have reached your 24 hours limit for bug submissions. You can submit again later.",
"status": 422
}
{
"error": "Submission token has already been used. Please generate a new one.",
"status": 422
}
total_count reflects the post-filter count. The JSON response returns up to 25 issue objects per page. The 4-result cap only applies to the HTML autocomplete partial (partial=true with an HTML Accept header), not to JSON.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| query required | string | The search query string to match against issue titles and descriptions |
| skip_ids optional | string | Comma-separated list of issue IDs to exclude from results |
| partial optional | string |
Only affects the HTML autocomplete rendering (capping it at 4 results) and narrows the Meilisearch candidate pool (limit 200 with partial=true vs 500 without). It does NOT cap the JSON response, which always returns up to 25 results per page.
true
false
|
| page optional | integer | Page number for the JSON results (default: 1). 25 results per page. |
| sort optional | string |
Column to sort by (any Issue column, e.g. created_at, priority). Unknown columns silently fall back to id. When omitted with a query present, results keep Meilisearch relevance order.
|
| direction optional | string |
Sort direction (default: asc). Only applied when sort is provided.
asc
desc
|
| scoped_id optional | string | Instead of searching, find a specific issue by its scoped ID (e.g., “123” or “g-456”) |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/search.json?query=example&skip_ids=123&partial=true&page=123&sort=example&direction=asc&scoped_id=123"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/search.json?query=example&skip_ids=123&partial=true&page=123&sort=example&direction=asc&scoped_id=123") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/issues/search.json?query=example&skip_ids=123&partial=true&page=123&sort=example&direction=asc&scoped_id=123", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/search.json?query=example&skip_ids=123&partial=true&page=123&sort=example&direction=asc&scoped_id=123", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/search.json?query=example&skip_ids=123&partial=true&page=123&sort=example&direction=asc&scoped_id=123")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
g-{id} form (e.g. /issues/g-12345), which this value is not. To build links use url (already fully-formed) or scoped_id — do not concatenate this id into a path.
g-{id} (see url) if you need a permanently stable identifier.
hidden, open, in_progress, resolved, closed, duplicate, pending_moderation, wont_fix, and needs_more_info, but a project may also define custom statuses — treat this as a free-form string.
status, resolved against the project’s (possibly custom) status names.
low, medium, high, critical, blocker. For issues created through SDK / FormUser tokens the priority is LLM-predicted and cannot be set on create (any submitted value is stripped); it is only settable by a developer via the update (PUT) endpoint.
issue[raw].
field_type: a string for text / single_select, a boolean for boolean, an array of strings for multi_select, and an object { client_map_id, x, y } for coordinates.
issue[extras][device_info] is submitted on create (see the create endpoint).
id and name are null unless the caller’s token carries reporter-visibility permission. Even when visible, name may be masked or replaced with a persona by the project’s team-identity settings.
status == 'duplicate', and for viewers who can moderate bugs when status == 'pending_moderation' (a report BetaHub thinks duplicates another, waiting for the team’s call: mark_as_duplicate or mark_as_new_bug); null otherwise. When present it is a full nested issue object with the same shape as this IssueResponse — describing the canonical issue this submission was merged into (your report was detected as a duplicate and folded into that existing issue), or for a pending report the one it may duplicate. The nested object is not expanded inline here to avoid a recursive schema; expect the same fields as a top-level issue. When the caller may not open that issue (another reporter’s bug on a project that isolates bugs, or a private project the caller is not a member of), it holds only id, scoped_id, title and url.
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falseissue.reported_by), NOT the screenshot’s uploader — the _screenshot.json.jbuilder view ignores the screenshot.user column. It is null only when the issue has no reporter. (The video/log/binary jbuilders differ: those DO use the uploader, resource.user.)
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsetrue only if the source is web-compatible AND under the organization’s max video length; otherwise a background job transcodes it first. Direct (presigned) uploads are marked processed=true immediately on confirm, without transcoding or a length check (see VideoClip model before_save).
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsedeveloper_private controls only whether this URL appears in the listing, not access to the URL once known.
falseheat the issue has reached. Null until heat is first calculated.
g-{id} form (e.g. /issues/g-12345), which this value is not. To build links use url (already fully-formed) or scoped_id — do not concatenate this id into a path.
g-{id} (see url) if you need a permanently stable identifier.
hidden, open, in_progress, resolved, closed, duplicate, pending_moderation, wont_fix, and needs_more_info, but a project may also define custom statuses — treat this as a free-form string.
status, resolved against the project’s (possibly custom) status names.
low, medium, high, critical, blocker. For issues created through SDK / FormUser tokens the priority is LLM-predicted and cannot be set on create (any submitted value is stripped); it is only settable by a developer via the update (PUT) endpoint.
issue[raw].
field_type: a string for text / single_select, a boolean for boolean, an array of strings for multi_select, and an object { client_map_id, x, y } for coordinates.
issue[extras][device_info] is submitted on create (see the create endpoint).
id and name are null unless the caller’s token carries reporter-visibility permission. Even when visible, name may be masked or replaced with a persona by the project’s team-identity settings.
status == 'duplicate', and for viewers who can moderate bugs when status == 'pending_moderation' (a report BetaHub thinks duplicates another, waiting for the team’s call: mark_as_duplicate or mark_as_new_bug); null otherwise. When present it is a full nested issue object with the same shape as this IssueResponse — describing the canonical issue this submission was merged into (your report was detected as a duplicate and folded into that existing issue), or for a pending report the one it may duplicate. The nested object is not expanded inline here to avoid a recursive schema; expect the same fields as a top-level issue. When the caller may not open that issue (another reporter’s bug on a project that isolates bugs, or a private project the caller is not a member of), it holds only id, scoped_id, title and url.
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falseissue.reported_by), NOT the screenshot’s uploader — the _screenshot.json.jbuilder view ignores the screenshot.user column. It is null only when the issue has no reporter. (The video/log/binary jbuilders differ: those DO use the uploader, resource.user.)
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsetrue only if the source is web-compatible AND under the organization’s max video length; otherwise a background job transcodes it first. Direct (presigned) uploads are marked processed=true immediately on confirm, without transcoding or a length check (see VideoClip model before_save).
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsedeveloper_private controls only whether this URL appears in the listing, not access to the URL once known.
falseheat the issue has reached. Null until heat is first calculated.
{
"issues": [
{
"id": 12345,
"scoped_id": 42,
"title": "App crashes on login screen",
"status": "open",
"priority": "high",
"created_at": "2024-10-03T12:34:56Z"
}
],
"pagination": {
"current_page": 1,
"per_page": 25,
"total_pages": 3,
"total_count": 68
},
"project_id": 123
}
{
"id": 12345,
"scoped_id": 42,
"title": "App crashes on login screen",
"description": "When attempting to login, the app crashes after entering credentials.",
"status": "open",
"status_display": "Open",
"priority": "high",
"created_at": "2024-10-03T12:34:56Z",
"updated_at": "2024-10-03T12:34:56Z",
"score": "0.8542",
"steps_to_reproduce": [
{
"step": "1. Open the app"
},
{
"step": "2. Enter login credentials"
},
{
"step": "3. Press login"
}
],
"assigned_to": {
"id": 12,
"name": "John Doe"
},
"reported_by": {
"id": 34,
"name": "Jane Smith"
},
"potential_duplicate": null,
"url": "https://app.betahub.io/projects/1/issues/g-12345"
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -d "query=string" \ -d "skip_ids=string" \ -d "partial=true" \ -d "scoped_id=string" \ "https://app.betahub.io/projects/123/issues/search.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/search.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request.set_form_data({ "query" => "string", "skip_ids" => "string", "partial" => "true", "scoped_id" => "string" }) response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/search.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"}, data={"query": "string", "skip_ids": "string", "partial": "true", "scoped_id": "string"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/search.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/search.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"query\":\"string\",\"skip_ids\":\"string\",\"partial\":\"true\",\"scoped_id\":\"string\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"query": "string",
"skip_ids": "string",
"partial": "true",
"scoped_id": "string"
}
g-{id} form (e.g. /issues/g-12345), which this value is not. To build links use url (already fully-formed) or scoped_id — do not concatenate this id into a path.
g-{id} (see url) if you need a permanently stable identifier.
hidden, open, in_progress, resolved, closed, duplicate, pending_moderation, wont_fix, and needs_more_info, but a project may also define custom statuses — treat this as a free-form string.
status, resolved against the project’s (possibly custom) status names.
low, medium, high, critical, blocker. For issues created through SDK / FormUser tokens the priority is LLM-predicted and cannot be set on create (any submitted value is stripped); it is only settable by a developer via the update (PUT) endpoint.
issue[raw].
field_type: a string for text / single_select, a boolean for boolean, an array of strings for multi_select, and an object { client_map_id, x, y } for coordinates.
issue[extras][device_info] is submitted on create (see the create endpoint).
id and name are null unless the caller’s token carries reporter-visibility permission. Even when visible, name may be masked or replaced with a persona by the project’s team-identity settings.
status == 'duplicate', and for viewers who can moderate bugs when status == 'pending_moderation' (a report BetaHub thinks duplicates another, waiting for the team’s call: mark_as_duplicate or mark_as_new_bug); null otherwise. When present it is a full nested issue object with the same shape as this IssueResponse — describing the canonical issue this submission was merged into (your report was detected as a duplicate and folded into that existing issue), or for a pending report the one it may duplicate. The nested object is not expanded inline here to avoid a recursive schema; expect the same fields as a top-level issue. When the caller may not open that issue (another reporter’s bug on a project that isolates bugs, or a private project the caller is not a member of), it holds only id, scoped_id, title and url.
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falseissue.reported_by), NOT the screenshot’s uploader — the _screenshot.json.jbuilder view ignores the screenshot.user column. It is null only when the issue has no reporter. (The video/log/binary jbuilders differ: those DO use the uploader, resource.user.)
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsetrue only if the source is web-compatible AND under the organization’s max video length; otherwise a background job transcodes it first. Direct (presigned) uploads are marked processed=true immediately on confirm, without transcoding or a length check (see VideoClip model before_save).
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsedeveloper_private controls only whether this URL appears in the listing, not access to the URL once known.
falseheat the issue has reached. Null until heat is first calculated.
g-{id} form (e.g. /issues/g-12345), which this value is not. To build links use url (already fully-formed) or scoped_id — do not concatenate this id into a path.
g-{id} (see url) if you need a permanently stable identifier.
hidden, open, in_progress, resolved, closed, duplicate, pending_moderation, wont_fix, and needs_more_info, but a project may also define custom statuses — treat this as a free-form string.
status, resolved against the project’s (possibly custom) status names.
low, medium, high, critical, blocker. For issues created through SDK / FormUser tokens the priority is LLM-predicted and cannot be set on create (any submitted value is stripped); it is only settable by a developer via the update (PUT) endpoint.
issue[raw].
field_type: a string for text / single_select, a boolean for boolean, an array of strings for multi_select, and an object { client_map_id, x, y } for coordinates.
issue[extras][device_info] is submitted on create (see the create endpoint).
id and name are null unless the caller’s token carries reporter-visibility permission. Even when visible, name may be masked or replaced with a persona by the project’s team-identity settings.
status == 'duplicate', and for viewers who can moderate bugs when status == 'pending_moderation' (a report BetaHub thinks duplicates another, waiting for the team’s call: mark_as_duplicate or mark_as_new_bug); null otherwise. When present it is a full nested issue object with the same shape as this IssueResponse — describing the canonical issue this submission was merged into (your report was detected as a duplicate and folded into that existing issue), or for a pending report the one it may duplicate. The nested object is not expanded inline here to avoid a recursive schema; expect the same fields as a top-level issue. When the caller may not open that issue (another reporter’s bug on a project that isolates bugs, or a private project the caller is not a member of), it holds only id, scoped_id, title and url.
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falseissue.reported_by), NOT the screenshot’s uploader — the _screenshot.json.jbuilder view ignores the screenshot.user column. It is null only when the issue has no reporter. (The video/log/binary jbuilders differ: those DO use the uploader, resource.user.)
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsetrue only if the source is web-compatible AND under the organization’s max video length; otherwise a background job transcodes it first. Direct (presigned) uploads are marked processed=true immediately on confirm, without transcoding or a length check (see VideoClip model before_save).
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsedeveloper_private controls only whether this URL appears in the listing, not access to the URL once known.
falseheat the issue has reached. Null until heat is first calculated.
{
"issues": [
{
"id": 12345,
"scoped_id": 42,
"title": "string",
"description": "string",
"status": "open",
"status_display": "Open",
"priority": "high",
"discord_message": "string",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"score": "0.8542",
"raw": true,
"source": "string",
"custom_fields": [
{}
],
"steps_to_reproduce": [
{}
],
"device": {
"id": 0,
"device_type": "string",
"configuration": {}
},
"assigned_to": {
"id": 0,
"name": "string"
},
"reported_by": {
"id": 0,
"name": "string"
},
"potential_duplicate": {},
"screenshots": [
{}
],
"log_files": [
{}
],
"video_clips": [
{}
],
"binary_files": [
{}
],
"url": "string",
"heat": 37,
"peak_heat": 52,
"token": "string",
"warnings": [
"string"
]
}
],
"pagination": {
"current_page": 0,
"per_page": 0,
"total_pages": 0,
"total_count": 0
},
"project_id": 0,
"id": 12345,
"scoped_id": 42,
"title": "string",
"description": "string",
"status": "open",
"status_display": "Open",
"priority": "high",
"discord_message": "string",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"score": "0.8542",
"raw": true,
"source": "string",
"custom_fields": [
{
"id": 325,
"ident": "location",
"name": "Location",
"field_type": "text",
"value": "string"
}
],
"steps_to_reproduce": [
{
"step": "string"
}
],
"device": {
"id": 0,
"device_type": "string",
"configuration": {}
},
"assigned_to": {
"id": 0,
"name": "string"
},
"reported_by": {
"id": 0,
"name": "string"
},
"potential_duplicate": {},
"screenshots": [
{
"id": 0,
"type": "screenshot",
"description": "string",
"size_bytes": 0,
"media_size_bytes": 0,
"content_type": "string",
"url": "https://example.com",
"filename": "string",
"layer_a_url": "https://example.com",
"layer_a_filename": "string",
"developer_private": true,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
],
"log_files": [
{
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "log_file",
"size_bytes": 0,
"content_type": "text/plain",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
}
}
],
"video_clips": [
{
"id": 0,
"type": "video_clip",
"processing": true,
"processed": true,
"failed": true,
"size_bytes": 0,
"media_size_bytes": 0,
"content_type": "string",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
],
"binary_files": [
{
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "binary_file",
"size_bytes": 0,
"content_type": "application/octet-stream",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
}
}
],
"url": "string",
"heat": 37,
"peak_heat": 52,
"token": "string",
"warnings": [
"string"
]
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string | The obfuscated ID of the issue to find similar issues for |
| Name | Type | Description |
|---|---|---|
| description optional | string | Optional text to search with instead of the issue’s own description. Useful for checking similarity against a draft before persisting it. |
| limit optional | integer |
Maximum number of similar issues to return (clamped between 1 and 50)
min: 1
max: 50
Default:
5 |
| include_archived optional | boolean | When true, archived issues are included in the results |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/find_similar.json?description=example&limit=5&include_archived=true"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/find_similar.json?description=example&limit=5&include_archived=true") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/issues/g-123/find_similar.json?description=example&limit=5&include_archived=true", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/find_similar.json?description=example&limit=5&include_archived=true", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/find_similar.json?description=example&limit=5&include_archived=true")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"issues": [
{
"id": 12345,
"scoped_id": 42,
"title": "App crashes on login screen",
"status": "open",
"priority": "high",
"created_at": "2024-10-03T12:34:56Z",
"similarity_score": 0.87
}
]
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
title, description, status, priority, assigned_to_id, release_id, tag_ids (with process_tags) and custom_fields; anything else it sends is ignored.
open, in_progress, resolved, closed, duplicate, wont_fix, needs_more_info, hidden, pending_moderation) or a project custom status. Ignored for a caller without bugs.update (a reporter editing their own bug). A scoped token cannot set hidden or pending_moderation. duplicate alone links no original; use merge.
bugs.update. Any other value answers 422 (priority must be one of: low, medium, high, critical, blocker).
assigned_to.id); null unassigns. Ignored for a caller without bugs.update, and for game-SDK tokens. Someone who is not a member answers 422.
id from the releases list).
[] removes all. Tag ids, or tag names when any value is not numeric. Applied only with process_tags. Ignored for game-SDK tokens.
"1" with tag_ids; without it the tags are left unchanged.
null clears one. A key may be the field’s id, name or ident (see the custom fields list). A caller who is not a developer sets only fields testers may set.
curl \ -X PUT \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -H "Content-Type: application/json" \ -d '{ "issue": { "title": "string", "description": "string", "status": "https://example.com", "priority": "low", "assigned_to_id": 0, "release_id": 0, "tag_ids": [ 12, 34 ], "process_tags": "1", "custom_fields": { "platform": "PC", "build_number": null }, "unformatted_steps_to_reproduce": "string" } }' \ "https://app.betahub.io/projects/123/issues/g-123.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Put.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request["Content-Type"] = "application/json" request.body = { "issue": { "title": "string", "description": "string", "status": "https://example.com", "priority": "low", "assigned_to_id": 0, "release_id": 0, "tag_ids": [ 12, 34 ], "process_tags": "1", "custom_fields": { "platform": "PC", "build_number": null }, "unformatted_steps_to_reproduce": "string" } } response = http.request(request) puts response.body
import requests response = requests.put( "https://app.betahub.io/projects/123/issues/g-123.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"}, json={ "issue": { "title": "string", "description": "string", "status": "https://example.com", "priority": "low", "assigned_to_id": 0, "release_id": 0, "tag_ids": [ 12, 34 ], "process_tags": "1", "custom_fields": { "platform": "PC", "build_number": null }, "unformatted_steps_to_reproduce": "string" } } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123.json", { method: "PUT", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123", "Content-Type": "application/json" }, body: JSON.stringify({ "issue": { "title": "string", "description": "string", "status": "https://example.com", "priority": "low", "assigned_to_id": 0, "release_id": 0, "tag_ids": [ 12, 34 ], "process_tags": "1", "custom_fields": { "platform": "PC", "build_number": null }, "unformatted_steps_to_reproduce": "string" } }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .PUT(HttpRequest.BodyPublishers.ofString("{\"issue\":{\"title\":\"string\",\"description\":\"string\",\"status\":\"https://example.com\",\"priority\":\"low\",\"assigned_to_id\":0,\"release_id\":0,\"tag_ids\":[12,34],\"process_tags\":\"1\",\"custom_fields\":{\"platform\":\"PC\",\"build_number\":null},\"unformatted_steps_to_reproduce\":\"string\"}}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"issue": {
"title": "string",
"description": "string",
"status": "https://example.com",
"priority": "low",
"assigned_to_id": 0,
"release_id": 0,
"tag_ids": [
12,
34
],
"process_tags": "1",
"custom_fields": {
"platform": "PC",
"build_number": null
},
"unformatted_steps_to_reproduce": "string"
}
}
g-{id} form (e.g. /issues/g-12345), which this value is not. To build links use url (already fully-formed) or scoped_id — do not concatenate this id into a path.
g-{id} (see url) if you need a permanently stable identifier.
hidden, open, in_progress, resolved, closed, duplicate, pending_moderation, wont_fix, and needs_more_info, but a project may also define custom statuses — treat this as a free-form string.
status, resolved against the project’s (possibly custom) status names.
low, medium, high, critical, blocker. For issues created through SDK / FormUser tokens the priority is LLM-predicted and cannot be set on create (any submitted value is stripped); it is only settable by a developer via the update (PUT) endpoint.
issue[raw].
field_type: a string for text / single_select, a boolean for boolean, an array of strings for multi_select, and an object { client_map_id, x, y } for coordinates.
issue[extras][device_info] is submitted on create (see the create endpoint).
id and name are null unless the caller’s token carries reporter-visibility permission. Even when visible, name may be masked or replaced with a persona by the project’s team-identity settings.
status == 'duplicate', and for viewers who can moderate bugs when status == 'pending_moderation' (a report BetaHub thinks duplicates another, waiting for the team’s call: mark_as_duplicate or mark_as_new_bug); null otherwise. When present it is a full nested issue object with the same shape as this IssueResponse — describing the canonical issue this submission was merged into (your report was detected as a duplicate and folded into that existing issue), or for a pending report the one it may duplicate. The nested object is not expanded inline here to avoid a recursive schema; expect the same fields as a top-level issue. When the caller may not open that issue (another reporter’s bug on a project that isolates bugs, or a private project the caller is not a member of), it holds only id, scoped_id, title and url.
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falseissue.reported_by), NOT the screenshot’s uploader — the _screenshot.json.jbuilder view ignores the screenshot.user column. It is null only when the issue has no reporter. (The video/log/binary jbuilders differ: those DO use the uploader, resource.user.)
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsetrue only if the source is web-compatible AND under the organization’s max video length; otherwise a background job transcodes it first. Direct (presigned) uploads are marked processed=true immediately on confirm, without transcoding or a length check (see VideoClip model before_save).
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsedeveloper_private controls only whether this URL appears in the listing, not access to the URL once known.
falseheat the issue has reached. Null until heat is first calculated.
{
"id": 12345,
"scoped_id": 42,
"title": "string",
"description": "string",
"status": "open",
"status_display": "Open",
"priority": "high",
"discord_message": "string",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"score": "0.8542",
"raw": true,
"source": "string",
"custom_fields": [
{
"id": 325,
"ident": "location",
"name": "Location",
"field_type": "text",
"value": "string"
}
],
"steps_to_reproduce": [
{
"step": "string"
}
],
"device": {
"id": 0,
"device_type": "string",
"configuration": {}
},
"assigned_to": {
"id": 0,
"name": "string"
},
"reported_by": {
"id": 0,
"name": "string"
},
"potential_duplicate": {},
"screenshots": [
{
"id": 0,
"type": "screenshot",
"description": "string",
"size_bytes": 0,
"media_size_bytes": 0,
"content_type": "string",
"url": "https://example.com",
"filename": "string",
"layer_a_url": "https://example.com",
"layer_a_filename": "string",
"developer_private": true,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
],
"log_files": [
{
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "log_file",
"size_bytes": 0,
"content_type": "text/plain",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
}
}
],
"video_clips": [
{
"id": 0,
"type": "video_clip",
"processing": true,
"processed": true,
"failed": true,
"size_bytes": 0,
"media_size_bytes": 0,
"content_type": "string",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
],
"binary_files": [
{
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "binary_file",
"size_bytes": 0,
"content_type": "application/octet-stream",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
}
}
],
"url": "string",
"heat": 37,
"peak_heat": 52,
"token": "string",
"warnings": [
"string"
]
}
POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
agent_session_limit (another coding agent session is working on this account) or agent_write_cap (the agent token’s hourly cap on changes).retry_after.
{
"error": "agent_session_limit",
"message": "string",
"retry_after": 120,
"seats_url": "https://example.com"
}
Changes a bug and answers it. Send only the fields to change. Editing a hidden draft publishes it (status open). custom and release_label are for a new bug only and are ignored here; send release_id to change the release.
A scoped token needs bugs.update and may change only title, description, status, priority, assigned_to_id, release_id, tag_ids (with process_tags) and custom_fields. It cannot edit a bug that is hidden (a reporter’s draft) or pending_moderation, nor move one to either; a flagged duplicate is decided with mark_as_duplicate or mark_as_new_bug.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
title, description, status, priority, assigned_to_id, release_id, tag_ids (with process_tags) and custom_fields; anything else it sends is ignored.
open, in_progress, resolved, closed, duplicate, wont_fix, needs_more_info, hidden, pending_moderation) or a project custom status. Ignored for a caller without bugs.update (a reporter editing their own bug). A scoped token cannot set hidden or pending_moderation. duplicate alone links no original; use merge.
bugs.update. Any other value answers 422 (priority must be one of: low, medium, high, critical, blocker).
assigned_to.id); null unassigns. Ignored for a caller without bugs.update, and for game-SDK tokens. Someone who is not a member answers 422.
id from the releases list).
[] removes all. Tag ids, or tag names when any value is not numeric. Applied only with process_tags. Ignored for game-SDK tokens.
"1" with tag_ids; without it the tags are left unchanged.
null clears one. A key may be the field’s id, name or ident (see the custom fields list). A caller who is not a developer sets only fields testers may set.
curl \ -X PATCH \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -H "Content-Type: application/json" \ -d '{ "issue": { "title": "string", "description": "string", "status": "https://example.com", "priority": "low", "assigned_to_id": 0, "release_id": 0, "tag_ids": [ 12, 34 ], "process_tags": "1", "custom_fields": { "platform": "PC", "build_number": null }, "unformatted_steps_to_reproduce": "string" } }' \ "https://app.betahub.io/projects/123/issues/g-123.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Patch.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request["Content-Type"] = "application/json" request.body = { "issue": { "title": "string", "description": "string", "status": "https://example.com", "priority": "low", "assigned_to_id": 0, "release_id": 0, "tag_ids": [ 12, 34 ], "process_tags": "1", "custom_fields": { "platform": "PC", "build_number": null }, "unformatted_steps_to_reproduce": "string" } } response = http.request(request) puts response.body
import requests response = requests.patch( "https://app.betahub.io/projects/123/issues/g-123.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"}, json={ "issue": { "title": "string", "description": "string", "status": "https://example.com", "priority": "low", "assigned_to_id": 0, "release_id": 0, "tag_ids": [ 12, 34 ], "process_tags": "1", "custom_fields": { "platform": "PC", "build_number": null }, "unformatted_steps_to_reproduce": "string" } } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123.json", { method: "PATCH", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123", "Content-Type": "application/json" }, body: JSON.stringify({ "issue": { "title": "string", "description": "string", "status": "https://example.com", "priority": "low", "assigned_to_id": 0, "release_id": 0, "tag_ids": [ 12, 34 ], "process_tags": "1", "custom_fields": { "platform": "PC", "build_number": null }, "unformatted_steps_to_reproduce": "string" } }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .PATCH(HttpRequest.BodyPublishers.ofString("{\"issue\":{\"title\":\"string\",\"description\":\"string\",\"status\":\"https://example.com\",\"priority\":\"low\",\"assigned_to_id\":0,\"release_id\":0,\"tag_ids\":[12,34],\"process_tags\":\"1\",\"custom_fields\":{\"platform\":\"PC\",\"build_number\":null},\"unformatted_steps_to_reproduce\":\"string\"}}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"issue": {
"title": "string",
"description": "string",
"status": "https://example.com",
"priority": "low",
"assigned_to_id": 0,
"release_id": 0,
"tag_ids": [
12,
34
],
"process_tags": "1",
"custom_fields": {
"platform": "PC",
"build_number": null
},
"unformatted_steps_to_reproduce": "string"
}
}
g-{id} form (e.g. /issues/g-12345), which this value is not. To build links use url (already fully-formed) or scoped_id — do not concatenate this id into a path.
g-{id} (see url) if you need a permanently stable identifier.
hidden, open, in_progress, resolved, closed, duplicate, pending_moderation, wont_fix, and needs_more_info, but a project may also define custom statuses — treat this as a free-form string.
status, resolved against the project’s (possibly custom) status names.
low, medium, high, critical, blocker. For issues created through SDK / FormUser tokens the priority is LLM-predicted and cannot be set on create (any submitted value is stripped); it is only settable by a developer via the update (PUT) endpoint.
issue[raw].
field_type: a string for text / single_select, a boolean for boolean, an array of strings for multi_select, and an object { client_map_id, x, y } for coordinates.
issue[extras][device_info] is submitted on create (see the create endpoint).
id and name are null unless the caller’s token carries reporter-visibility permission. Even when visible, name may be masked or replaced with a persona by the project’s team-identity settings.
status == 'duplicate', and for viewers who can moderate bugs when status == 'pending_moderation' (a report BetaHub thinks duplicates another, waiting for the team’s call: mark_as_duplicate or mark_as_new_bug); null otherwise. When present it is a full nested issue object with the same shape as this IssueResponse — describing the canonical issue this submission was merged into (your report was detected as a duplicate and folded into that existing issue), or for a pending report the one it may duplicate. The nested object is not expanded inline here to avoid a recursive schema; expect the same fields as a top-level issue. When the caller may not open that issue (another reporter’s bug on a project that isolates bugs, or a private project the caller is not a member of), it holds only id, scoped_id, title and url.
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falseissue.reported_by), NOT the screenshot’s uploader — the _screenshot.json.jbuilder view ignores the screenshot.user column. It is null only when the issue has no reporter. (The video/log/binary jbuilders differ: those DO use the uploader, resource.user.)
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsetrue only if the source is web-compatible AND under the organization’s max video length; otherwise a background job transcodes it first. Direct (presigned) uploads are marked processed=true immediately on confirm, without transcoding or a length check (see VideoClip model before_save).
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsedeveloper_private controls only whether this URL appears in the listing, not access to the URL once known.
falseheat the issue has reached. Null until heat is first calculated.
{
"id": 12345,
"scoped_id": 42,
"title": "Updated: App crashes on login screen",
"description": "Updated description with more details about the crash.",
"status": "in_progress",
"status_display": "In progress",
"priority": "critical",
"created_at": "2024-10-03T12:34:56Z",
"updated_at": "2024-10-03T15:22:10Z",
"score": "0.8542",
"steps_to_reproduce": [
{
"step": "1. Open the app"
},
{
"step": "2. Enter login credentials"
},
{
"step": "3. Press login"
}
],
"assigned_to": {
"id": 12,
"name": "John Doe"
},
"reported_by": {
"id": 34,
"name": "Jane Smith"
},
"potential_duplicate": null,
"url": "https://app.betahub.io/projects/1/issues/g-12345"
}
insufficient_scope for a scoped token: without bugs.update (with consent where the user can grant it), or a hidden or pending_moderation bug, or a move to either (required_scopes: null, no consent). Otherwise {error}: the caller may not edit this bug (a tester edits only their own reports).POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{error} with the validation messages, e.g. an assignee who is not a project member, or an unknown priority.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "priority must be one of: low, medium, high, critical, blocker"
}
agent_session_limit (another coding agent session is working on this account) or agent_write_cap (the agent token’s hourly cap on changes).retry_after.
{
"error": "agent_session_limit",
"message": "string",
"retry_after": 120,
"seats_url": "https://example.com"
}
issues.delete scope, or a request made by the issue’s original reporter. On success the response is 204 No Content with an empty body.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X DELETE \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Delete.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.delete( "https://app.betahub.io/projects/123/issues/g-123.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123.json", { method: "DELETE", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("DELETE", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
issues.delete scope.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
archived=true to the list endpoint to see them. Needs bugs.archive (alias issues.archive). A scoped token cannot archive a hidden or pending_moderation bug.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/archive.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/archive.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/archive.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/archive.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/archive.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("POST", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"success": true
}
insufficient_scope for a scoped token without bugs.archive, or for a hidden or pending_moderation bug (required_scopes: null). Otherwise {error}.POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{
"success": false
}
agent_session_limit (another coding agent session is working on this account) or agent_write_cap (the agent token’s hourly cap on changes).retry_after.
{
"error": "agent_session_limit",
"message": "string",
"retry_after": 120,
"seats_url": "https://example.com"
}
bugs.archive (alias issues.archive). A scoped token cannot unarchive a hidden or pending_moderation bug.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/unarchive.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/unarchive.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/unarchive.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/unarchive.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/unarchive.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("POST", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"success": true
}
insufficient_scope for a scoped token without bugs.archive, or for a hidden or pending_moderation bug (required_scopes: null). Otherwise {error}.POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{
"success": false
}
agent_session_limit (another coding agent session is working on this account) or agent_write_cap (the agent token’s hourly cap on changes).retry_after.
{
"error": "agent_session_limit",
"message": "string",
"retry_after": 120,
"seats_url": "https://example.com"
}
merge_with_id a duplicate of this one (its own duplicates move along) and answers how to undo it: undo_merge on this bug with the undo values. When this bug is closed (or resolved, in a project that treats resolved bugs as regressions), the other bug is recorded as a regression of it instead: it stays as it was, and there is nothing to undo. Needs bugs.merge (alias issues.merge). A scoped token cannot merge a hidden or pending_moderation bug.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
scoped_id or g-{id}.
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -H "Content-Type: application/json" \ -d '{ "merge_with_id": 57 }' \ "https://app.betahub.io/projects/123/issues/g-123/merge.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/merge.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request["Content-Type"] = "application/json" request.body = { "merge_with_id": 57 } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/merge.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"}, json={ "merge_with_id": 57 } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/merge.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123", "Content-Type": "application/json" }, body: JSON.stringify({ "merge_with_id": 57 }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/merge.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"merge_with_id\":57}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"merge_with_id": 57
}
undo; or, into a closed bug, regression naming the bug recorded as its regression.scoped_id, or g-{id} when it has none. Accepted wherever a path or body takes a bug id.
scoped_id, or g-{id} when it has none. Accepted wherever a path or body takes a bug id.
undo_merge on this bug.
scoped_id, or g-{id} when it has none. Accepted wherever a path or body takes a bug id.
scoped_id, or g-{id} when it has none. Accepted wherever a path or body takes a bug id.
{
"issue": 42,
"merged_issue": 57,
"undo": {
"merged_issue_id": 57,
"previous_status": "open"
}
}
{
"issue": 42,
"regression": 57
}
insufficient_scope for a scoped token without bugs.merge, or when either bug is hidden or pending_moderation (required_scopes: null). Otherwise {error}.POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Cannot merge with duplicate (either bug is a duplicate already), or Issues could not be merged (e.g. the other bug already points at another one).render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Cannot merge with duplicate"
}
agent_session_limit (another coding agent session is working on this account) or agent_write_cap (the agent token’s hourly cap on changes).retry_after.
{
"error": "agent_session_limit",
"message": "string",
"retry_after": 120,
"seats_url": "https://example.com"
}
merged_issue_id out of a merge: it gets previous_status back and loses its link. Send the undo values the merge answered. Needs bugs.merge (alias issues.merge). A scoped token undoes only a merge into this bug, needs the role’s permission to change a bug’s status (bugs.update), and cannot restore hidden or pending_moderation.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
scoped_id or g-{id}.
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -H "Content-Type: application/json" \ -d '{ "merged_issue_id": 57, "previous_status": "open" }' \ "https://app.betahub.io/projects/123/issues/g-123/undo_merge.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/undo_merge.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request["Content-Type"] = "application/json" request.body = { "merged_issue_id": 57, "previous_status": "open" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/undo_merge.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"}, json={ "merged_issue_id": 57, "previous_status": "open" } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/undo_merge.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123", "Content-Type": "application/json" }, body: JSON.stringify({ "merged_issue_id": 57, "previous_status": "open" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/undo_merge.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"merged_issue_id\":57,\"previous_status\":\"open\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"merged_issue_id": 57,
"previous_status": "open"
}
issue) and its status now.scoped_id, or g-{id} when it has none. Accepted wherever a path or body takes a bug id.
{
"issue": 57,
"status": "open"
}
insufficient_scope for a scoped token: without bugs.merge, without the role’s status permission, or for a hidden or pending_moderation bug or status (required_scopes: null). Otherwise {error}.POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
That bug is not merged into this one (scoped token), or Merge could not be undone (e.g. an invalid previous_status).render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
agent_session_limit (another coding agent session is working on this account) or agent_write_cap (the agent token’s hourly cap on changes).retry_after.
{
"error": "agent_session_limit",
"message": "string",
"retry_after": 120,
"seats_url": "https://example.com"
}
pending_moderation, with potential_duplicate set) becomes duplicate. When that original is resolved or closed, the bug is recorded as a regression of it instead. Answers the bug. Needs bugs.merge (alias issues.merge). A scoped token cannot use it on a hidden draft.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/mark_as_duplicate.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/mark_as_duplicate.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/mark_as_duplicate.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/mark_as_duplicate.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/mark_as_duplicate.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("POST", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
g-{id} form (e.g. /issues/g-12345), which this value is not. To build links use url (already fully-formed) or scoped_id — do not concatenate this id into a path.
g-{id} (see url) if you need a permanently stable identifier.
hidden, open, in_progress, resolved, closed, duplicate, pending_moderation, wont_fix, and needs_more_info, but a project may also define custom statuses — treat this as a free-form string.
status, resolved against the project’s (possibly custom) status names.
low, medium, high, critical, blocker. For issues created through SDK / FormUser tokens the priority is LLM-predicted and cannot be set on create (any submitted value is stripped); it is only settable by a developer via the update (PUT) endpoint.
issue[raw].
field_type: a string for text / single_select, a boolean for boolean, an array of strings for multi_select, and an object { client_map_id, x, y } for coordinates.
issue[extras][device_info] is submitted on create (see the create endpoint).
id and name are null unless the caller’s token carries reporter-visibility permission. Even when visible, name may be masked or replaced with a persona by the project’s team-identity settings.
status == 'duplicate', and for viewers who can moderate bugs when status == 'pending_moderation' (a report BetaHub thinks duplicates another, waiting for the team’s call: mark_as_duplicate or mark_as_new_bug); null otherwise. When present it is a full nested issue object with the same shape as this IssueResponse — describing the canonical issue this submission was merged into (your report was detected as a duplicate and folded into that existing issue), or for a pending report the one it may duplicate. The nested object is not expanded inline here to avoid a recursive schema; expect the same fields as a top-level issue. When the caller may not open that issue (another reporter’s bug on a project that isolates bugs, or a private project the caller is not a member of), it holds only id, scoped_id, title and url.
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falseissue.reported_by), NOT the screenshot’s uploader — the _screenshot.json.jbuilder view ignores the screenshot.user column. It is null only when the issue has no reporter. (The video/log/binary jbuilders differ: those DO use the uploader, resource.user.)
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsetrue only if the source is web-compatible AND under the organization’s max video length; otherwise a background job transcodes it first. Direct (presigned) uploads are marked processed=true immediately on confirm, without transcoding or a length check (see VideoClip model before_save).
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsedeveloper_private controls only whether this URL appears in the listing, not access to the URL once known.
falseheat the issue has reached. Null until heat is first calculated.
{
"id": 12345,
"scoped_id": 42,
"title": "string",
"description": "string",
"status": "open",
"status_display": "Open",
"priority": "high",
"discord_message": "string",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"score": "0.8542",
"raw": true,
"source": "string",
"custom_fields": [
{
"id": 325,
"ident": "location",
"name": "Location",
"field_type": "text",
"value": "string"
}
],
"steps_to_reproduce": [
{
"step": "string"
}
],
"device": {
"id": 0,
"device_type": "string",
"configuration": {}
},
"assigned_to": {
"id": 0,
"name": "string"
},
"reported_by": {
"id": 0,
"name": "string"
},
"potential_duplicate": {},
"screenshots": [
{
"id": 0,
"type": "screenshot",
"description": "string",
"size_bytes": 0,
"media_size_bytes": 0,
"content_type": "string",
"url": "https://example.com",
"filename": "string",
"layer_a_url": "https://example.com",
"layer_a_filename": "string",
"developer_private": true,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
],
"log_files": [
{
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "log_file",
"size_bytes": 0,
"content_type": "text/plain",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
}
}
],
"video_clips": [
{
"id": 0,
"type": "video_clip",
"processing": true,
"processed": true,
"failed": true,
"size_bytes": 0,
"media_size_bytes": 0,
"content_type": "string",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
],
"binary_files": [
{
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "binary_file",
"size_bytes": 0,
"content_type": "application/octet-stream",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
}
}
],
"url": "string",
"heat": 37,
"peak_heat": 52,
"token": "string",
"warnings": [
"string"
]
}
insufficient_scope for a scoped token without bugs.merge, or for a hidden bug (required_scopes: null). Otherwise {error}.POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
agent_session_limit (another coding agent session is working on this account) or agent_write_cap (the agent token’s hourly cap on changes).retry_after.
{
"error": "agent_session_limit",
"message": "string",
"retry_after": 120,
"seats_url": "https://example.com"
}
open and loses potential_duplicate. Answers the bug. Needs bugs.merge (alias issues.merge). A scoped token cannot use it on a hidden draft.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/mark_as_new_bug.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/mark_as_new_bug.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/mark_as_new_bug.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/mark_as_new_bug.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/mark_as_new_bug.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("POST", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
g-{id} form (e.g. /issues/g-12345), which this value is not. To build links use url (already fully-formed) or scoped_id — do not concatenate this id into a path.
g-{id} (see url) if you need a permanently stable identifier.
hidden, open, in_progress, resolved, closed, duplicate, pending_moderation, wont_fix, and needs_more_info, but a project may also define custom statuses — treat this as a free-form string.
status, resolved against the project’s (possibly custom) status names.
low, medium, high, critical, blocker. For issues created through SDK / FormUser tokens the priority is LLM-predicted and cannot be set on create (any submitted value is stripped); it is only settable by a developer via the update (PUT) endpoint.
issue[raw].
field_type: a string for text / single_select, a boolean for boolean, an array of strings for multi_select, and an object { client_map_id, x, y } for coordinates.
issue[extras][device_info] is submitted on create (see the create endpoint).
id and name are null unless the caller’s token carries reporter-visibility permission. Even when visible, name may be masked or replaced with a persona by the project’s team-identity settings.
status == 'duplicate', and for viewers who can moderate bugs when status == 'pending_moderation' (a report BetaHub thinks duplicates another, waiting for the team’s call: mark_as_duplicate or mark_as_new_bug); null otherwise. When present it is a full nested issue object with the same shape as this IssueResponse — describing the canonical issue this submission was merged into (your report was detected as a duplicate and folded into that existing issue), or for a pending report the one it may duplicate. The nested object is not expanded inline here to avoid a recursive schema; expect the same fields as a top-level issue. When the caller may not open that issue (another reporter’s bug on a project that isolates bugs, or a private project the caller is not a member of), it holds only id, scoped_id, title and url.
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falseissue.reported_by), NOT the screenshot’s uploader — the _screenshot.json.jbuilder view ignores the screenshot.user column. It is null only when the issue has no reporter. (The video/log/binary jbuilders differ: those DO use the uploader, resource.user.)
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsetrue only if the source is web-compatible AND under the organization’s max video length; otherwise a background job transcodes it first. Direct (presigned) uploads are marked processed=true immediately on confirm, without transcoding or a length check (see VideoClip model before_save).
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsedeveloper_private controls only whether this URL appears in the listing, not access to the URL once known.
falseheat the issue has reached. Null until heat is first calculated.
{
"id": 12345,
"scoped_id": 42,
"title": "string",
"description": "string",
"status": "open",
"status_display": "Open",
"priority": "high",
"discord_message": "string",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"score": "0.8542",
"raw": true,
"source": "string",
"custom_fields": [
{
"id": 325,
"ident": "location",
"name": "Location",
"field_type": "text",
"value": "string"
}
],
"steps_to_reproduce": [
{
"step": "string"
}
],
"device": {
"id": 0,
"device_type": "string",
"configuration": {}
},
"assigned_to": {
"id": 0,
"name": "string"
},
"reported_by": {
"id": 0,
"name": "string"
},
"potential_duplicate": {},
"screenshots": [
{
"id": 0,
"type": "screenshot",
"description": "string",
"size_bytes": 0,
"media_size_bytes": 0,
"content_type": "string",
"url": "https://example.com",
"filename": "string",
"layer_a_url": "https://example.com",
"layer_a_filename": "string",
"developer_private": true,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
],
"log_files": [
{
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "log_file",
"size_bytes": 0,
"content_type": "text/plain",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
}
}
],
"video_clips": [
{
"id": 0,
"type": "video_clip",
"processing": true,
"processed": true,
"failed": true,
"size_bytes": 0,
"media_size_bytes": 0,
"content_type": "string",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
],
"binary_files": [
{
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "binary_file",
"size_bytes": 0,
"content_type": "application/octet-stream",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
}
}
],
"url": "string",
"heat": 37,
"peak_heat": 52,
"token": "string",
"warnings": [
"string"
]
}
insufficient_scope for a scoped token without bugs.merge, or for a hidden bug (required_scopes: null). Otherwise {error}.POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
agent_session_limit (another coding agent session is working on this account) or agent_write_cap (the agent token’s hourly cap on changes).retry_after.
{
"error": "agent_session_limit",
"message": "string",
"retry_after": 120,
"seats_url": "https://example.com"
}
open, loses potential_duplicate, and BetaHub will not merge it automatically again. Answers the bug. Needs bugs.merge (alias issues.merge). A scoped token cannot use it on a hidden or pending_moderation bug.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/unmark_duplicate.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/unmark_duplicate.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/unmark_duplicate.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/unmark_duplicate.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/unmark_duplicate.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("POST", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
g-{id} form (e.g. /issues/g-12345), which this value is not. To build links use url (already fully-formed) or scoped_id — do not concatenate this id into a path.
g-{id} (see url) if you need a permanently stable identifier.
hidden, open, in_progress, resolved, closed, duplicate, pending_moderation, wont_fix, and needs_more_info, but a project may also define custom statuses — treat this as a free-form string.
status, resolved against the project’s (possibly custom) status names.
low, medium, high, critical, blocker. For issues created through SDK / FormUser tokens the priority is LLM-predicted and cannot be set on create (any submitted value is stripped); it is only settable by a developer via the update (PUT) endpoint.
issue[raw].
field_type: a string for text / single_select, a boolean for boolean, an array of strings for multi_select, and an object { client_map_id, x, y } for coordinates.
issue[extras][device_info] is submitted on create (see the create endpoint).
id and name are null unless the caller’s token carries reporter-visibility permission. Even when visible, name may be masked or replaced with a persona by the project’s team-identity settings.
status == 'duplicate', and for viewers who can moderate bugs when status == 'pending_moderation' (a report BetaHub thinks duplicates another, waiting for the team’s call: mark_as_duplicate or mark_as_new_bug); null otherwise. When present it is a full nested issue object with the same shape as this IssueResponse — describing the canonical issue this submission was merged into (your report was detected as a duplicate and folded into that existing issue), or for a pending report the one it may duplicate. The nested object is not expanded inline here to avoid a recursive schema; expect the same fields as a top-level issue. When the caller may not open that issue (another reporter’s bug on a project that isolates bugs, or a private project the caller is not a member of), it holds only id, scoped_id, title and url.
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falseissue.reported_by), NOT the screenshot’s uploader — the _screenshot.json.jbuilder view ignores the screenshot.user column. It is null only when the issue has no reporter. (The video/log/binary jbuilders differ: those DO use the uploader, resource.user.)
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsetrue only if the source is web-compatible AND under the organization’s max video length; otherwise a background job transcodes it first. Direct (presigned) uploads are marked processed=true immediately on confirm, without transcoding or a length check (see VideoClip model before_save).
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falsedeveloper_private controls only whether this URL appears in the listing, not access to the URL once known.
falseheat the issue has reached. Null until heat is first calculated.
{
"id": 12345,
"scoped_id": 42,
"title": "string",
"description": "string",
"status": "open",
"status_display": "Open",
"priority": "high",
"discord_message": "string",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"score": "0.8542",
"raw": true,
"source": "string",
"custom_fields": [
{
"id": 325,
"ident": "location",
"name": "Location",
"field_type": "text",
"value": "string"
}
],
"steps_to_reproduce": [
{
"step": "string"
}
],
"device": {
"id": 0,
"device_type": "string",
"configuration": {}
},
"assigned_to": {
"id": 0,
"name": "string"
},
"reported_by": {
"id": 0,
"name": "string"
},
"potential_duplicate": {},
"screenshots": [
{
"id": 0,
"type": "screenshot",
"description": "string",
"size_bytes": 0,
"media_size_bytes": 0,
"content_type": "string",
"url": "https://example.com",
"filename": "string",
"layer_a_url": "https://example.com",
"layer_a_filename": "string",
"developer_private": true,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
],
"log_files": [
{
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "log_file",
"size_bytes": 0,
"content_type": "text/plain",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
}
}
],
"video_clips": [
{
"id": 0,
"type": "video_clip",
"processing": true,
"processed": true,
"failed": true,
"size_bytes": 0,
"media_size_bytes": 0,
"content_type": "string",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
],
"binary_files": [
{
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "binary_file",
"size_bytes": 0,
"content_type": "application/octet-stream",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
}
}
],
"url": "string",
"heat": 37,
"peak_heat": 52,
"token": "string",
"warnings": [
"string"
]
}
insufficient_scope for a scoped token without bugs.merge, or for a hidden or pending_moderation bug (required_scopes: null). Otherwise {error}.POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
agent_session_limit (another coding agent session is working on this account) or agent_write_cap (the agent token’s hourly cap on changes).retry_after.
{
"error": "agent_session_limit",
"message": "string",
"retry_after": 120,
"seats_url": "https://example.com"
}
Sets one field on several bugs of the project: status, priority, release_id or assigned_to_id, the first of them sent in that order. All or nothing: if one bug fails, none changes. Needs bugs.bulk_update (alias issues.bulk_update). operation: delete deletes the bugs instead and also needs bugs.delete.
A scoped token cannot delete, cannot touch hidden or pending_moderation bugs, and cannot set either status. For an agent token every bug in issue_ids counts toward the hourly cap on changes; a change bigger than what is left of the hour is refused whole (429 agent_write_cap) and changes nothing.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
id values (the numeric primary key in IssueResponse, not scoped_id). Ids of other projects are skipped.
unassign to clear the assignee.
curl \ -X PATCH \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -H "Content-Type: application/json" \ -d '{ "issue_ids": [ 0 ], "status": "string", "priority": "low", "release_id": 0, "assigned_to_id": {}, "operation": "delete" }' \ "https://app.betahub.io/projects/123/issues/bulk_update.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/bulk_update.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Patch.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request["Content-Type"] = "application/json" request.body = { "issue_ids": [ 0 ], "status": "string", "priority": "low", "release_id": 0, "assigned_to_id": {}, "operation": "delete" } response = http.request(request) puts response.body
import requests response = requests.patch( "https://app.betahub.io/projects/123/issues/bulk_update.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"}, json={ "issue_ids": [ 0 ], "status": "string", "priority": "low", "release_id": 0, "assigned_to_id": {}, "operation": "delete" } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/bulk_update.json", { method: "PATCH", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123", "Content-Type": "application/json" }, body: JSON.stringify({ "issue_ids": [ 0 ], "status": "string", "priority": "low", "release_id": 0, "assigned_to_id": {}, "operation": "delete" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/bulk_update.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .PATCH(HttpRequest.BodyPublishers.ofString("{\"issue_ids\":[0],\"status\":\"string\",\"priority\":\"low\",\"release_id\":0,\"assigned_to_id\":{},\"operation\":\"delete\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"issue_ids": [
0
],
"status": "string",
"priority": "low",
"release_id": 0,
"assigned_to_id": {},
"operation": "delete"
}
{
"message": "Successfully updated status for 2 issues",
"updated_count": 2
}
insufficient_scope for a scoped token without bugs.bulk_update, for operation: delete, or for a hidden or pending_moderation bug or status (required_scopes: null). Otherwise {error}.POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}
{error}: No issues selected, No valid issues found, Invalid status, Invalid priority, Invalid release, No valid update parameters provided, or the validation message of the bug that failed.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
agent_session_limit (another coding agent session is working on this account) or agent_write_cap (the agent token’s hourly cap on changes).retry_after.
{
"error": "agent_session_limit",
"message": "string",
"retry_after": 120,
"seats_url": "https://example.com"
}
publish.
discord_id is NOT accepted (it was briefly, and has been removed — see set_contact_info).Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com" }' \ "https://app.betahub.io/projects/123/issues/g-123/set_reporter_email"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/set_reporter_email") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request["Content-Type"] = "application/json" request.body = { "email": "user@example.com" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/set_reporter_email", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"}, json={ "email": "user@example.com" } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/set_reporter_email", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123", "Content-Type": "application/json" }, body: JSON.stringify({ "email": "user@example.com" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/set_reporter_email")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"email\":\"user@example.com\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"email": "user@example.com"
}
{
"success": true,
"message": "string",
"issue_id": "string",
"reporter": {
"email": "string"
}
}
discord_id sent, or the issue is not a draft.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
publish — a published issue’s reporter can no longer be changed.
discord_id is no longer accepted. It resolved an identifier the caller had not proven they control onto whatever account already held it, and returned that account’s e-mail address. Attaching a Discord identity is still supported where it is proven: at issue creation (for projects with allow_discord_id_for_issues).Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com" }' \ "https://app.betahub.io/projects/123/issues/g-123/set_contact_info"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/set_contact_info") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request["Content-Type"] = "application/json" request.body = { "email": "user@example.com" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/set_contact_info", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"}, json={ "email": "user@example.com" } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/set_contact_info", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123", "Content-Type": "application/json" }, body: JSON.stringify({ "email": "user@example.com" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/set_contact_info")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"email\":\"user@example.com\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"email": "user@example.com"
}
{
"email": "reporter@example.com"
}
{
"success": true,
"message": "Contact information assigned successfully",
"issue_id": "1234abc",
"reporter": {
"email": "reporter@example.com"
}
}
discord_id is sent (no longer supported), or if the issue is not a draft.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Invalid email format"
}
{
"error": "email is required"
}
{
"error": "Contact information can only be set on a draft"
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -H "Content-Type: application/json" \ -d '{ "email_my_report": true }' \ "https://app.betahub.io/projects/123/issues/g-123/publish"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/publish") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request["Content-Type"] = "application/json" request.body = { "email_my_report": true } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/publish", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"}, json={ "email_my_report": true } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/publish", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123", "Content-Type": "application/json" }, body: JSON.stringify({ "email_my_report": true }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/publish")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"email_my_report\":true}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"email_my_report": true
}
{
"email_my_report": true
}
{
"success": true
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -H "Content-Type: application/json" \ -d '{ "what": "steps", "comment": "string" }' \ "https://app.betahub.io/projects/123/issues/g-123/ask_for_details"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/ask_for_details") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request["Content-Type"] = "application/json" request.body = { "what": "steps", "comment": "string" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/ask_for_details", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"}, json={ "what": "steps", "comment": "string" } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/ask_for_details", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123", "Content-Type": "application/json" }, body: JSON.stringify({ "what": "steps", "comment": "string" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/ask_for_details")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"what\":\"steps\",\"comment\":\"string\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"what": "steps",
"comment": "string"
}
{
"what": "steps",
"comment": "Could you please provide detailed steps to reproduce this issue?"
}
{
"success": true,
"message": "Request for steps sent to reporter"
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Invalid request type"
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/screenshots"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/screenshots") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/issues/g-123/screenshots", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/screenshots", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/screenshots")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
[
{
"id": 0,
"type": "screenshot",
"description": "string",
"size_bytes": 0,
"media_size_bytes": 0,
"content_type": "string",
"url": "https://example.com",
"filename": "string",
"layer_a_url": "https://example.com",
"layer_a_filename": "string",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
]
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Who may add files to the report:
Bearer {token}: the report’s own token, the token in the answer that created it. It works for one
hour after the report was created. This is what a game or a widget sends.Bearer {personal access token}, one with full access: its user reported the report or is a developer
of the project. A coding agent’s token is refused.FormUser header: for one hour after the report was created, only from the
IP address that created it. A FormUser token or JWT says who reports; it does not itself allow
adding files, and a report’s token inside a FormUser header does not count.| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
falsecurl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -F "screenshot[image]=@file.bin" \ -F "screenshot[name]=string" \ -F "screenshot[developer_private]=true" \ "https://app.betahub.io/projects/123/issues/g-123/screenshots"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/screenshots") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/screenshots", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/screenshots", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/screenshots")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"screenshot[image]\":\"string\",\"screenshot[name]\":\"string\",\"screenshot[developer_private]\":true}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"screenshot[image]": "string",
"screenshot[name]": "string",
"screenshot[developer_private]": true
}
{
"screenshot[image]": "(binary data representing an image)"
}
{
"id": "5678def",
"created_at": "2024-10-03T13:45:10Z",
"updated_at": "2024-10-03T13:45:10Z",
"status": "pending",
"description": "Screenshot showing the login screen crash.",
"issue_id": "1234abc"
}
PUT the raw file bytes to the returned direct_upload_url, replaying the
returned headers, before calling confirm_upload.Who may add files to the report:
Bearer {token}: the report’s own token, the token in the answer that created it. It works for one
hour after the report was created. This is what a game or a widget sends.Bearer {personal access token}, one with full access: its user reported the report or is a developer
of the project. A coding agent’s token is refused.FormUser header: for one hour after the report was created, only from the
IP address that created it. A FormUser token or JWT says who reports; it does not itself allow
adding files, and a report’s token inside a FormUser header does not count.| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "filename": "screenshot.png", "byte_size": 1048576, "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==", "content_type": "image/png", "name": "Player Death Screenshot" }' \ "https://app.betahub.io/projects/123/issues/g-123/screenshots/presigned_upload"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/screenshots/presigned_upload") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "filename": "screenshot.png", "byte_size": 1048576, "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==", "content_type": "image/png", "name": "Player Death Screenshot" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/screenshots/presigned_upload", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "filename": "screenshot.png", "byte_size": 1048576, "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==", "content_type": "image/png", "name": "Player Death Screenshot" } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/screenshots/presigned_upload", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "filename": "screenshot.png", "byte_size": 1048576, "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==", "content_type": "image/png", "name": "Player Death Screenshot" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/screenshots/presigned_upload")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"filename\":\"screenshot.png\",\"byte_size\":1048576,\"checksum\":\"1B2M2Y8AsgTpgAmY7PhCfg==\",\"content_type\":\"image/png\",\"name\":\"Player Death Screenshot\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"filename": "screenshot.png",
"byte_size": 1048576,
"checksum": "1B2M2Y8AsgTpgAmY7PhCfg==",
"content_type": "image/png",
"name": "Player Death Screenshot"
}
{
"blob_signed_id": "string",
"direct_upload_url": "https://example.com",
"headers": {
"key": "string"
},
"blob_id": 0
}
filename, byte_size, checksum, or content_type). Body is a flat { "error": "<message>" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{ "error": "<message>" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{ "error": "Internal server error" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Confirm that the file has been uploaded to S3 and attach it to the issue.
This is the final step of the three-step direct upload flow (see “Direct file upload flow” in the API overview).
Call it only after PUTting the file bytes to the direct_upload_url from presigned_upload. The 201
response is the raw attachment record (no download URL) — GET the media list endpoint to obtain url.
This endpoint has no HTML representation — it responds only to JSON and Turbo Stream, so a request with
Accept: text/html returns 406 Not Acceptable.
Who may add files to the report:
Bearer {token}: the report’s own token, the token in the answer that created it. It works for one
hour after the report was created. This is what a game or a widget sends.Bearer {personal access token}, one with full access: its user reported the report or is a developer
of the project. A coding agent’s token is refused.FormUser header: for one hour after the report was created, only from the
IP address that created it. A FormUser token or JWT says who reports; it does not itself allow
adding files, and a report’s token inside a FormUser header does not count.| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
falsecurl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "blob_signed_id": "string", "name": "Player Death Screenshot", "developer_private": true }' \ "https://app.betahub.io/projects/123/issues/g-123/screenshots/confirm_upload"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/screenshots/confirm_upload") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "blob_signed_id": "string", "name": "Player Death Screenshot", "developer_private": true } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/screenshots/confirm_upload", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "blob_signed_id": "string", "name": "Player Death Screenshot", "developer_private": true } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/screenshots/confirm_upload", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "blob_signed_id": "string", "name": "Player Death Screenshot", "developer_private": true }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/screenshots/confirm_upload")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"blob_signed_id\":\"string\",\"name\":\"Player Death Screenshot\",\"developer_private\":true}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"blob_signed_id": "string",
"name": "Player Death Screenshot",
"developer_private": true
}
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falseissue.reported_by), NOT the screenshot’s uploader — the _screenshot.json.jbuilder view ignores the screenshot.user column. It is null only when the issue has no reporter. (The video/log/binary jbuilders differ: those DO use the uploader, resource.user.)
{
"id": 0,
"type": "screenshot",
"description": "string",
"size_bytes": 0,
"media_size_bytes": 0,
"content_type": "string",
"url": "https://example.com",
"filename": "string",
"layer_a_url": "https://example.com",
"layer_a_filename": "string",
"developer_private": true,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
blob_signed_id parameter. Body is a flat { "error": "<message>" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
blob_signed_id signature is invalid/expired, or no blob was found for it. Body is a flat { "error": "<message>" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{ "error": "<message>" }; model-validation failures instead return { "errors": { "<field>": ["<message>"] } }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string | |
| id required | integer | The screenshot ID. |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/screenshots/123"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/screenshots/123") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/issues/g-123/screenshots/123", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/screenshots/123", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/screenshots/123")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
falseissue.reported_by), NOT the screenshot’s uploader — the _screenshot.json.jbuilder view ignores the screenshot.user column. It is null only when the issue has no reporter. (The video/log/binary jbuilders differ: those DO use the uploader, resource.user.)
{
"id": 0,
"type": "screenshot",
"description": "string",
"size_bytes": 0,
"media_size_bytes": 0,
"content_type": "string",
"url": "https://example.com",
"filename": "string",
"layer_a_url": "https://example.com",
"layer_a_filename": "string",
"developer_private": true,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
200 response is the raw ActiveRecord record.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string | |
| id required | integer | The screenshot ID. |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X PUT \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -H "Content-Type: application/json" \ -d '{ "screenshot": { "description": "string", "name": "string", "developer_private": true } }' \ "https://app.betahub.io/projects/123/issues/g-123/screenshots/123"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/screenshots/123") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Put.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request["Content-Type"] = "application/json" request.body = { "screenshot": { "description": "string", "name": "string", "developer_private": true } } response = http.request(request) puts response.body
import requests response = requests.put( "https://app.betahub.io/projects/123/issues/g-123/screenshots/123", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"}, json={ "screenshot": { "description": "string", "name": "string", "developer_private": true } } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/screenshots/123", { method: "PUT", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123", "Content-Type": "application/json" }, body: JSON.stringify({ "screenshot": { "description": "string", "name": "string", "developer_private": true } }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/screenshots/123")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .PUT(HttpRequest.BodyPublishers.ofString("{\"screenshot\":{\"description\":\"string\",\"name\":\"string\",\"developer_private\":true}}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"screenshot": {
"description": "string",
"name": "string",
"developer_private": true
}
}
{
"id": 0,
"issue_id": 0,
"status": 0,
"description": "string",
"media_size_bytes": 0,
"developer_private": true,
"user_id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z"
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
422). Unreliable and often absent — rely on the HTTP status line instead.
{
"error": "string",
"status": {},
"errors": {}
}
200 response is the raw ActiveRecord record (not the jbuilder shape — it has no url/type/filename).Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string | |
| id required | integer | The screenshot ID. |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X PATCH \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -H "Content-Type: application/json" \ -d '{ "screenshot": { "description": "string", "name": "string", "developer_private": true } }' \ "https://app.betahub.io/projects/123/issues/g-123/screenshots/123"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/screenshots/123") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Patch.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request["Content-Type"] = "application/json" request.body = { "screenshot": { "description": "string", "name": "string", "developer_private": true } } response = http.request(request) puts response.body
import requests response = requests.patch( "https://app.betahub.io/projects/123/issues/g-123/screenshots/123", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"}, json={ "screenshot": { "description": "string", "name": "string", "developer_private": true } } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/screenshots/123", { method: "PATCH", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123", "Content-Type": "application/json" }, body: JSON.stringify({ "screenshot": { "description": "string", "name": "string", "developer_private": true } }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/screenshots/123")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .PATCH(HttpRequest.BodyPublishers.ofString("{\"screenshot\":{\"description\":\"string\",\"name\":\"string\",\"developer_private\":true}}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"screenshot": {
"description": "string",
"name": "string",
"developer_private": true
}
}
{
"id": 0,
"issue_id": 0,
"status": 0,
"description": "string",
"media_size_bytes": 0,
"developer_private": true,
"user_id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z"
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
422). Unreliable and often absent — rely on the HTTP status line instead.
{
"error": "string",
"status": {},
"errors": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string | |
| id required | integer | The screenshot ID. |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X DELETE \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/screenshots/123"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/screenshots/123") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Delete.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.delete( "https://app.betahub.io/projects/123/issues/g-123/screenshots/123", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/screenshots/123", { method: "DELETE", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/screenshots/123")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("DELETE", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/log_files"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/log_files") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/issues/g-123/log_files", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/log_files", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/log_files")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
[
{
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "log_file",
"size_bytes": 0,
"content_type": "text/plain",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
}
}
]
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Upload a log file to an issue. Supports two methods:
Method 1: File upload — Send the file as multipart/form-data with log_file[file] field.
Method 2: Text content — Send log contents as a string via application/json,
application/x-www-form-urlencoded, or multipart/form-data using the log_file[contents] field.
The text will be stored as a .txt file. This is useful for clients that cannot perform file uploads
(e.g., game engines with limited HTTP support).
Both methods support the optional log_file[name] field to set a custom filename.
Automatic binary reclassification: if the uploaded content is detected as binary
(not text), it is stored as a binary file instead of a log file. In that case the
201 response is a BinaryFile record (rendered from binary_files/show), not a LogFile.
This is subject to the 10-binary-files-per-issue limit (exceeding it returns 422).
Asynchronous redaction: after creation, a background job scans the stored log for
configured sensitive-data patterns and redacts them in place. The file is initially
stored unredacted with redaction_status: pending; redaction happens shortly after and
is not reflected in this synchronous response.
Who may add files to the report:
Bearer {token}: the report’s own token, the token in the answer that created it. It works for one
hour after the report was created. This is what a game or a widget sends.Bearer {personal access token}, one with full access: its user reported the report or is a developer
of the project. A coding agent’s token is refused.FormUser header: for one hour after the report was created, only from the
IP address that created it. A FormUser token or JWT says who reports; it does not itself allow
adding files, and a report’s token inside a FormUser header does not count.| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
log_file[contents] is provided.
log_file[file] when file uploads are not possible. The text will be stored as a text/plain file.
falsetext/plain file.
falsefalsecurl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -F "log_file[file]=@file.bin" \ -F "log_file[contents]=@file.bin" \ -F "log_file[name]=@file.bin" \ -F "log_file[developer_private]=true" \ "https://app.betahub.io/projects/123/issues/g-123/log_files"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/log_files") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/log_files", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/log_files", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/log_files")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"log_file[file]\":\"string\",\"log_file[contents]\":\"string\",\"log_file[name]\":\"string\",\"log_file[developer_private]\":true}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"log_file[file]": "string",
"log_file[contents]": "string",
"log_file[name]": "string",
"log_file[developer_private]": true
}
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
false{
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "log_file",
"size_bytes": 0,
"content_type": "text/plain",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
}
}
422). Unreliable and often absent — rely on the HTTP status line instead.
{
"error": "string",
"status": {},
"errors": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
PUT the raw file bytes to the returned direct_upload_url, replaying the
returned headers, before calling confirm_upload.Who may add files to the report:
Bearer {token}: the report’s own token, the token in the answer that created it. It works for one
hour after the report was created. This is what a game or a widget sends.Bearer {personal access token}, one with full access: its user reported the report or is a developer
of the project. A coding agent’s token is refused.FormUser header: for one hour after the report was created, only from the
IP address that created it. A FormUser token or JWT says who reports; it does not itself allow
adding files, and a report’s token inside a FormUser header does not count.| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
application/octet-stream as a fallback for unrecognized types.
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "filename": "application.log", "byte_size": 2048000, "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==", "content_type": "text/plain", "name": "Debug Log" }' \ "https://app.betahub.io/projects/123/issues/g-123/log_files/presigned_upload"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/log_files/presigned_upload") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "filename": "application.log", "byte_size": 2048000, "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==", "content_type": "text/plain", "name": "Debug Log" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/log_files/presigned_upload", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "filename": "application.log", "byte_size": 2048000, "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==", "content_type": "text/plain", "name": "Debug Log" } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/log_files/presigned_upload", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "filename": "application.log", "byte_size": 2048000, "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==", "content_type": "text/plain", "name": "Debug Log" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/log_files/presigned_upload")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"filename\":\"application.log\",\"byte_size\":2048000,\"checksum\":\"1B2M2Y8AsgTpgAmY7PhCfg==\",\"content_type\":\"text/plain\",\"name\":\"Debug Log\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"filename": "application.log",
"byte_size": 2048000,
"checksum": "1B2M2Y8AsgTpgAmY7PhCfg==",
"content_type": "text/plain",
"name": "Debug Log"
}
{
"blob_signed_id": "string",
"direct_upload_url": "https://example.com",
"headers": {
"key": "string"
},
"blob_id": 0
}
filename, byte_size, checksum, or content_type). Body is a flat { "error": "<message>" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{ "error": "<message>" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{ "error": "Internal server error" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Confirm that the log file has been uploaded to S3 and attach it to the issue.
This is the final step of the three-step direct upload flow (see “Direct file upload flow” in the API overview).
Call it only after PUTting the file bytes to the direct_upload_url from presigned_upload. The 201
response is the raw attachment record (no download URL) — GET the media list endpoint to obtain url.
This endpoint has no HTML representation — it responds only to JSON and Turbo Stream, so a request with
Accept: text/html returns 406 Not Acceptable.
Automatic binary reclassification: if the confirmed blob is detected as binary, it is
stored as a binary file instead. In that case the 201 body is a wrapper object
{ "reclassified": true, "binary_file": { …BinaryFile jbuilder shape… } } rather than the raw
log-file record. This is subject to the 10-binary-files-per-issue limit (exceeding it returns 422).
Asynchronous redaction: after creation, a background job scans the stored log for configured
sensitive-data patterns and redacts them in place; the file is initially stored unredacted with
redaction_status: pending.
Who may add files to the report:
Bearer {token}: the report’s own token, the token in the answer that created it. It works for one
hour after the report was created. This is what a game or a widget sends.Bearer {personal access token}, one with full access: its user reported the report or is a developer
of the project. A coding agent’s token is refused.FormUser header: for one hour after the report was created, only from the
IP address that created it. A FormUser token or JWT says who reports; it does not itself allow
adding files, and a report’s token inside a FormUser header does not count.| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
falsecurl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "blob_signed_id": "string", "name": "Debug Log", "developer_private": true }' \ "https://app.betahub.io/projects/123/issues/g-123/log_files/confirm_upload"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/log_files/confirm_upload") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "blob_signed_id": "string", "name": "Debug Log", "developer_private": true } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/log_files/confirm_upload", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "blob_signed_id": "string", "name": "Debug Log", "developer_private": true } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/log_files/confirm_upload", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "blob_signed_id": "string", "name": "Debug Log", "developer_private": true }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/log_files/confirm_upload")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"blob_signed_id\":\"string\",\"name\":\"Debug Log\",\"developer_private\":true}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"blob_signed_id": "string",
"name": "Debug Log",
"developer_private": true
}
{ "reclassified": true, "binary_file": { … } }) instead of the raw log-file record.developer_private controls only whether this URL appears in the listing, not access to the URL once known.
false{id} (show) endpoints, rendered from the _binary_file.json.jbuilder view. NOTE: the confirm_upload 201 response instead returns the raw ActiveRecord record (integer id/issue_id/user_id, media_size_bytes, developer_private, timestamps) and does NOT include type, size_bytes, content_type, url, filename or the nested user object. GET the media list/show endpoint afterwards to obtain url.
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
false{
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "log_file",
"size_bytes": 0,
"content_type": "text/plain",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
},
"reclassified": true,
"binary_file": {
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "binary_file",
"size_bytes": 0,
"content_type": "application/octet-stream",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
}
}
}
blob_signed_id parameter. Body is a flat { "error": "<message>" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
blob_signed_id signature is invalid/expired, or no blob was found for it. Body is a flat { "error": "<message>" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{ "error": "<message>" }; model-validation failures instead return { "errors": { "<field>": ["<message>"] } }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string | |
| id required | integer | The log file ID. |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/log_files/123"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/log_files/123") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/issues/g-123/log_files/123", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/log_files/123", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/log_files/123")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
false{
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "log_file",
"size_bytes": 0,
"content_type": "text/plain",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string | |
| id required | integer | The log file ID. |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X DELETE \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/log_files/123"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/log_files/123") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Delete.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.delete( "https://app.betahub.io/projects/123/issues/g-123/log_files/123", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/log_files/123", { method: "DELETE", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/log_files/123")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("DELETE", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
302) to the file’s CDN (CloudFront) download URL. The redirect targets a different host, so clients must follow cross-origin redirects.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string | |
| id required | integer | The log file ID. |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/log_files/123/download"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/log_files/123/download") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/issues/g-123/log_files/123/download", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/log_files/123/download", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/log_files/123/download")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/binary_files"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/binary_files") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/issues/g-123/binary_files", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/binary_files", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/binary_files")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
[
{
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "binary_file",
"size_bytes": 0,
"content_type": "application/octet-stream",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
}
}
]
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Upload a binary file to an issue using multipart/form-data with binary_file[file] field.
The optional binary_file[name] field can be used to set a custom filename.
Who may add files to the report:
Bearer {token}: the report’s own token, the token in the answer that created it. It works for one
hour after the report was created. This is what a game or a widget sends.Bearer {personal access token}, one with full access: its user reported the report or is a developer
of the project. A coding agent’s token is refused.FormUser header: for one hour after the report was created, only from the
IP address that created it. A FormUser token or JWT says who reports; it does not itself allow
adding files, and a report’s token inside a FormUser header does not count.| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
falsecurl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -F "binary_file[file]=@file.bin" \ -F "binary_file[name]=@file.bin" \ -F "binary_file[developer_private]=true" \ "https://app.betahub.io/projects/123/issues/g-123/binary_files"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/binary_files") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/binary_files", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/binary_files", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/binary_files")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"binary_file[file]\":\"string\",\"binary_file[name]\":\"string\",\"binary_file[developer_private]\":true}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"binary_file[file]": "string",
"binary_file[name]": "string",
"binary_file[developer_private]": true
}
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
false{
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "binary_file",
"size_bytes": 0,
"content_type": "application/octet-stream",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
}
}
422). Unreliable and often absent — rely on the HTTP status line instead.
{
"error": "string",
"status": {},
"errors": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
PUT the raw file bytes to the returned direct_upload_url, replaying the
returned headers, before calling confirm_upload.Who may add files to the report:
Bearer {token}: the report’s own token, the token in the answer that created it. It works for one
hour after the report was created. This is what a game or a widget sends.Bearer {personal access token}, one with full access: its user reported the report or is a developer
of the project. A coding agent’s token is refused.FormUser header: for one hour after the report was created, only from the
IP address that created it. A FormUser token or JWT says who reports; it does not itself allow
adding files, and a report’s token inside a FormUser header does not count.| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
application/octet-stream.
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "filename": "crashdump.bin", "byte_size": 2048000, "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==", "content_type": "application/octet-stream", "name": "Crash Dump" }' \ "https://app.betahub.io/projects/123/issues/g-123/binary_files/presigned_upload"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/binary_files/presigned_upload") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "filename": "crashdump.bin", "byte_size": 2048000, "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==", "content_type": "application/octet-stream", "name": "Crash Dump" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/binary_files/presigned_upload", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "filename": "crashdump.bin", "byte_size": 2048000, "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==", "content_type": "application/octet-stream", "name": "Crash Dump" } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/binary_files/presigned_upload", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "filename": "crashdump.bin", "byte_size": 2048000, "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==", "content_type": "application/octet-stream", "name": "Crash Dump" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/binary_files/presigned_upload")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"filename\":\"crashdump.bin\",\"byte_size\":2048000,\"checksum\":\"1B2M2Y8AsgTpgAmY7PhCfg==\",\"content_type\":\"application/octet-stream\",\"name\":\"Crash Dump\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"filename": "crashdump.bin",
"byte_size": 2048000,
"checksum": "1B2M2Y8AsgTpgAmY7PhCfg==",
"content_type": "application/octet-stream",
"name": "Crash Dump"
}
{
"blob_signed_id": "string",
"direct_upload_url": "https://example.com",
"headers": {
"key": "string"
},
"blob_id": 0
}
filename, byte_size, checksum, or content_type). Body is a flat { "error": "<message>" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{ "error": "<message>" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{ "error": "Internal server error" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Confirm that the binary file has been uploaded to S3 and attach it to the issue.
This is the final step of the three-step direct upload flow (see “Direct file upload flow” in the API overview).
Call it only after PUTting the file bytes to the direct_upload_url from presigned_upload. The 201
response is the raw attachment record (no download URL) — GET the media list endpoint to obtain url.
This endpoint has no HTML representation — it responds only to JSON and Turbo Stream, so a request with
Accept: text/html returns 406 Not Acceptable.
Who may add files to the report:
Bearer {token}: the report’s own token, the token in the answer that created it. It works for one
hour after the report was created. This is what a game or a widget sends.Bearer {personal access token}, one with full access: its user reported the report or is a developer
of the project. A coding agent’s token is refused.FormUser header: for one hour after the report was created, only from the
IP address that created it. A FormUser token or JWT says who reports; it does not itself allow
adding files, and a report’s token inside a FormUser header does not count.| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
falsecurl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "blob_signed_id": "string", "name": "Crash Dump", "developer_private": true }' \ "https://app.betahub.io/projects/123/issues/g-123/binary_files/confirm_upload"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/binary_files/confirm_upload") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "blob_signed_id": "string", "name": "Crash Dump", "developer_private": true } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/binary_files/confirm_upload", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "blob_signed_id": "string", "name": "Crash Dump", "developer_private": true } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/binary_files/confirm_upload", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "blob_signed_id": "string", "name": "Crash Dump", "developer_private": true }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/binary_files/confirm_upload")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"blob_signed_id\":\"string\",\"name\":\"Crash Dump\",\"developer_private\":true}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"blob_signed_id": "string",
"name": "Crash Dump",
"developer_private": true
}
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
false{
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "binary_file",
"size_bytes": 0,
"content_type": "application/octet-stream",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
}
}
blob_signed_id parameter. Body is a flat { "error": "<message>" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
blob_signed_id signature is invalid/expired, or no blob was found for it. Body is a flat { "error": "<message>" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{ "error": "<message>" }; model-validation failures instead return { "errors": { "<field>": ["<message>"] } }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string | |
| id required | integer | The binary file ID. |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/binary_files/123"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/binary_files/123") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/issues/g-123/binary_files/123", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/binary_files/123", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/binary_files/123")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
false{
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"media_size_bytes": 0,
"type": "binary_file",
"size_bytes": 0,
"content_type": "application/octet-stream",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"user": {
"id": 0,
"name": "string"
}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string | |
| id required | integer | The binary file ID. |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X DELETE \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/binary_files/123"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/binary_files/123") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Delete.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.delete( "https://app.betahub.io/projects/123/issues/g-123/binary_files/123", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/binary_files/123", { method: "DELETE", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/binary_files/123")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("DELETE", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
302) to the file’s CDN (CloudFront) download URL. The redirect targets a different host, so clients must follow cross-origin redirects.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string | |
| id required | integer | The binary file ID. |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/binary_files/123/download"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/binary_files/123/download") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/issues/g-123/binary_files/123/download", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/binary_files/123/download", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/binary_files/123/download")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/video_clips"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/video_clips") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/issues/g-123/video_clips", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/video_clips", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/video_clips")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
[
{
"id": 0,
"type": "video_clip",
"processing": true,
"processed": true,
"failed": true,
"size_bytes": 0,
"media_size_bytes": 0,
"content_type": "string",
"url": "https://example.com",
"filename": "string",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
]
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Who may add files to the report:
Bearer {token}: the report’s own token, the token in the answer that created it. It works for one
hour after the report was created. This is what a game or a widget sends.Bearer {personal access token}, one with full access: its user reported the report or is a developer
of the project. A coding agent’s token is refused.FormUser header: for one hour after the report was created, only from the
IP address that created it. A FormUser token or JWT says who reports; it does not itself allow
adding files, and a report’s token inside a FormUser header does not count.| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
falsecurl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -F "video_clip[video]=@file.bin" \ -F "video_clip[name]=string" \ -F "video_clip[developer_private]=true" \ "https://app.betahub.io/projects/123/issues/g-123/video_clips"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/video_clips") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/video_clips", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/video_clips", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/video_clips")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"video_clip[video]\":\"string\",\"video_clip[name]\":\"string\",\"video_clip[developer_private]\":true}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"video_clip[video]": "string",
"video_clip[name]": "string",
"video_clip[developer_private]": true
}
{
"video_clip[video]": "(binary data representing a video file)"
}
{
"id": "1213jkl",
"issue_id": "1234abc",
"created_at": "2024-10-03T14:30:40Z",
"updated_at": "2024-10-03T14:30:40Z",
"processing": true,
"processed": false,
"failed": false
}
PUT the raw file bytes to the returned direct_upload_url, replaying the
returned headers, before calling confirm_upload.Who may add files to the report:
Bearer {token}: the report’s own token, the token in the answer that created it. It works for one
hour after the report was created. This is what a game or a widget sends.Bearer {personal access token}, one with full access: its user reported the report or is a developer
of the project. A coding agent’s token is refused.FormUser header: for one hour after the report was created, only from the
IP address that created it. A FormUser token or JWT says who reports; it does not itself allow
adding files, and a report’s token inside a FormUser header does not count.| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "filename": "gameplay.mp4", "byte_size": 52428800, "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==", "content_type": "video/mp4", "name": "Boss Fight Gameplay" }' \ "https://app.betahub.io/projects/123/issues/g-123/video_clips/presigned_upload"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/video_clips/presigned_upload") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "filename": "gameplay.mp4", "byte_size": 52428800, "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==", "content_type": "video/mp4", "name": "Boss Fight Gameplay" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/video_clips/presigned_upload", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "filename": "gameplay.mp4", "byte_size": 52428800, "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==", "content_type": "video/mp4", "name": "Boss Fight Gameplay" } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/video_clips/presigned_upload", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "filename": "gameplay.mp4", "byte_size": 52428800, "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==", "content_type": "video/mp4", "name": "Boss Fight Gameplay" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/video_clips/presigned_upload")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"filename\":\"gameplay.mp4\",\"byte_size\":52428800,\"checksum\":\"1B2M2Y8AsgTpgAmY7PhCfg==\",\"content_type\":\"video/mp4\",\"name\":\"Boss Fight Gameplay\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"filename": "gameplay.mp4",
"byte_size": 52428800,
"checksum": "1B2M2Y8AsgTpgAmY7PhCfg==",
"content_type": "video/mp4",
"name": "Boss Fight Gameplay"
}
{
"blob_signed_id": "string",
"direct_upload_url": "https://example.com",
"headers": {
"key": "string"
},
"blob_id": 0
}
filename, byte_size, checksum, or content_type). Body is a flat { "error": "<message>" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{ "error": "<message>" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{ "error": "Internal server error" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Confirm that the video file has been uploaded to S3 and attach it to the issue.
This is the final step of the three-step direct upload flow (see “Direct file upload flow” in the API overview).
Call it only after PUTting the file bytes to the direct_upload_url from presigned_upload. The 201
response is the raw attachment record (no download URL) — GET the media list endpoint to obtain url.
This endpoint has no HTML representation — it responds only to JSON and Turbo Stream, so a request with
Accept: text/html returns 406 Not Acceptable.
Who may add files to the report:
Bearer {token}: the report’s own token, the token in the answer that created it. It works for one
hour after the report was created. This is what a game or a widget sends.Bearer {personal access token}, one with full access: its user reported the report or is a developer
of the project. A coding agent’s token is refused.FormUser header: for one hour after the report was created, only from the
IP address that created it. A FormUser token or JWT says who reports; it does not itself allow
adding files, and a report’s token inside a FormUser header does not count.| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
falsecurl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "blob_signed_id": "string", "name": "Boss Fight Gameplay", "developer_private": true }' \ "https://app.betahub.io/projects/123/issues/g-123/video_clips/confirm_upload"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/video_clips/confirm_upload") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "blob_signed_id": "string", "name": "Boss Fight Gameplay", "developer_private": true } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/video_clips/confirm_upload", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "blob_signed_id": "string", "name": "Boss Fight Gameplay", "developer_private": true } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/video_clips/confirm_upload", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "blob_signed_id": "string", "name": "Boss Fight Gameplay", "developer_private": true }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/video_clips/confirm_upload")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"blob_signed_id\":\"string\",\"name\":\"Boss Fight Gameplay\",\"developer_private\":true}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"blob_signed_id": "string",
"name": "Boss Fight Gameplay",
"developer_private": true
}
true only if the source is web-compatible AND under the organization’s max video length; otherwise a background job transcodes it first. Direct (presigned) uploads are marked processed=true immediately on confirm, without transcoding or a length check (see VideoClip model before_save).
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
false{
"id": 0,
"type": "video_clip",
"processing": true,
"processed": true,
"failed": true,
"size_bytes": 0,
"media_size_bytes": 0,
"content_type": "string",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
blob_signed_id parameter. Body is a flat { "error": "<message>" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
blob_signed_id signature is invalid/expired, or no blob was found for it. Body is a flat { "error": "<message>" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{ "error": "<message>" }; model-validation failures instead return { "errors": { "<field>": ["<message>"] } }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string | |
| id required | integer | The video clip ID. |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/video_clips/123"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/video_clips/123") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/issues/g-123/video_clips/123", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/video_clips/123", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/video_clips/123")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
true only if the source is web-compatible AND under the organization’s max video length; otherwise a background job transcodes it first. Direct (presigned) uploads are marked processed=true immediately on confirm, without transcoding or a length check (see VideoClip model before_save).
developer_private controls only whether this URL appears in the listing, not access to the URL once known.
false{
"id": 0,
"type": "video_clip",
"processing": true,
"processed": true,
"failed": true,
"size_bytes": 0,
"media_size_bytes": 0,
"content_type": "string",
"url": "https://example.com",
"filename": "string",
"developer_private": true,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string | |
| id required | integer | The video clip ID. |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X DELETE \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issues/g-123/video_clips/123"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issues/g-123/video_clips/123") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Delete.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.delete( "https://app.betahub.io/projects/123/issues/g-123/video_clips/123", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/video_clips/123", { method: "DELETE", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/video_clips/123")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("DELETE", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Records a single client/SDK-side runtime event (a structured log line) against an issue. Intended for game clients and SDK integrations to attach diagnostic events to a report they own.
Authentication is a submission-form (SDK) FormUser token — the same Authorization: FormUser tkn-... credential used for submissions. The token must belong to the project named in the path; a token for a different project is rejected with 403, and a request that is not authenticated as a submission-form user is rejected with 401.
At most 100 client events may be stored per issue; once that cap is reached, further submissions fail validation with 422.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| issue_id required | string |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "client_event": { "level": "info", "message": "string", "event_type": "string", "metadata": {} } }' \ "https://app.betahub.io/projects/123/issues/g-123/client_events"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/issues/g-123/client_events") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "client_event": { "level": "info", "message": "string", "event_type": "string", "metadata": {} } } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/issues/g-123/client_events", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "client_event": { "level": "info", "message": "string", "event_type": "string", "metadata": {} } } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issues/g-123/client_events", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "client_event": { "level": "info", "message": "string", "event_type": "string", "metadata": {} } }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issues/g-123/client_events")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"client_event\":{\"level\":\"info\",\"message\":\"string\",\"event_type\":\"string\",\"metadata\":{}}}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"client_event": {
"level": "info",
"message": "string",
"event_type": "string",
"metadata": {}
}
}
created.
{
"id": 4821,
"status": "created"
}
{ "error": "Unauthorized" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{ "error": "Unauthorized" }.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
level, blank message, or the per-issue cap of 100 events reached). Body is { "errors": ["<full message>", ...] } — a flat array of full-message strings.422). Unreliable and often absent — rely on the HTTP status line instead.
{
"error": "string",
"status": {},
"errors": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| sort optional | string |
Sort order / view for feature requests. Any unrecognized value falls back to “top”. Public views: “top” sorts by votes descending, “new” by creation date, “team_picks” shows under_review/planned/started items, “completed” shows completed items, “all” shows all publicly visible items (combine with status to filter). Team-only views (served by moderation scopes gated on developer/admin access or the suggestions.moderate scope — NOT suggestions.update; callers lacking that get an empty set): “moderation” (pending moderation), “rejected”, “muted”, and “duplicates”.
top
new
team_picks
completed
all
moderation
rejected
muted
duplicates
Default:
top |
| status optional | string |
Filter by feature request status. Applies on top of the selected sort view (most relevant with sort=all). Accepts any FeatureRequest status (e.g. open, under_review, planned, started, completed, declined). Developer-only statuses (rejected, muted, duplicate, hidden, pending_moderation, split) are only honored for callers with the suggestions.update scope.
|
| created_after optional | string | Return feature requests created on or after this date (inclusive). |
| created_before optional | string | Return feature requests created on or before this date. A date-only value is treated as inclusive of the whole day. |
| updated_after optional | string | Return feature requests updated on or after this date (inclusive). |
| updated_before optional | string | Return feature requests updated on or before this date (inclusive of the whole day). |
| category_metric optional | string |
How category aggregates are measured for this listing. votes (default) weights categories by vote total; count weights by number of requests. Any other value falls back to votes.
votes
count
Default:
votes |
| per_page optional | integer |
Number of feature requests per page. Default is 25. Only the values 10, 25, 50, and 100 are honored; any other value falls back to 25. The chosen value is remembered in the session.
10
25
50
100
|
| page optional | integer | Page number for pagination (default: 1) |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/feature_requests.json?sort=top&status=example&created_after=example&created_before=example&updated_after=example&updated_before=example&category_metric=votes&per_page=10&page=123"
require "net/http" uri = URI("https://app.betahub.io/projects/123/feature_requests.json?sort=top&status=example&created_after=example&created_before=example&updated_after=example&updated_before=example&category_metric=votes&per_page=10&page=123") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/feature_requests.json?sort=top&status=example&created_after=example&created_before=example&updated_after=example&updated_before=example&category_metric=votes&per_page=10&page=123", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/feature_requests.json?sort=top&status=example&created_after=example&created_before=example&updated_after=example&updated_before=example&category_metric=votes&per_page=10&page=123", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/feature_requests.json?sort=top&status=example&created_after=example&created_before=example&updated_after=example&updated_before=example&category_metric=votes&per_page=10&page=123")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{id} path parameter, use the scoped_id field below (the obfuscated/project-scoped id).
{id} path parameter (e.g. “123” or “fr-456”). Always emitted.
GET .../feature_requests/{id}.json) this is ALWAYS false regardless of the caller — it only reflects the caller’s real vote state on the list and search endpoints.
is_duplicate is true.
null if the file is not attached.
warnings). Present on those create/update responses only when a custom-field value was silently dropped despite the 2xx status — e.g. a value exceeded the 4096-character cap, the 32-custom-fields-per-entity-type total was reached, or a field could not be auto-created. Clients that submit custom fields should inspect this array to detect partial data loss.
{
"feature_requests": [
{
"id": 0,
"scoped_id": "string",
"title": "string",
"description": "string",
"status": "open",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
},
"votes": 0,
"voted": true,
"is_duplicate": true,
"original_feature_request": {
"id": 0,
"title": "string",
"url": "string"
},
"duplicates_count": 0,
"url": "string",
"attachments": [
{}
],
"token": "string",
"warnings": [
"string"
]
}
],
"pagination": {
"current_page": 0,
"total_pages": 0,
"total_count": 0,
"per_page": 0
},
"sort": "string",
"project_id": 0
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Creates a new feature request (suggestion).
open status. Auto-moderation runs on submission, so a new request can land in pending_moderation (awaiting review) or muted (if the submitter is muted on this project). Callers with the suggestions.moderate scope bypass the queue and get open. Inspect the status field of the response rather than assuming open.multipart/form-data with a repeatable feature_request[files][] field (one entry per file).Idempotency-Key to retry safely: a repeat with the same key returns the saved suggestion with 201 and does not count against the token’s daily limit. A used submission token is still rejected before this check.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
| Idempotency-Key optional | string |
Unique value per submission, at most 255 characters. Keep it the same across retries of one submission.
max length: 255
|
suggestions.update scope (editors/admins), by the record owner, and by submission-form (GameFormUser / SDK) token clients. Only regular non-owner session users without the scope cannot set it.
suggestions.moderate scope; sets the status directly and skips auto-moderation. Ignored (stripped from permitted params) for everyone else.
FIELD_IDENT with the field’s identifier (e.g., feature_request[custom][category], feature_request[custom][priority_level]). See the issue creation endpoint documentation for details on field types, validation, JSON/array encoding, auto-creation of unknown fields (type text; hidden from testers on the game-SDK path; auto-creation stops once the project has 32 custom fields of that entity type total, and each value is capped at 4096 characters), and the top-level warnings partial-success array. IMPORTANT: custom fields (and the warnings array) are applied ONLY on submission-form / game-SDK submissions. For a regular authenticated session user the custom values are excluded from mass-assignment and silently dropped with no warnings emitted. Use the project’s Custom Fields settings to find available identifiers.
suggestions.update scope holders, the record owner, and submission-form (GameFormUser / SDK) token clients.
FIELD_IDENT with the field’s identifier.
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -H "Idempotency-Key: 123" \ -d "feature_request[description]=Example description" \ -d "feature_request[title]=Example title" \ -d "feature_request[status]=string" \ -d "feature_request[custom][FIELD_IDENT]=string" \ -d "draft=true" \ "https://app.betahub.io/projects/123/feature_requests.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/feature_requests.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request["Idempotency-Key"] = "123" request.set_form_data({ "feature_request[description]" => "Example description", "feature_request[title]" => "Example title", "feature_request[status]" => "string", "feature_request[custom][FIELD_IDENT]" => "string", "draft" => "true" }) response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/feature_requests.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123", "Idempotency-Key": "123"}, data={"feature_request[description]": "Example description", "feature_request[title]": "Example title", "feature_request[status]": "string", "feature_request[custom][FIELD_IDENT]": "string", "draft": "true"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/feature_requests.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123", "Idempotency-Key": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/feature_requests.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Idempotency-Key", "123") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"feature_request[description]\":\"string\",\"feature_request[title]\":\"string\",\"feature_request[status]\":\"string\",\"feature_request[custom][FIELD_IDENT]\":\"string\",\"draft\":true}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"feature_request[description]": "string",
"feature_request[title]": "string",
"feature_request[status]": "string",
"feature_request[custom][FIELD_IDENT]": "string",
"draft": true
}
{id} path parameter, use the scoped_id field below (the obfuscated/project-scoped id).
{id} path parameter (e.g. “123” or “fr-456”). Always emitted.
GET .../feature_requests/{id}.json) this is ALWAYS false regardless of the caller — it only reflects the caller’s real vote state on the list and search endpoints.
is_duplicate is true.
null if the file is not attached.
warnings). Present on those create/update responses only when a custom-field value was silently dropped despite the 2xx status — e.g. a value exceeded the 4096-character cap, the 32-custom-fields-per-entity-type total was reached, or a field could not be auto-created. Clients that submit custom fields should inspect this array to detect partial data loss.
{
"feature_request[description]": "Add a dark mode to the app"
}
{
"id": 1234,
"scoped_id": "fr-1234",
"title": "Add a dark mode to the app",
"description": "Add a dark mode to the app",
"status": "open",
"created_at": "2024-10-03T12:34:56Z",
"updated_at": "2024-10-03T12:34:56Z",
"user": {
"id": 34,
"name": "username#1234"
},
"votes": 1,
"voted": false,
"is_duplicate": false,
"duplicates_count": 0,
"url": "https://app.betahub.io/projects/1/feature_requests/fr-1234",
"attachments": []
}
Forbidden. The auth token cannot submit suggestions to this project. Causes include the token belonging to a different project, lacking the can_create_feature_request permission / exceeding its per-IP daily rate limit (default 8 per IP/day), or a required submission token (JWT) missing or invalid.
Distinct, OPPOSITE-meaning 403: the credentials are valid but the organization has exceeded its plan’s monthly submission quota for suggestions → error “This project is not currently accepting new suggestions. Please try again later.”
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Auth token does not belong to this project."
}
{
"error": "Auth token does not have permission to submit suggestions, or rate limit exceeded."
}
{
"error": "This project is not currently accepting new suggestions. Please try again later."
}
Unprocessable Entity. Returned for validation errors (e.g. missing required custom fields), when the reporter hits a per-project tester submission cap, or when a supplied submission token was already used.
Tester caps are per-project, per-reporter, applied over a rolling 24 hours and a rolling 7 days (both configurable per project; developers, support, org admins, and site admins are exempt): “You have reached your 24 hours limit for suggestion submissions.” (or “7 days”).
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "You have reached your 24 hours limit for suggestion submissions. You can submit again later."
}
{
"error": "Submission token has already been used. Please generate a new one."
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| query required | string | The search query string to match against feature request titles and descriptions |
| skip_ids optional | string | Comma-separated list of feature request IDs to exclude from results |
| partial optional | string |
When set to ‘true’, returns limited results optimized for autocomplete (max 4 results)
true
false
|
| scoped_id optional | string | Instead of searching, find a specific feature request by its scoped ID (e.g., “123” or “fr-456”) |
| sort optional | string |
Sort order for the JSON search results. Defaults to “top” (votes descending). Any value other than new/team_picks/completed also falls back to creation-date ordering.
top
new
team_picks
completed
Default:
top |
| page optional | integer |
Page number for the paginated JSON results (default: 1). The page size is fixed at 25; unlike the list endpoint, search does not accept a per_page parameter. Results are re-filtered to publicly visible, non-deleted requests after the full-text query, so the returned/total counts reflect that post-search visibility recount.
|
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/feature_requests/search.json?query=example&skip_ids=123&partial=true&scoped_id=123&sort=top&page=123"
require "net/http" uri = URI("https://app.betahub.io/projects/123/feature_requests/search.json?query=example&skip_ids=123&partial=true&scoped_id=123&sort=top&page=123") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/feature_requests/search.json?query=example&skip_ids=123&partial=true&scoped_id=123&sort=top&page=123", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/feature_requests/search.json?query=example&skip_ids=123&partial=true&scoped_id=123&sort=top&page=123", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/feature_requests/search.json?query=example&skip_ids=123&partial=true&scoped_id=123&sort=top&page=123")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{id} path parameter, use the scoped_id field below (the obfuscated/project-scoped id).
{id} path parameter (e.g. “123” or “fr-456”). Always emitted.
GET .../feature_requests/{id}.json) this is ALWAYS false regardless of the caller — it only reflects the caller’s real vote state on the list and search endpoints.
is_duplicate is true.
null if the file is not attached.
warnings). Present on those create/update responses only when a custom-field value was silently dropped despite the 2xx status — e.g. a value exceeded the 4096-character cap, the 32-custom-fields-per-entity-type total was reached, or a field could not be auto-created. Clients that submit custom fields should inspect this array to detect partial data loss.
{
"feature_requests": [
{
"id": 1234,
"scoped_id": "fr-1234",
"title": "Add dark mode support",
"status": "open",
"created_at": "2024-10-03T12:34:56Z"
}
],
"pagination": {
"current_page": 1,
"per_page": 25,
"total_pages": 2,
"total_count": 42
},
"sort": "top",
"project_id": 123
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| id required | string | The feature request ID or scoped ID |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/feature_requests/123.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/feature_requests/123.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/feature_requests/123.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/feature_requests/123.json", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/feature_requests/123.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{id} path parameter, use the scoped_id field below (the obfuscated/project-scoped id).
{id} path parameter (e.g. “123” or “fr-456”). Always emitted.
GET .../feature_requests/{id}.json) this is ALWAYS false regardless of the caller — it only reflects the caller’s real vote state on the list and search endpoints.
is_duplicate is true.
null if the file is not attached.
warnings). Present on those create/update responses only when a custom-field value was silently dropped despite the 2xx status — e.g. a value exceeded the 4096-character cap, the 32-custom-fields-per-entity-type total was reached, or a field could not be auto-created. Clients that submit custom fields should inspect this array to detect partial data loss.
{
"id": 0,
"scoped_id": "string",
"title": "string",
"description": "string",
"status": "open",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
},
"votes": 0,
"voted": true,
"is_duplicate": true,
"original_feature_request": {
"id": 0,
"title": "string",
"url": "string"
},
"duplicates_count": 0,
"url": "string",
"attachments": [
{
"id": 0,
"type": "attachment",
"filename": "string",
"original_filename": "string",
"url": "https://example.com",
"content_type": "string",
"file_type": "image",
"size_bytes": 0,
"display_order": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
],
"token": "string",
"warnings": [
"string"
]
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Changes a suggestion and answers it. Its author, or a caller with suggestions.update, may change title, description and custom_fields; status also needs suggestions.moderate (ignored without it).
A scoped token sets only status, to one of the public workflow (open, under_review, planned, started, completed, declined); anything else it sends is ignored. It needs suggestions.update and the role’s suggestions.moderate, and cannot change a hidden, muted or pending_moderation suggestion: the moderation queue has approve, reject and restore, duplicates have merge.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| id required | string | The feature request ID or scoped ID |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
open, under_review, planned, started, completed, declined.
null clears one. A field is named by its id, name or ident. Fields players cannot set are ignored unless the caller is a developer. Ignored for a scoped token.
curl \ -X PATCH \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -H "Content-Type: application/json" \ -d '{ "feature_request": { "status": "planned", "title": "string", "description": "string", "custom_fields": {} } }' \ "https://app.betahub.io/projects/123/feature_requests/123.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/feature_requests/123.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Patch.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request["Content-Type"] = "application/json" request.body = { "feature_request": { "status": "planned", "title": "string", "description": "string", "custom_fields": {} } } response = http.request(request) puts response.body
import requests response = requests.patch( "https://app.betahub.io/projects/123/feature_requests/123.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"}, json={ "feature_request": { "status": "planned", "title": "string", "description": "string", "custom_fields": {} } } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/feature_requests/123.json", { method: "PATCH", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123", "Content-Type": "application/json" }, body: JSON.stringify({ "feature_request": { "status": "planned", "title": "string", "description": "string", "custom_fields": {} } }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/feature_requests/123.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .PATCH(HttpRequest.BodyPublishers.ofString("{\"feature_request\":{\"status\":\"planned\",\"title\":\"string\",\"description\":\"string\",\"custom_fields\":{}}}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"feature_request": {
"status": "planned",
"title": "string",
"description": "string",
"custom_fields": {}
}
}
{id} path parameter, use the scoped_id field below (the obfuscated/project-scoped id).
{id} path parameter (e.g. “123” or “fr-456”). Always emitted.
GET .../feature_requests/{id}.json) this is ALWAYS false regardless of the caller — it only reflects the caller’s real vote state on the list and search endpoints.
is_duplicate is true.
null if the file is not attached.
warnings). Present on those create/update responses only when a custom-field value was silently dropped despite the 2xx status — e.g. a value exceeded the 4096-character cap, the 32-custom-fields-per-entity-type total was reached, or a field could not be auto-created. Clients that submit custom fields should inspect this array to detect partial data loss.
{
"id": 0,
"scoped_id": "string",
"title": "string",
"description": "string",
"status": "open",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
},
"votes": 0,
"voted": true,
"is_duplicate": true,
"original_feature_request": {
"id": 0,
"title": "string",
"url": "string"
},
"duplicates_count": 0,
"url": "string",
"attachments": [
{
"id": 0,
"type": "attachment",
"filename": "string",
"original_filename": "string",
"url": "https://example.com",
"content_type": "string",
"file_type": "image",
"size_bytes": 0,
"display_order": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
],
"token": "string",
"warnings": [
"string"
]
}
insufficient_scope for a scoped token without suggestions.update; with required_scopes: null when its role lacks suggestions.moderate, or for a hidden, muted or pending_moderation suggestion. Otherwise {error}.POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{error}: a scoped token’s status outside the public workflow (the message lists the allowed ones), or the validation messages.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "status must be one of: open, under_review, planned, started, completed, declined. To work the moderation queue use approve, reject or restore; for duplicates, merge."
}
agent_session_limit (another coding agent session is working on this account) or agent_write_cap (the agent token’s hourly cap on changes).retry_after.
{
"error": "agent_session_limit",
"message": "string",
"retry_after": 120,
"seats_url": "https://example.com"
}
publish — a published suggestion’s author can no longer be changed.
discord_id is no longer accepted. It resolved an identifier the caller had not proven they control onto whatever account already held it, and returned that account’s e-mail address.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| id required | string | The feature request ID or scoped ID |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com" }' \ "https://app.betahub.io/projects/123/feature_requests/123/set_contact_info"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/feature_requests/123/set_contact_info") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request["Content-Type"] = "application/json" request.body = { "email": "user@example.com" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/feature_requests/123/set_contact_info", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"}, json={ "email": "user@example.com" } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/feature_requests/123/set_contact_info", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123", "Content-Type": "application/json" }, body: JSON.stringify({ "email": "user@example.com" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/feature_requests/123/set_contact_info")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"email\":\"user@example.com\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"email": "user@example.com"
}
{
"success": true,
"message": "Contact information assigned successfully",
"feature_request_id": 1234,
"user": {
"email": "user@example.com"
}
}
discord_id sent (no longer supported), or the feature request is not a draft.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| id required | string | The feature request ID or scoped ID |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/feature_requests/123/publish"
require "net/http" uri = URI("https://app.betahub.io/projects/123/feature_requests/123/publish") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/feature_requests/123/publish", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/feature_requests/123/publish", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/feature_requests/123/publish")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("POST", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"success": true
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
open, visible to players. Answers the suggestion. Needs suggestions.moderate. A scoped token cannot use it on a hidden or muted suggestion.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| id required | string | The feature request ID or scoped ID |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/feature_requests/123/approve.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/feature_requests/123/approve.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/feature_requests/123/approve.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/feature_requests/123/approve.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/feature_requests/123/approve.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("POST", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{id} path parameter, use the scoped_id field below (the obfuscated/project-scoped id).
{id} path parameter (e.g. “123” or “fr-456”). Always emitted.
GET .../feature_requests/{id}.json) this is ALWAYS false regardless of the caller — it only reflects the caller’s real vote state on the list and search endpoints.
is_duplicate is true.
null if the file is not attached.
warnings). Present on those create/update responses only when a custom-field value was silently dropped despite the 2xx status — e.g. a value exceeded the 4096-character cap, the 32-custom-fields-per-entity-type total was reached, or a field could not be auto-created. Clients that submit custom fields should inspect this array to detect partial data loss.
{
"id": 0,
"scoped_id": "string",
"title": "string",
"description": "string",
"status": "open",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
},
"votes": 0,
"voted": true,
"is_duplicate": true,
"original_feature_request": {
"id": 0,
"title": "string",
"url": "string"
},
"duplicates_count": 0,
"url": "string",
"attachments": [
{
"id": 0,
"type": "attachment",
"filename": "string",
"original_filename": "string",
"url": "https://example.com",
"content_type": "string",
"file_type": "image",
"size_bytes": 0,
"display_order": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
],
"token": "string",
"warnings": [
"string"
]
}
insufficient_scope for a scoped token without suggestions.moderate, or for a hidden or muted suggestion (required_scopes: null). Otherwise {error}.POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{error}: the suggestion could not be saved.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
agent_session_limit (another coding agent session is working on this account) or agent_write_cap (the agent token’s hourly cap on changes).retry_after.
{
"error": "agent_session_limit",
"message": "string",
"retry_after": 120,
"seats_url": "https://example.com"
}
rejected, hidden from players. restore undoes it. Answers the suggestion. Needs suggestions.moderate. A scoped token cannot use it on a hidden or muted suggestion.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| id required | string | The feature request ID or scoped ID |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/feature_requests/123/reject.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/feature_requests/123/reject.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/feature_requests/123/reject.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/feature_requests/123/reject.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/feature_requests/123/reject.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("POST", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{id} path parameter, use the scoped_id field below (the obfuscated/project-scoped id).
{id} path parameter (e.g. “123” or “fr-456”). Always emitted.
GET .../feature_requests/{id}.json) this is ALWAYS false regardless of the caller — it only reflects the caller’s real vote state on the list and search endpoints.
is_duplicate is true.
null if the file is not attached.
warnings). Present on those create/update responses only when a custom-field value was silently dropped despite the 2xx status — e.g. a value exceeded the 4096-character cap, the 32-custom-fields-per-entity-type total was reached, or a field could not be auto-created. Clients that submit custom fields should inspect this array to detect partial data loss.
{
"id": 0,
"scoped_id": "string",
"title": "string",
"description": "string",
"status": "open",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
},
"votes": 0,
"voted": true,
"is_duplicate": true,
"original_feature_request": {
"id": 0,
"title": "string",
"url": "string"
},
"duplicates_count": 0,
"url": "string",
"attachments": [
{
"id": 0,
"type": "attachment",
"filename": "string",
"original_filename": "string",
"url": "https://example.com",
"content_type": "string",
"file_type": "image",
"size_bytes": 0,
"display_order": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
],
"token": "string",
"warnings": [
"string"
]
}
insufficient_scope for a scoped token without suggestions.moderate, or for a hidden or muted suggestion (required_scopes: null). Otherwise {error}.POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{error}: the suggestion could not be saved.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
agent_session_limit (another coding agent session is working on this account) or agent_write_cap (the agent token’s hourly cap on changes).retry_after.
{
"error": "agent_session_limit",
"message": "string",
"retry_after": 120,
"seats_url": "https://example.com"
}
pending_moderation. Answers the suggestion. Needs suggestions.moderate. A scoped token cannot use it on a hidden or muted suggestion.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| id required | string | The feature request ID or scoped ID |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/feature_requests/123/restore.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/feature_requests/123/restore.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/feature_requests/123/restore.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/feature_requests/123/restore.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/feature_requests/123/restore.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("POST", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{id} path parameter, use the scoped_id field below (the obfuscated/project-scoped id).
{id} path parameter (e.g. “123” or “fr-456”). Always emitted.
GET .../feature_requests/{id}.json) this is ALWAYS false regardless of the caller — it only reflects the caller’s real vote state on the list and search endpoints.
is_duplicate is true.
null if the file is not attached.
warnings). Present on those create/update responses only when a custom-field value was silently dropped despite the 2xx status — e.g. a value exceeded the 4096-character cap, the 32-custom-fields-per-entity-type total was reached, or a field could not be auto-created. Clients that submit custom fields should inspect this array to detect partial data loss.
{
"id": 0,
"scoped_id": "string",
"title": "string",
"description": "string",
"status": "open",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
},
"votes": 0,
"voted": true,
"is_duplicate": true,
"original_feature_request": {
"id": 0,
"title": "string",
"url": "string"
},
"duplicates_count": 0,
"url": "string",
"attachments": [
{
"id": 0,
"type": "attachment",
"filename": "string",
"original_filename": "string",
"url": "https://example.com",
"content_type": "string",
"file_type": "image",
"size_bytes": 0,
"display_order": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"user": {
"id": 0,
"name": "string"
}
}
],
"token": "string",
"warnings": [
"string"
]
}
insufficient_scope for a scoped token without suggestions.moderate, or for a hidden or muted suggestion (required_scopes: null). Otherwise {error}.POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{error}: the suggestion could not be saved.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
agent_session_limit (another coding agent session is working on this account) or agent_write_cap (the agent token’s hourly cap on changes).retry_after.
{
"error": "agent_session_limit",
"message": "string",
"retry_after": 120,
"seats_url": "https://example.com"
}
merge_with_id a duplicate of this one (its own duplicates move along) and answers how to undo it: undo_merge on this suggestion with the undo values. Needs suggestions.update. A scoped token cannot merge a hidden or muted suggestion.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| id required | string | The feature request ID or scoped ID |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
scoped_id or g-{id}.
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -H "Content-Type: application/json" \ -d '{ "merge_with_id": 18 }' \ "https://app.betahub.io/projects/123/feature_requests/123/merge.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/feature_requests/123/merge.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request["Content-Type"] = "application/json" request.body = { "merge_with_id": 18 } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/feature_requests/123/merge.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"}, json={ "merge_with_id": 18 } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/feature_requests/123/merge.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123", "Content-Type": "application/json" }, body: JSON.stringify({ "merge_with_id": 18 }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/feature_requests/123/merge.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"merge_with_id\":18}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"merge_with_id": 18
}
scoped_id, or g-{id} when it has none. Accepted wherever a path or body takes a suggestion id.
scoped_id, or g-{id} when it has none. Accepted wherever a path or body takes a suggestion id.
undo_merge on this suggestion.
scoped_id, or g-{id} when it has none. Accepted wherever a path or body takes a suggestion id.
{
"suggestion": 7,
"merged_suggestion": 18,
"undo": {
"merged_feature_request_id": 18,
"previous_status": "open"
}
}
insufficient_scope for a scoped token without suggestions.update, or when either suggestion is hidden or muted (required_scopes: null). Otherwise {error}, e.g. this suggestion is itself a duplicate.POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Cannot merge with duplicate (the other suggestion is a duplicate already), or Suggestions could not be merged (e.g. it points at another one, or waits for moderation).render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
agent_session_limit (another coding agent session is working on this account) or agent_write_cap (the agent token’s hourly cap on changes).retry_after.
{
"error": "agent_session_limit",
"message": "string",
"retry_after": 120,
"seats_url": "https://example.com"
}
merged_feature_request_id out of a merge: it gets previous_status back and loses its link. Send the undo values the merge answered. Needs suggestions.update. A scoped token undoes only a merge into this suggestion, needs the role’s suggestions.moderate, and cannot restore hidden or muted.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| id required | string | The feature request ID or scoped ID |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
scoped_id or g-{id}.
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -H "Content-Type: application/json" \ -d '{ "merged_feature_request_id": 18, "previous_status": "open" }' \ "https://app.betahub.io/projects/123/feature_requests/123/undo_merge.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/feature_requests/123/undo_merge.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request["Content-Type"] = "application/json" request.body = { "merged_feature_request_id": 18, "previous_status": "open" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/feature_requests/123/undo_merge.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"}, json={ "merged_feature_request_id": 18, "previous_status": "open" } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/feature_requests/123/undo_merge.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123", "Content-Type": "application/json" }, body: JSON.stringify({ "merged_feature_request_id": 18, "previous_status": "open" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/feature_requests/123/undo_merge.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"merged_feature_request_id\":18,\"previous_status\":\"open\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"merged_feature_request_id": 18,
"previous_status": "open"
}
suggestion) and its status now.scoped_id, or g-{id} when it has none. Accepted wherever a path or body takes a suggestion id.
{
"suggestion": 18,
"status": "open"
}
insufficient_scope for a scoped token: without suggestions.update; with required_scopes: null when its role lacks suggestions.moderate, or for a hidden or muted suggestion or status. Otherwise {error}.POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
That suggestion is not merged into this one (scoped token), or Merge could not be undone.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
agent_session_limit (another coding agent session is working on this account) or agent_write_cap (the agent token’s hourly cap on changes).retry_after.
{
"error": "agent_session_limit",
"message": "string",
"retry_after": 120,
"seats_url": "https://example.com"
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| query optional | string |
The search query string to match against ticket titles and descriptions. Not enforced server-side: omitting it or sending a blank value returns HTTP 200 with an empty array [] rather than an error.
|
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/tickets/search.json?query=example"
require "net/http" uri = URI("https://app.betahub.io/projects/123/tickets/search.json?query=example") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/tickets/search.json?query=example", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/tickets/search.json?query=example", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/tickets/search.json?query=example")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
[
{
"id": 123,
"title": "Cannot access user settings"
},
{
"id": 456,
"title": "Password reset not working"
}
]
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Support tickets are not enabled for this project. Ask the server administrator to enable them."
}
Creates a new support ticket for a project. Support tickets are used for customer support, help requests, and technical assistance.
ticket[reporter_email] in form data so the reporter can be notified about the ticket and its replies.ticket[reporter_email] in form data. Anonymous ticket creation without contact info is not allowed.
multipart/form-data only when attaching files — a JSON body works for text-only tickets.application/json with a nested {"ticket": {"description": "...", "custom": {...}}} body for text-only tickets, or multipart/form-data (with bracketed keys like ticket[description]) when attaching files.ticket[description] has a minimum length of 30 characters. ticket[priority] requires the tickets.update permission (developers/support/admins); it is silently ignored for reporters and SDK tokens. If ticket[title] is omitted, an LLM generates the title from the description AND also sets the priority, overwriting any ticket[priority] you supplied. To keep an explicit priority, you MUST send a ticket[title] (this skips the LLM entirely).FormUser tkn-{token},{jwt}. Missing/invalid/already-consumed tokens are rejected with 403 (see responses below).Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
tickets.update permission (developers/support/admins); silently ignored for reporters and SDK tokens.
FIELD_IDENT with the field’s identifier (e.g., ticket[custom][platform], ticket[custom][priority_level]). See the issue creation endpoint documentation for details on field types, validation, JSON/array encoding, auto-creation of unknown fields (type text; hidden from testers on the game-SDK path; auto-creation stops once the project has 32 custom fields of that entity type total, and each value is capped at 4096 characters), and the top-level warnings partial-success array — the same custom-field behavior applies to tickets. Use the project’s Custom Fields settings to find available identifiers.
tickets.update permission (developers/support/admins); silently ignored for reporters and SDK tokens.
{"platform": "windows"}). Same behavior as the multipart ticket[custom][FIELD_IDENT] parameter.
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -F "ticket[description]=Example description" \ -F "ticket[title]=Example title" \ -F "ticket[priority]=low" \ -F "ticket[attachments][]=string" \ "https://app.betahub.io/projects/123/tickets.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/tickets.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/tickets.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/tickets.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/tickets.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"ticket[description]\":\"string\",\"ticket[title]\":\"string\",\"ticket[priority]\":\"low\",\"ticket[attachments][]\":[\"string\"],\"ticket[custom][FIELD_IDENT]\":\"string\",\"ticket[reporter_email]\":\"user@example.com\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"ticket[description]": "string",
"ticket[title]": "string",
"ticket[priority]": "low",
"ticket[attachments][]": [
"string"
],
"ticket[custom][FIELD_IDENT]": "string",
"ticket[reporter_email]": "user@example.com"
}
{id} path parameter is looked up by the ticket’s project-scoped id, NOT by this primary key — so passing this returned id directly as {id} will 404 (or match a different ticket) unless the scoped_id happens to equal the primary key. To reference a ticket by this primary-key id, prefix it with g- (e.g. g-123); a bare number always references the project-scoped id.
null. When the ticket is unassigned, both id and name are null (i.e. {"id": null, "name": null}). Do not test the object itself against null; check assigned_to.id.
null when unassigned.
null when unassigned. May be an identity-masked placeholder when the project hides team identities from players.
null if the file is not attached.
{
"ticket[description]": "I need help resetting my password"
}
{
"id": 123,
"title": "Password reset assistance needed",
"description": "I need help resetting my password",
"status": "new",
"priority": "high",
"created_at": "2024-10-06T10:00:00Z",
"updated_at": "2024-10-06T10:00:00Z",
"reporter": {
"id": 456,
"name": "John Doe"
},
"assigned_to": {
"id": null,
"name": null
},
"url": "https://app.betahub.io/projects/1/tickets/123",
"attachments": []
}
Unprocessable Entity. Returned for validation errors, when a required contact email is missing, when support tickets are not enabled for the project, when the reporter hits a per-project tester submission cap, or when a supplied submission token was already used.
Tester caps are per-project, per-reporter, applied over a rolling 24 hours and a rolling 7 days (both configurable per project; developers, support, org admins, and site admins are exempt): “You have reached your 24 hours limit for ticket submissions.” (or “7 days”).
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Description can't be blank"
}
{
"error": "Description is too short (minimum is 30 characters)"
}
{
"error": "Email address is required for support tickets"
}
{
"error": "Invalid email format"
}
{
"error": "Support tickets are not enabled for this project. Ask the server administrator to enable them."
}
{
"error": "You have reached your 24 hours limit for ticket submissions. You can submit again later."
}
{
"error": "Submission token has already been used. Please generate a new one."
}
Forbidden. Real causes include: the token lacks the can_create_ticket permission or has exceeded its can_create_ticket_limit_per_day (default 8 per IP/day) → error “Not allowed to create a ticket.”; the token belongs to a different project; or a required submission token (JWT) is missing or invalid.
Distinct, OPPOSITE-meaning 403: the credentials are valid but the organization has exceeded its plan’s monthly submission quota for tickets → error “This project is not currently accepting new support tickets. Please try again later.”
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Not allowed to create a ticket."
}
{
"error": "Submission token is required for this auth token. Generate one via the API."
}
{
"error": "This project is not currently accepting new support tickets. Please try again later."
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| id required | string | The ticket ID. Can be a numeric ID or scoped ID format. |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/tickets/123.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/tickets/123.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/tickets/123.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/tickets/123.json", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/tickets/123.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{id} path parameter is looked up by the ticket’s project-scoped id, NOT by this primary key — so passing this returned id directly as {id} will 404 (or match a different ticket) unless the scoped_id happens to equal the primary key. To reference a ticket by this primary-key id, prefix it with g- (e.g. g-123); a bare number always references the project-scoped id.
null. When the ticket is unassigned, both id and name are null (i.e. {"id": null, "name": null}). Do not test the object itself against null; check assigned_to.id.
null when unassigned.
null when unassigned. May be an identity-masked placeholder when the project hides team identities from players.
null if the file is not attached.
{
"id": 123,
"title": "Password reset assistance needed",
"description": "I need help resetting my password",
"status": "open",
"priority": "high",
"created_at": "2024-10-06T10:00:00Z",
"updated_at": "2024-10-06T10:30:00Z",
"reporter": {
"id": 456,
"name": "John Doe"
},
"assigned_to": {
"id": 789,
"name": "Support Agent"
},
"url": "https://app.betahub.io/projects/1/tickets/123",
"attachments": [
{
"id": 101,
"type": "attachment",
"filename": "screenshot.png",
"original_filename": "screenshot.png",
"url": "https://cdn.betahub.io/attachments/101/screenshot.png",
"content_type": "image/png",
"file_type": "image",
"size_bytes": 245678,
"display_order": 0,
"user": {
"id": 456,
"name": "John Doe"
}
}
]
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Support tickets are not enabled for this project. Ask the server administrator to enable them."
}
Updates an existing support ticket with new information. This endpoint supports comprehensive ticket management including:
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| id required | string | The ticket ID. Can be a numeric ID or scoped ID format. |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
tickets.update scope) may change status; reporters cannot.
tickets.update permission (developers/support/admins); silently ignored for reporters.
tickets.update permission (developers/support/admins); silently ignored for reporters. The user must be a member of the project, otherwise the request fails with 422.
curl \ -X PATCH \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -F "ticket[title]=Example title" \ -F "ticket[description]=Example description" \ -F "ticket[status]=new" \ -F "ticket[priority]=low" \ "https://app.betahub.io/projects/123/tickets/123.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/tickets/123.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Patch.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.patch( "https://app.betahub.io/projects/123/tickets/123.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/tickets/123.json", { method: "PATCH", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/tickets/123.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .PATCH(HttpRequest.BodyPublishers.ofString("{\"ticket[title]\":\"string\",\"ticket[description]\":\"string\",\"ticket[status]\":\"new\",\"ticket[priority]\":\"low\",\"ticket[assigned_to_id]\":\"string\",\"ticket[attachments][]\":[\"string\"],\"ticket[remove_attachment_ids][]\":[\"string\"]}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"ticket[title]": "string",
"ticket[description]": "string",
"ticket[status]": "new",
"ticket[priority]": "low",
"ticket[assigned_to_id]": "string",
"ticket[attachments][]": [
"string"
],
"ticket[remove_attachment_ids][]": [
"string"
]
}
{id} path parameter is looked up by the ticket’s project-scoped id, NOT by this primary key — so passing this returned id directly as {id} will 404 (or match a different ticket) unless the scoped_id happens to equal the primary key. To reference a ticket by this primary-key id, prefix it with g- (e.g. g-123); a bare number always references the project-scoped id.
null. When the ticket is unassigned, both id and name are null (i.e. {"id": null, "name": null}). Do not test the object itself against null; check assigned_to.id.
null when unassigned.
null when unassigned. May be an identity-masked placeholder when the project hides team identities from players.
null if the file is not attached.
{
"ticket[status]": "solved",
"ticket[description]": "Issue resolved - password reset email sent"
}
{
"id": 123,
"title": "Password reset assistance needed",
"description": "Issue resolved - password reset email sent",
"status": "solved",
"priority": "high",
"created_at": "2024-10-06T10:00:00Z",
"updated_at": "2024-10-06T11:00:00Z",
"reporter": {
"id": 456,
"name": "John Doe"
},
"assigned_to": {
"id": 789,
"name": "Support Agent"
},
"url": "https://app.betahub.io/projects/1/tickets/123",
"attachments": []
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Description can't be blank"
}
{
"error": "Description is too short (minimum is 30 characters)"
}
{
"error": "Status cannot be manually set to 'new'"
}
{
"error": "Status can only be set to 'open' from 'closed'"
}
{
"error": "Status cannot mark as awaiting feedback - the last comment must be from a team member, not the reporter"
}
{
"error": "Support tickets are not enabled for this project. Ask the server administrator to enable them."
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
show_drafts parameter (developers only) to include draft releases, or show_archived to include archived releases.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| sort optional | string |
Sort order by creation date. asc for oldest first (default), desc for newest first.
asc
desc
Default:
asc |
| show_drafts optional | string |
Include draft releases in the response. Only project developers can view drafts. Set to true to show draft releases. This parameter is ignored for non-developers.
true
false
Default:
false |
| show_archived optional | string |
Include archived releases in the response. Set to true to show archived releases.
true
false
Default:
false |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/releases.json?sort=asc&show_drafts=false&show_archived=false"
require "net/http" uri = URI("https://app.betahub.io/projects/123/releases.json?sort=asc&show_drafts=false&show_archived=false") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/releases.json?sort=asc&show_drafts=false&show_archived=false", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/releases.json?sort=asc&show_drafts=false&show_archived=false", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/releases.json?sort=asc&show_drafts=false&show_archived=false")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
[
{
"id": 123,
"project_id": 1,
"label": "v1.0.0",
"summary": "Initial release",
"description": "First stable version of our game",
"status": "published",
"active": true,
"release_type": "regular",
"download_link": "https://example.com/download/game-v1.0.0-windows.zip",
"platforms": [
"windows",
"macos"
],
"dynamically_created": false,
"created_at": "2024-10-03T12:34:56Z",
"updated_at": "2024-10-03T12:34:56Z"
}
]
can_read_release_list permission enabled; otherwise the list request is rejected.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Creates a new release for a project. Releases contain download links, attachments, and metadata about a version of the project. By default, releases are created as published and trigger notifications to project members. Use release[status]=draft to create a draft release that can be edited before publishing, or release[auto_publish_at] to schedule it: the release is created as a draft and goes live on its own at that time.
Two authentication modes are accepted: a signed-in session with the project.releases.manage scope (a project developer / organization admin), or a project (FormUser) auth token that has the can_create_release permission enabled. Other callers — anonymous, read-only tokens, or tokens lacking can_create_release — receive 403 Forbidden. This permission grants creation only; updating, publishing, archiving, restoring, and deleting releases still require a signed-in session (or a personal access token) with the project.releases.manage scope.
Coding agents. An agent with “Read and work” in the project’s organization creates releases without telling players: a draft by default, or published or scheduled silently. It may send label, summary, description, release_type, platforms, status, auto_publish_at and download_links_attributes (platform, http(s) url). Asking to announce, sending anything else, a second link for a platform, or a deactivated project answers 422 (AgentReleaseRefusal). Its answers add url and download_links.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
regular for minor updates, major for significant new features, hotfix for critical bug fixes. Affects the notification style. Defaults to regular.
regularwindows, macos, linux). Sent as repeated release[platforms][] form fields. Blank values are stripped server-side.
draft to create a draft release that is only visible to developers and does not trigger notifications. Set to published (default) to publish immediately and notify project members. When release[auto_publish_at] is given, omit this (the release becomes a draft); an explicit published together with a schedule is rejected with 422.
published2026-09-29T14:00:00+02:00); a value without an offset is read in the caller’s timezone (UTC for token callers).
true when the release has a description, false when it does not.
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -F "release[label]=string" \ -F "release[summary]=string" \ -F "release[description]=Example description" \ -F "release[release_type]=regular" \ "https://app.betahub.io/projects/123/releases.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/releases.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/releases.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/releases.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/releases.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"release[label]\":\"string\",\"release[summary]\":\"string\",\"release[description]\":\"string\",\"release[release_type]\":\"regular\",\"release[platforms][]\":[\"string\"],\"release[send_images_separately]\":true,\"release[attachments]\":[\"string\"],\"release[download_links_attributes]\":[{\"platform\":\"string\",\"url\":\"https://example.com\",\"link_enabled\":true,\"choose_previous_link\":true}],\"release[status]\":\"draft\",\"release[auto_publish_at]\":\"2026-03-12T10:30:00Z\",\"release[auto_publish_announce]\":true}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"release[label]": "string",
"release[summary]": "string",
"release[description]": "string",
"release[release_type]": "regular",
"release[platforms][]": [
"string"
],
"release[send_images_separately]": true,
"release[attachments]": [
"string"
],
"release[download_links_attributes]": [
{
"platform": "string",
"url": "https://example.com",
"link_enabled": true,
"choose_previous_link": true
}
],
"release[status]": "draft",
"release[auto_publish_at]": "2026-03-12T10:30:00Z",
"release[auto_publish_announce]": true
}
123 — not a prefixed string).
download_link column). Null when no link is set. Note this is a singular string column — there is no per-platform download_links array.
["windows", "macos"]). May be null when unset.
release_label on issue submission) rather than created explicitly through the releases UI/API.
draft; BetaHub publishes it within a minute of this time and clears the field. Null when the release is not scheduled.
auto_publish_at is set.
created_at.
{
"release[label]": "v1.1.0",
"release[summary]": "Bug fixes and improvements",
"release[description]": "This release includes several bug fixes and performance improvements.",
"release[release_type]": "hotfix",
"release[download_links_attributes]": [
{
"platform": "windows",
"url": "https://example.com/download/game-v1.1.0-windows.zip",
"link_enabled": true
}
]
}
{
"id": 456,
"project_id": 1,
"label": "v1.1.0",
"summary": "Bug fixes and improvements",
"description": "This release includes several bug fixes and performance improvements.",
"status": "published",
"active": true,
"release_type": "hotfix",
"download_link": "https://example.com/download/game-v1.1.0-windows.zip",
"platforms": [
"windows"
],
"dynamically_created": false,
"created_at": "2024-10-03T15:20:30Z",
"updated_at": "2024-10-03T15:20:30Z"
}
project.releases.manage scope, or authenticate with a project (FormUser) token that has the can_create_release permission enabled.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{ "<attribute>": ["<message>"] } (e.g. { "label": ["can't be blank"] }), with NO error/errors/status wrapper. A coding agent may also get AgentReleaseRefusal.422). Unreliable and often absent — rely on the HTTP status line instead.
{
"label": [
"can't be blank"
]
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| release_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/releases/123.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/releases/123.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/releases/123.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/releases/123.json", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/releases/123.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
123 — not a prefixed string).
download_link column). Null when no link is set. Note this is a singular string column — there is no per-platform download_links array.
["windows", "macos"]). May be null when unset.
release_label on issue submission) rather than created explicitly through the releases UI/API.
draft; BetaHub publishes it within a minute of this time and clears the field. Null when the release is not scheduled.
auto_publish_at is set.
created_at.
{
"id": 123,
"project_id": 1,
"label": "v1.0.0",
"summary": "Initial release",
"description": "First stable version of our game",
"status": "published",
"active": true,
"release_type": "regular",
"download_link": "https://example.com/download/game-v1.0.0-windows.zip",
"platforms": [
"windows",
"macos"
],
"dynamically_created": false,
"created_at": "2024-10-03T12:34:56Z",
"updated_at": "2024-10-03T12:34:56Z"
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Updates an existing release with new information. Download links and attachments are handled together with the main release data via nested attributes.
Call it as .json (or with Accept: application/json) to get the updated release back (200) or the validation errors (422). Without JSON it behaves as the web form: a 302 redirect to the releases index on success, the edit form re-rendered as HTML on error. Requires a signed-in session or a personal access token with the project.releases.manage scope (a project developer / organization admin).
Scheduling a draft: send release[auto_publish_at] to set or move its go-live time (a blank value cancels the schedule), or use go_live.
Coding agents. An agent with “Read and work” changes drafts; of a release that is out it changes only download_links_attributes (a platform that has a link gets the new url, none is removed) and platforms. It changes nothing of a release a person scheduled to announce. The rest answers 422 (AgentReleaseRefusal). It publishes, cancels a silent schedule, archives and restores through the actions below, always without telling players, and deletes nothing.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| release_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
regular, major, or hotfix. Note - unlike create, release[status] cannot be changed here (use the publish/archive/restore actions to change status).
release[platforms][] form fields. Blank values are stripped server-side.
at schedules the release using release[auto_publish_at] and release[auto_publish_announce]; draft clears any schedule; now publishes the release after saving. Ignored (the rest of the update still saves) when the release is no longer a draft, e.g. it went live while the form was open. When omitted, a non-blank release[auto_publish_at] means at and a blank one means draft; with neither, the publication state is left untouched.
422.
true when the release has a description.
id), deletes that existing download link from the release.
curl \ -X PUT \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -F "release[label]=string" \ -F "release[summary]=string" \ -F "release[description]=Example description" \ -F "release[release_type]=regular" \ "https://app.betahub.io/projects/123/releases/123.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/releases/123.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Put.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.put( "https://app.betahub.io/projects/123/releases/123.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/releases/123.json", { method: "PUT", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/releases/123.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .PUT(HttpRequest.BodyPublishers.ofString("{\"release[label]\":\"string\",\"release[summary]\":\"string\",\"release[description]\":\"string\",\"release[release_type]\":\"regular\",\"release[platforms][]\":[\"string\"],\"release[send_images_separately]\":true,\"go_live\":\"draft\",\"release[auto_publish_at]\":\"2026-03-12T10:30:00Z\",\"release[auto_publish_announce]\":true,\"release[download_links_attributes]\":[{\"id\":0,\"platform\":\"string\",\"url\":\"https://example.com\",\"link_enabled\":true,\"choose_previous_link\":true,\"_destroy\":true}],\"release[remove_attachments]\":[\"string\"],\"release[attachments]\":[\"string\"]}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"release[label]": "string",
"release[summary]": "string",
"release[description]": "string",
"release[release_type]": "regular",
"release[platforms][]": [
"string"
],
"release[send_images_separately]": true,
"go_live": "draft",
"release[auto_publish_at]": "2026-03-12T10:30:00Z",
"release[auto_publish_announce]": true,
"release[download_links_attributes]": [
{
"id": 0,
"platform": "string",
"url": "https://example.com",
"link_enabled": true,
"choose_previous_link": true,
"_destroy": true
}
],
"release[remove_attachments]": [
"string"
],
"release[attachments]": [
"string"
]
}
123 — not a prefixed string).
download_link column). Null when no link is set. Note this is a singular string column — there is no per-platform download_links array.
["windows", "macos"]). May be null when unset.
release_label on issue submission) rather than created explicitly through the releases UI/API.
draft; BetaHub publishes it within a minute of this time and clears the field. Null when the release is not scheduled.
auto_publish_at is set.
created_at.
{
"id": 0,
"project_id": 0,
"label": "string",
"summary": "string",
"description": "string",
"status": "draft",
"active": true,
"release_type": "regular",
"download_link": "https://example.com",
"platforms": [
"string"
],
"dynamically_created": true,
"auto_publish_at": "2026-03-12T10:30:00Z",
"auto_publish_announce": true,
"published_at": "2026-03-12T10:30:00Z",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z"
}
{ "auto_publish_at": ["must be in the future"] }); HTML requests get the edit form re-rendered.422). Unreliable and often absent — rely on the HTTP status line instead.
{
"auto_publish_at": [
"must be in the future"
]
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Deletes a release from the project. Cannot delete the only published release of a project (archive it instead), nor a release that has issues assigned. When deletion succeeds, all associated download links and attachments are also removed.
This is a web (HTML) endpoint, not a JSON API endpoint. Both outcomes respond with a 302 redirect to the project’s releases index — the result (success or refusal) is conveyed only through a flash message, never in a JSON body. A constraint refusal is not an HTTP error status; it is a 302 redirect carrying an alert flash. Requires an authenticated session with the project.releases.manage scope (a signed-in project developer / organization admin).
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| release_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X DELETE \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/releases/123.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/releases/123.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Delete.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.delete( "https://app.betahub.io/projects/123/releases/123.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/releases/123.json", { method: "DELETE", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/releases/123.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("DELETE", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
This is a web (HTML/redirect) endpoint, not a JSON API endpoint — the path has no .json suffix and it never returns a JSON body. Access requires a signed-in project member (draft releases require the project.releases.manage scope).
Behavior depends on the platform query parameter:
With platform (e.g. ?platform=windows): if a download link exists for that
platform, a download record is created (for analytics) and the response is a 302
redirect to the external download URL (allow_other_host). If no link exists for that
platform, it responds with a 302 redirect back to the release page carrying an alert
flash (“Download link not available for …”).
Without platform: renders the release’s download HTML page listing the available
platforms. It does not return a JSON payload of platforms/download counts.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| release_id required | string |
| Name | Type | Description |
|---|---|---|
| platform optional | string | Platform to download (e.g., “windows”, “macos”, “linux”). When provided, records the download and redirects to the external download URL. |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/releases/123/download?platform=example"
require "net/http" uri = URI("https://app.betahub.io/projects/123/releases/123/download?platform=example") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/releases/123/download?platform=example", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/releases/123/download?platform=example", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/releases/123/download?platform=example")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
platform is supplied and a link exists, redirects to the external download URL (a download record is created first). When the platform has no download link, redirects back to the release page with an alert flash.platform is specified)."string"
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
auto_publish_announce choice made when it was scheduled.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| release_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/releases/123/publish.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/releases/123/publish.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/releases/123/publish.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/releases/123/publish.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/releases/123/publish.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("POST", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
123 — not a prefixed string).
download_link column). Null when no link is set. Note this is a singular string column — there is no per-platform download_links array.
["windows", "macos"]). May be null when unset.
release_label on issue submission) rather than created explicitly through the releases UI/API.
draft; BetaHub publishes it within a minute of this time and clears the field. Null when the release is not scheduled.
auto_publish_at is set.
created_at.
{
"id": 123,
"label": "v1.0.0",
"summary": "Initial release",
"description": "First stable version",
"status": "published",
"active": true,
"release_type": "regular",
"created_at": "2024-10-03T12:34:56Z",
"updated_at": "2024-10-03T15:20:30Z",
"download_link": null,
"platforms": [],
"dynamically_created": false
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
AgentReleaseRefusal).{
"error": "announcement",
"message": "string",
"url": "https://example.com"
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| release_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/releases/123/archive.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/releases/123/archive.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/releases/123/archive.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/releases/123/archive.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/releases/123/archive.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("POST", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
123 — not a prefixed string).
download_link column). Null when no link is set. Note this is a singular string column — there is no per-platform download_links array.
["windows", "macos"]). May be null when unset.
release_label on issue submission) rather than created explicitly through the releases UI/API.
draft; BetaHub publishes it within a minute of this time and clears the field. Null when the release is not scheduled.
auto_publish_at is set.
created_at.
{
"id": 123,
"label": "v0.9.0",
"summary": "Beta release",
"description": "Old beta version",
"status": "archived",
"active": false,
"release_type": "regular",
"created_at": "2024-09-01T12:34:56Z",
"updated_at": "2024-10-03T15:20:30Z",
"download_link": null,
"platforms": [],
"dynamically_created": false
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{ "errors": ["<full message>"] } (plural errors, an array of full-message strings) — NOT a singular error string, except a coding agent’s AgentReleaseRefusal.422). Unreliable and often absent — rely on the HTTP status line instead.
{
"errors": [
"Cannot archive the only published release for this project."
]
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| release_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/releases/123/restore.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/releases/123/restore.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/releases/123/restore.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/releases/123/restore.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/releases/123/restore.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("POST", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
123 — not a prefixed string).
download_link column). Null when no link is set. Note this is a singular string column — there is no per-platform download_links array.
["windows", "macos"]). May be null when unset.
release_label on issue submission) rather than created explicitly through the releases UI/API.
draft; BetaHub publishes it within a minute of this time and clears the field. Null when the release is not scheduled.
auto_publish_at is set.
created_at.
{
"id": 123,
"label": "v0.9.0",
"summary": "Beta release",
"description": "Old beta version",
"status": "published",
"active": true,
"release_type": "regular",
"created_at": "2024-09-01T12:34:56Z",
"updated_at": "2024-10-03T15:20:30Z",
"download_link": null,
"platforms": [],
"dynamically_created": false
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{ "errors": ["<full message>"] } (plural errors, an array of full-message strings) — NOT a singular error string, except a coding agent’s AgentReleaseRefusal.422). Unreliable and often absent — rely on the HTTP status line instead.
{
"error": "string",
"status": {},
"errors": {},
"message": "string",
"url": "https://example.com"
}
auto_publish_at on a scheduled draft release, so it no longer goes live on its own. The release stays a draft. Requires a signed-in session or a personal access token with the project.releases.manage scope.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| release_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/releases/123/unschedule.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/releases/123/unschedule.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/releases/123/unschedule.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/releases/123/unschedule.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/releases/123/unschedule.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .method("POST", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
123 — not a prefixed string).
download_link column). Null when no link is set. Note this is a singular string column — there is no per-platform download_links array.
["windows", "macos"]). May be null when unset.
release_label on issue submission) rather than created explicitly through the releases UI/API.
draft; BetaHub publishes it within a minute of this time and clears the field. Null when the release is not scheduled.
auto_publish_at is set.
created_at.
{
"id": 124,
"label": "v1.0.0",
"summary": "First full release",
"description": "Launch build",
"status": "draft",
"active": true,
"release_type": "major",
"created_at": "2026-09-28T09:00:00Z",
"updated_at": "2026-09-28T09:30:00Z",
"download_link": null,
"platforms": [],
"dynamically_created": false,
"auto_publish_at": null,
"auto_publish_announce": true,
"published_at": null
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{ "errors": ["<full message>"] }.422). Unreliable and often absent — rely on the HTTP status line instead.
{
"errors": [
"Release is not scheduled"
]
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/game_facts.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/game_facts.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/game_facts.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/game_facts.json", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/game_facts.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"description": "A fantasy RPG set in a magical world",
"genre": "Action RPG",
"target_audience": "Teen",
"platforms": [
"PC",
"PlayStation",
"Xbox"
],
"core_mechanics": {
"key_features": [
"Magic system",
"Character progression",
"Crafting"
],
"game_modes": [
"Single Player",
"Cooperative"
],
"controls": {
"pc": {
"move": "WASD",
"attack": "Left Click"
},
"console": {
"move": "Left Stick",
"attack": "X Button"
}
}
},
"technical_specifications": {
"supported_platforms": [
"Windows",
"Linux",
"macOS"
],
"minimum_system_requirements": {
"ram": "8GB",
"cpu": "Intel i5",
"gpu": "GTX 1060"
}
},
"glossary": {
"items": [
{
"term": "Mana Potion",
"definition": "Restores magical energy"
}
],
"characters": [
{
"term": "Elder Mage",
"definition": "Wise spellcaster and quest giver"
}
],
"events": [],
"locations": [],
"dlcs": [
{
"term": "Frozen Wastes",
"definition": "Paid expansion adding an ice biome"
}
],
"other_terms": []
},
"project": {
"id": "pr-123456",
"name": "My Fantasy Game"
},
"meta": {
"created_at": "2024-10-03T12:34:56Z",
"updated_at": "2024-10-03T14:22:10Z"
}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Updates game facts for a project with new JSON data. This endpoint can be used to programmatically import game facts from external sources or update specific sections of the game facts. If no game facts exist for the project, new ones will be created. All validation rules apply, including field length limits and required nested structures.
This is the endpoint to use for both creating and updating game facts. Note that the separate form-based create action (a plain POST to the game facts resource, used by the web UI) only applies its payload when no game facts exist yet: if a project already has game facts, that create action silently ignores the submitted fields and leaves the existing record unchanged. To modify existing game facts programmatically, always use this PATCH endpoint.
Coding agents. For a coding agent’s token only the fields sent change: a section it sends keeps the keys it leaves out (other tokens and the web form replace each section sent whole); a list sent replaces the saved list whole. The team feed records which fields changed, never their values; for an agent, “via” its name. An agent needs “Read and work” in the project’s organization (403 with consent otherwise); any agent can read Game Facts. The document extraction below stays closed to agents.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X PATCH \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -H "Content-Type: application/json" \ -d '{ "game_fact": { "description": "string", "genre": "string", "target_audience": "string", "ui_ux_considerations": "string", "platforms": [ "string" ], "core_mechanics": { "key_features": [ "string" ], "game_modes": [ "string" ], "controls": { "pc": {}, "console": {} } }, "technical_specifications": { "supported_platforms": [ "string" ], "minimum_system_requirements": { "key": null } }, "game_progression": { "level_design": "string", "progression_system": "string" }, "bug_reporting_guidelines": { "critical_components": [ "string" ], "non_critical_components": [ "string" ], "known_bugs": [ "string" ] }, "glossary": { "items": [ {} ], "characters": [ {} ], "events": [ {} ], "locations": [ {} ], "dlcs": [ {} ], "other_terms": [ {} ] }, "save_load_system": { "save_method": "string", "known_issues": [ "string" ] }, "multiplayer_online_features": { "supported_modes": [ "string" ], "networking": { "server_type": "string", "known_issues": [ null ] } }, "localization": { "supported_languages": [ "string" ], "known_issues": [ "string" ] } } }' \ "https://app.betahub.io/projects/123/game_facts.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/game_facts.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Patch.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" request["Content-Type"] = "application/json" request.body = { "game_fact": { "description": "string", "genre": "string", "target_audience": "string", "ui_ux_considerations": "string", "platforms": [ "string" ], "core_mechanics": { "key_features": [ "string" ], "game_modes": [ "string" ], "controls": { "pc": {}, "console": {} } }, "technical_specifications": { "supported_platforms": [ "string" ], "minimum_system_requirements": { "key": null } }, "game_progression": { "level_design": "string", "progression_system": "string" }, "bug_reporting_guidelines": { "critical_components": [ "string" ], "non_critical_components": [ "string" ], "known_bugs": [ "string" ] }, "glossary": { "items": [ {} ], "characters": [ {} ], "events": [ {} ], "locations": [ {} ], "dlcs": [ {} ], "other_terms": [ {} ] }, "save_load_system": { "save_method": "string", "known_issues": [ "string" ] }, "multiplayer_online_features": { "supported_modes": [ "string" ], "networking": { "server_type": "string", "known_issues": [ null ] } }, "localization": { "supported_languages": [ "string" ], "known_issues": [ "string" ] } } } response = http.request(request) puts response.body
import requests response = requests.patch( "https://app.betahub.io/projects/123/game_facts.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"}, json={ "game_fact": { "description": "string", "genre": "string", "target_audience": "string", "ui_ux_considerations": "string", "platforms": [ "string" ], "core_mechanics": { "key_features": [ "string" ], "game_modes": [ "string" ], "controls": { "pc": {}, "console": {} } }, "technical_specifications": { "supported_platforms": [ "string" ], "minimum_system_requirements": { "key": null } }, "game_progression": { "level_design": "string", "progression_system": "string" }, "bug_reporting_guidelines": { "critical_components": [ "string" ], "non_critical_components": [ "string" ], "known_bugs": [ "string" ] }, "glossary": { "items": [ {} ], "characters": [ {} ], "events": [ {} ], "locations": [ {} ], "dlcs": [ {} ], "other_terms": [ {} ] }, "save_load_system": { "save_method": "string", "known_issues": [ "string" ] }, "multiplayer_online_features": { "supported_modes": [ "string" ], "networking": { "server_type": "string", "known_issues": [ null ] } }, "localization": { "supported_languages": [ "string" ], "known_issues": [ "string" ] } } } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/game_facts.json", { method: "PATCH", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123", "Content-Type": "application/json" }, body: JSON.stringify({ "game_fact": { "description": "string", "genre": "string", "target_audience": "string", "ui_ux_considerations": "string", "platforms": [ "string" ], "core_mechanics": { "key_features": [ "string" ], "game_modes": [ "string" ], "controls": { "pc": {}, "console": {} } }, "technical_specifications": { "supported_platforms": [ "string" ], "minimum_system_requirements": { "key": null } }, "game_progression": { "level_design": "string", "progression_system": "string" }, "bug_reporting_guidelines": { "critical_components": [ "string" ], "non_critical_components": [ "string" ], "known_bugs": [ "string" ] }, "glossary": { "items": [ {} ], "characters": [ {} ], "events": [ {} ], "locations": [ {} ], "dlcs": [ {} ], "other_terms": [ {} ] }, "save_load_system": { "save_method": "string", "known_issues": [ "string" ] }, "multiplayer_online_features": { "supported_modes": [ "string" ], "networking": { "server_type": "string", "known_issues": [ null ] } }, "localization": { "supported_languages": [ "string" ], "known_issues": [ "string" ] } } }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/game_facts.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .PATCH(HttpRequest.BodyPublishers.ofString("{\"game_fact\":{\"description\":\"string\",\"genre\":\"string\",\"target_audience\":\"string\",\"ui_ux_considerations\":\"string\",\"platforms\":[\"string\"],\"core_mechanics\":{\"key_features\":[\"string\"],\"game_modes\":[\"string\"],\"controls\":{\"pc\":{},\"console\":{}}},\"technical_specifications\":{\"supported_platforms\":[\"string\"],\"minimum_system_requirements\":{\"key\":null}},\"game_progression\":{\"level_design\":\"string\",\"progression_system\":\"string\"},\"bug_reporting_guidelines\":{\"critical_components\":[\"string\"],\"non_critical_components\":[\"string\"],\"known_bugs\":[\"string\"]},\"glossary\":{\"items\":[{}],\"characters\":[{}],\"events\":[{}],\"locations\":[{}],\"dlcs\":[{}],\"other_terms\":[{}]},\"save_load_system\":{\"save_method\":\"string\",\"known_issues\":[\"string\"]},\"multiplayer_online_features\":{\"supported_modes\":[\"string\"],\"networking\":{\"server_type\":\"string\",\"known_issues\":[null]}},\"localization\":{\"supported_languages\":[\"string\"],\"known_issues\":[\"string\"]}}}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"game_fact": {
"description": "string",
"genre": "string",
"target_audience": "string",
"ui_ux_considerations": "string",
"platforms": [
"string"
],
"core_mechanics": {
"key_features": [
"string"
],
"game_modes": [
"string"
],
"controls": {
"pc": {},
"console": {}
}
},
"technical_specifications": {
"supported_platforms": [
"string"
],
"minimum_system_requirements": {
"key": null
}
},
"game_progression": {
"level_design": "string",
"progression_system": "string"
},
"bug_reporting_guidelines": {
"critical_components": [
"string"
],
"non_critical_components": [
"string"
],
"known_bugs": [
"string"
]
},
"glossary": {
"items": [
{}
],
"characters": [
{}
],
"events": [
{}
],
"locations": [
{}
],
"dlcs": [
{}
],
"other_terms": [
{}
]
},
"save_load_system": {
"save_method": "string",
"known_issues": [
"string"
]
},
"multiplayer_online_features": {
"supported_modes": [
"string"
],
"networking": {
"server_type": "string",
"known_issues": [
null
]
}
},
"localization": {
"supported_languages": [
"string"
],
"known_issues": [
"string"
]
}
}
}
{
"description": "Updated game description",
"genre": "Action RPG",
"target_audience": "Teen",
"platforms": [
"PC",
"PlayStation"
],
"core_mechanics": {
"key_features": [
"Updated feature"
],
"game_modes": [
"Single Player"
]
},
"project": {
"id": "pr-123456",
"name": "My Fantasy Game"
},
"meta": {
"created_at": "2024-10-03T12:34:56Z",
"updated_at": "2024-10-03T16:45:30Z"
}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{
"errors": [
"Description is too long (maximum is 1000 characters)"
]
}
Submits a document — either an uploaded file or pasted text — and enqueues a background job that uses AI to extract structured game facts from it and merge them into the project’s game facts. This does not return the extracted facts inline; it returns the identifier of the background job, which you poll separately to learn when extraction has completed. Once the job finishes, fetch the results via the game facts export (GET) endpoint.
Provide exactly one of the two inputs inside the game_fact object:
game_fact[file] — an uploaded document. Only PDF (.pdf), plain text
(.txt), and Markdown (.md) files are supported; any other extension is
rejected. Maximum file size is 10 MB.
game_fact[document] — the document contents pasted as a raw text string.
The extracted text (whether read from the file or pasted directly) must be at least 100 characters and at most 100,000 characters, otherwise the request is rejected with a 422.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ -F "game_fact[file]=@file.bin" \ -F "game_fact[document]=string" \ "https://app.betahub.io/projects/123/game_facts/upload_document.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/game_facts/upload_document.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/game_facts/upload_document.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/game_facts/upload_document.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/game_facts/upload_document.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"game_fact[file]\":\"string\",\"game_fact[document]\":\"string\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"game_fact[file]": "string",
"game_fact[document]": "string"
}
{
"job_id": "550e8400-e29b-41d4-a716-446655440000"
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
{
"error": "string"
}
error string (note: unlike the PATCH endpoint, this endpoint does not return an errors array).{
"error": "File size exceeds maximum limit (10MB)"
}
{
"error": "Document is too short to get processed. Please provide some more details."
}
{
"error": "Document is too long. Maximum length is 100000 characters."
}
{
"error": "Please upload a file or paste text content"
}
{
"error": "Unsupported file format. Please upload PDF, TXT, or MD files only."
}
This endpoint is used to create a new playtime session for a project. The playtime session is used to track the user’s playtime in the project. No authentication is required.
The response is a freshly generated UUID that can be used to update the playtime session using the PUT endpoint.
Note: The request body is currently ignored by the server. Any tags or other fields you send are not consumed or stored. The endpoint always returns a newly generated session UUID regardless of the request payload.
| Name | Type | Description |
|---|---|---|
| project_id required | string |
curl \ -X POST \ -H "Content-Type: application/json" \ -d '{}' \ "https://app.betahub.io/projects/123/playtime_sessions"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/playtime_sessions") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Content-Type"] = "application/json" request.body = {} response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/playtime_sessions", json={} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/playtime_sessions", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({}) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/playtime_sessions")) .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{}
{
"id": "3f8a1c2e-6b4d-4e7a-9f1b-2c5d8e0a7b34"
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
This endpoint is used to update a playtime session for a project. The playtime session is used to track the user’s playtime in the project. Use the playtime session ID returned from the POST endpoint to update the playtime session. No authentication is required. Call this endpoint no longer than every 5 minutes to update the playtime session.
Note: The request body is currently ignored by the server. The endpoint echoes back the playtime session ID you supply in the path and always responds with 200.
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| playtime_session_id required | string |
curl \ -X PUT \ "https://app.betahub.io/projects/123/playtime_sessions/123"
require "net/http" uri = URI("https://app.betahub.io/projects/123/playtime_sessions/123") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Put.new(uri) response = http.request(request) puts response.body
import requests response = requests.put( "https://app.betahub.io/projects/123/playtime_sessions/123" ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/playtime_sessions/123", { method: "PUT" }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/playtime_sessions/123")) .method("PUT", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"id": "3f8a1c2e-6b4d-4e7a-9f1b-2c5d8e0a7b34"
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Returns a paginated list of custom fields configured for a project, filtered by the entity type they apply to. Token-based access (FormUser) returns a limited set of field properties. Non-token principals that hold the required scope see the full details.
Authorization. The project.taxonomy.manage scope is required for EVERY non-token principal — including regular signed-in browser-session users, not just Personal Access Tokens. A signed-in project member who lacks the scope (e.g. a tester) is rejected with 403 and does NOT see the fields; only developers, org admins, and site admins (who hold the scope) can list. FormUser submission tokens instead receive the limited-field view (no id, options, tester_viewable, timestamps) without needing that scope. Note this means a submission-token client cannot read a select field’s allowed options.values over the API.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| applies_to optional | string |
Filter by entity type the custom fields apply to
issue
feature_request
ticket
Default:
issue |
| page optional | integer | Page number for pagination (default: 1) |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/custom_fields.json?applies_to=issue&page=123"
require "net/http" uri = URI("https://app.betahub.io/projects/123/custom_fields.json?applies_to=issue&page=123") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/custom_fields.json?applies_to=issue&page=123", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/custom_fields.json?applies_to=issue&page=123", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/custom_fields.json?applies_to=issue&page=123")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
text (free-form string), boolean (true/false), single_select (exactly one value chosen from options.values), multi_select (one or more values chosen from options.values), and coordinates (a point on a project map — value is an object { client_map_id, x, y }; on submit it is sent as a JSON string).
single_select and multi_select fields, wrapped in a values array: { "values": ["low", "medium", "high"] }. Empty or absent for text and boolean fields. Only returned to regular authenticated users — token-based clients (FormUser) do NOT receive options, so a select field’s allowed values cannot be discovered over the token API.
text (free-form string), boolean (true/false), single_select (exactly one value chosen from options.values), multi_select (one or more values chosen from options.values), and coordinates (a point on a project map — value is an object { client_map_id, x, y }; on submit it is sent as a JSON string).
single_select and multi_select fields, wrapped in a values array: { "values": ["low", "medium", "high"] }. Empty or absent for text and boolean fields. Only returned to regular authenticated users — token-based clients (FormUser) do NOT receive options, so a select field’s allowed values cannot be discovered over the token API.
{
"custom_fields": [
{
"id": 0,
"ident": "string",
"name": "string",
"field_type": "text",
"required": true,
"tester_settable": true,
"tester_viewable": true,
"options": {
"values": [
null
]
},
"applies_to": "issue",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z"
}
],
"custom_issue_fields": [
{
"id": 0,
"ident": "string",
"name": "string",
"field_type": "text",
"required": true,
"tester_settable": true,
"tester_viewable": true,
"options": {
"values": [
null
]
},
"applies_to": "issue",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z"
}
],
"pagination": {
"current_page": 0,
"total_pages": 0,
"total_count": 0,
"per_page": 0
},
"project_id": 0,
"applies_to": "string"
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
project.taxonomy.manage scope.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Creates a custom field as the settings page does. With tester_settable the game (SDK) and reporters can fill it in; a select field takes its options. The team feed records the new field; for a coding agent, “via” its name. Through the API a field is never changed or deleted.
Authorization. The project.taxonomy.manage permission in the project. A coding agent needs “Read and work” in the project’s organization (403 with consent otherwise). Each request counts against the agent’s hourly limit on changes.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
issuetext, boolean, single_select).
true is refused (422 required_field): a required field refuses every report without it, a game build’s included.
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "applies_to": "issue", "custom_field": { "name": "string", "field_type": "string", "required": true, "tester_settable": true, "tester_viewable": true, "options": [ "string" ] } }' \ "https://app.betahub.io/projects/123/custom_fields.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/custom_fields.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "applies_to": "issue", "custom_field": { "name": "string", "field_type": "string", "required": true, "tester_settable": true, "tester_viewable": true, "options": [ "string" ] } } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/custom_fields.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "applies_to": "issue", "custom_field": { "name": "string", "field_type": "string", "required": true, "tester_settable": true, "tester_viewable": true, "options": [ "string" ] } } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/custom_fields.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "applies_to": "issue", "custom_field": { "name": "string", "field_type": "string", "required": true, "tester_settable": true, "tester_viewable": true, "options": [ "string" ] } }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/custom_fields.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"applies_to\":\"issue\",\"custom_field\":{\"name\":\"string\",\"field_type\":\"string\",\"required\":true,\"tester_settable\":true,\"tester_viewable\":true,\"options\":[\"string\"]}}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"applies_to": "issue",
"custom_field": {
"name": "string",
"field_type": "string",
"required": true,
"tester_settable": true,
"tester_viewable": true,
"options": [
"string"
]
}
}
ident (the key the SDK sends).text (free-form string), boolean (true/false), single_select (exactly one value chosen from options.values), multi_select (one or more values chosen from options.values), and coordinates (a point on a project map — value is an object { client_map_id, x, y }; on submit it is sent as a JSON string).
single_select and multi_select fields, wrapped in a values array: { "values": ["low", "medium", "high"] }. Empty or absent for text and boolean fields. Only returned to regular authenticated users — token-based clients (FormUser) do NOT receive options, so a select field’s allowed values cannot be discovered over the token API.
{
"id": 0,
"ident": "string",
"name": "string",
"field_type": "text",
"required": true,
"tester_settable": true,
"tester_viewable": true,
"options": {
"values": [
"string"
]
},
"applies_to": "issue",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z"
}
consent says what to ask for).POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
errors), e.g. an unknown field type, a name already used for that kind of report, an unknown applies_to, or required_field (with the settings page’s url) through a token.{
"error": "string",
"errors": [
"string"
]
}
{
"error": "agent_write_cap",
"message": "string",
"retry_after": 1800
}
Groups a project’s bugs and/or suggestions by the value of a single custom field and returns per-value counts with a per-type breakdown. The driving use case is ranking contributors — e.g. “top reporters by roblox_id” — but it works for any custom field (platform, game version, etc.).
The field is selected by its ident (not its numeric id), because bugs and suggestions store the same logical field under separate definitions. Discover available idents with the List custom fields endpoint (GET /projects/{project_id}/custom_fields.json): aggregating across both types requires the ident to exist for applies_to: issue and applies_to: feature_request. Fields that are auto-created from in-game / Discord submissions (such as roblox_id) only appear after the first submission that carries them.
Values stored under legacy/name-based keys are coalesced into the same logical field, so counts are not fragmented. Blank/empty values are omitted. Results are sorted by total count descending and capped by limit.
Access is restricted to developer-level principals (project developers, organization admins, site admins); a Personal Access Token (Authorization: Bearer <token>) belonging to such a user is the intended integration credential.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| field required | string | The ident of the custom field to group by (e.g. “roblox_id”). |
| types optional | string |
Comma-separated entity types to include. Allowed tokens: bugs, suggestions. Defaults to both. Unknown tokens are ignored.
Default:
bugs,suggestions |
| from optional | string | Only count entities created on or after this date (inclusive). |
| to optional | string | Only count entities created on or before this date (inclusive). |
| status optional | string |
Optional exact-match status filter, applied identically to every included type. Bugs and suggestions use different status vocabularies, so a single value usually matches only one type — filter one type via types when using this. Bug (issue) statuses: open, in_progress, resolved, closed, duplicate, hidden, pending_moderation, wont_fix, needs_more_info (plus any project-defined custom statuses). Suggestion (feature_request) statuses: open, under_review, planned, started, completed, declined, duplicate, pending_moderation, rejected, muted, split, hidden. Values valid for both: open, duplicate, pending_moderation, hidden.
|
| limit optional | integer |
Maximum number of value buckets to return (default: 50, max: 500).
max: 500
Default:
50 |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/custom_field_aggregations.json?field=example&types=bugs,suggestions&from=example&to=example&status=example&limit=50"
require "net/http" uri = URI("https://app.betahub.io/projects/123/custom_field_aggregations.json?field=example&types=bugs,suggestions&from=example&to=example&status=example&limit=50") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/custom_field_aggregations.json?field=example&types=bugs,suggestions&from=example&to=example&status=example&limit=50", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/custom_field_aggregations.json?field=example&types=bugs,suggestions&from=example&to=example&status=example&limit=50", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/custom_field_aggregations.json?field=example&types=bugs,suggestions&from=example&to=example&status=example&limit=50")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"field": "roblox_id",
"results": [
{
"value": "123456789",
"count": 42,
"by_type": {
"bugs": 30,
"suggestions": 12
}
},
{
"value": "987654321",
"count": 8,
"by_type": {
"bugs": 5,
"suggestions": 3
}
}
]
}
field parameter is missing.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Every hosted form of the project, with its public link while the link is open.
Authorization. A developer of the project or an organization admin. A coding agent’s token needs only reading. The project’s Forms & Surveys module must be on: a token gets 422 module_disabled.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://app.betahub.io/projects/123/feedback/forms.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/feedback/forms.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/feedback/forms.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/feedback/forms.json", { headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/feedback/forms.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
public_access is disabled.
bugs, suggestions, tickets).
{
"forms": [
{
"id": 0,
"kind": "bug",
"public_access": "disabled",
"public_url": "https://example.com",
"edit_url": "https://example.com",
"custom_title": "string",
"custom_description": "string",
"accent_color": "#3b7ddd",
"force_theme": "visitor_choice",
"background_mode": "fade_to_gradient",
"title_on_banner": true,
"description_on_banner": true,
"show_title": true,
"contact_requirement": "optional",
"custom_field_ids": [
0
],
"release_id": 0,
"missing_module": "string"
}
]
}
POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
module_disabled, with url).module_disabled.
module_disabled, the module to switch on (surveys).
{
"error": "string",
"module": "string",
"message": "string",
"url": "https://example.com",
"errors": [
"string"
]
}
A page players open from a link to report without the game. The link works once public_access is not disabled. The team feed records it; for a coding agent, “via” its name.
Authorization. A developer of the project or an organization admin. A coding agent needs the switch “Let it change visibility, NDA and integrations” in the project’s organization (403 with consent otherwise). It cannot delete a hosted form or replace its link; it closes the link. Each request counts against the agent’s hourly limit on changes.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
disabledcurl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "hosted_form": { "kind": "bug", "public_access": "disabled", "custom_title": "string", "custom_description": "string", "accent_color": "string", "force_theme": "visitor_choice", "background_mode": "fade_to_gradient", "title_on_banner": true, "description_on_banner": true, "show_title": true, "contact_requirement": "optional", "custom_field_ids": [ 0 ], "release_id": 0 } }' \ "https://app.betahub.io/projects/123/feedback/forms.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/feedback/forms.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "hosted_form": { "kind": "bug", "public_access": "disabled", "custom_title": "string", "custom_description": "string", "accent_color": "string", "force_theme": "visitor_choice", "background_mode": "fade_to_gradient", "title_on_banner": true, "description_on_banner": true, "show_title": true, "contact_requirement": "optional", "custom_field_ids": [ 0 ], "release_id": 0 } } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/feedback/forms.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "hosted_form": { "kind": "bug", "public_access": "disabled", "custom_title": "string", "custom_description": "string", "accent_color": "string", "force_theme": "visitor_choice", "background_mode": "fade_to_gradient", "title_on_banner": true, "description_on_banner": true, "show_title": true, "contact_requirement": "optional", "custom_field_ids": [ 0 ], "release_id": 0 } } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/feedback/forms.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "hosted_form": { "kind": "bug", "public_access": "disabled", "custom_title": "string", "custom_description": "string", "accent_color": "string", "force_theme": "visitor_choice", "background_mode": "fade_to_gradient", "title_on_banner": true, "description_on_banner": true, "show_title": true, "contact_requirement": "optional", "custom_field_ids": [ 0 ], "release_id": 0 } }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/feedback/forms.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"hosted_form\":{\"kind\":\"bug\",\"public_access\":\"disabled\",\"custom_title\":\"string\",\"custom_description\":\"string\",\"accent_color\":\"string\",\"force_theme\":\"visitor_choice\",\"background_mode\":\"fade_to_gradient\",\"title_on_banner\":true,\"description_on_banner\":true,\"show_title\":true,\"contact_requirement\":\"optional\",\"custom_field_ids\":[0],\"release_id\":0}}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"hosted_form": {
"kind": "bug",
"public_access": "disabled",
"custom_title": "string",
"custom_description": "string",
"accent_color": "string",
"force_theme": "visitor_choice",
"background_mode": "fade_to_gradient",
"title_on_banner": true,
"description_on_banner": true,
"show_title": true,
"contact_requirement": "optional",
"custom_field_ids": [
0
],
"release_id": 0
}
}
public_access is disabled.
bugs, suggestions, tickets).
{
"id": 0,
"kind": "bug",
"public_access": "disabled",
"public_url": "https://example.com",
"edit_url": "https://example.com",
"custom_title": "string",
"custom_description": "string",
"accent_color": "#3b7ddd",
"force_theme": "visitor_choice",
"background_mode": "fade_to_gradient",
"title_on_banner": true,
"description_on_banner": true,
"show_title": true,
"contact_requirement": "optional",
"custom_field_ids": [
0
],
"release_id": 0,
"missing_module": "string"
}
consent says what to ask for).POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
errors); or Forms & Surveys is off in this project (module_disabled, with url).module_disabled.
module_disabled, the module to switch on (surveys).
{
"error": "string",
"module": "string",
"message": "string",
"url": "https://example.com",
"errors": [
"string"
]
}
{
"error": "agent_write_cap",
"message": "string",
"retry_after": 1800
}
Changes only what is sent; an open hosted form changes for players at once. The team feed records what changed: who may open the link with the previous value, the rest as changed.
Authorization. As for creating.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| id required | integer |
The hosted form’s id.
|
disabledcurl \ -X PATCH \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "hosted_form": { "kind": "bug", "public_access": "disabled", "custom_title": "string", "custom_description": "string", "accent_color": "string", "force_theme": "visitor_choice", "background_mode": "fade_to_gradient", "title_on_banner": true, "description_on_banner": true, "show_title": true, "contact_requirement": "optional", "custom_field_ids": [ 0 ], "release_id": 0 } }' \ "https://app.betahub.io/projects/123/feedback/forms/123.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/feedback/forms/123.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Patch.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "hosted_form": { "kind": "bug", "public_access": "disabled", "custom_title": "string", "custom_description": "string", "accent_color": "string", "force_theme": "visitor_choice", "background_mode": "fade_to_gradient", "title_on_banner": true, "description_on_banner": true, "show_title": true, "contact_requirement": "optional", "custom_field_ids": [ 0 ], "release_id": 0 } } response = http.request(request) puts response.body
import requests response = requests.patch( "https://app.betahub.io/projects/123/feedback/forms/123.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "hosted_form": { "kind": "bug", "public_access": "disabled", "custom_title": "string", "custom_description": "string", "accent_color": "string", "force_theme": "visitor_choice", "background_mode": "fade_to_gradient", "title_on_banner": true, "description_on_banner": true, "show_title": true, "contact_requirement": "optional", "custom_field_ids": [ 0 ], "release_id": 0 } } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/feedback/forms/123.json", { method: "PATCH", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "hosted_form": { "kind": "bug", "public_access": "disabled", "custom_title": "string", "custom_description": "string", "accent_color": "string", "force_theme": "visitor_choice", "background_mode": "fade_to_gradient", "title_on_banner": true, "description_on_banner": true, "show_title": true, "contact_requirement": "optional", "custom_field_ids": [ 0 ], "release_id": 0 } }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/feedback/forms/123.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .PATCH(HttpRequest.BodyPublishers.ofString("{\"hosted_form\":{\"kind\":\"bug\",\"public_access\":\"disabled\",\"custom_title\":\"string\",\"custom_description\":\"string\",\"accent_color\":\"string\",\"force_theme\":\"visitor_choice\",\"background_mode\":\"fade_to_gradient\",\"title_on_banner\":true,\"description_on_banner\":true,\"show_title\":true,\"contact_requirement\":\"optional\",\"custom_field_ids\":[0],\"release_id\":0}}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"hosted_form": {
"kind": "bug",
"public_access": "disabled",
"custom_title": "string",
"custom_description": "string",
"accent_color": "string",
"force_theme": "visitor_choice",
"background_mode": "fade_to_gradient",
"title_on_banner": true,
"description_on_banner": true,
"show_title": true,
"contact_requirement": "optional",
"custom_field_ids": [
0
],
"release_id": 0
}
}
public_access is disabled.
bugs, suggestions, tickets).
{
"id": 0,
"kind": "bug",
"public_access": "disabled",
"public_url": "https://example.com",
"edit_url": "https://example.com",
"custom_title": "string",
"custom_description": "string",
"accent_color": "#3b7ddd",
"force_theme": "visitor_choice",
"background_mode": "fade_to_gradient",
"title_on_banner": true,
"description_on_banner": true,
"show_title": true,
"contact_requirement": "optional",
"custom_field_ids": [
0
],
"release_id": 0,
"missing_module": "string"
}
consent says what to ask for).POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
errors); or Forms & Surveys is off in this project (module_disabled, with url).module_disabled.
module_disabled, the module to switch on (surveys).
{
"error": "string",
"module": "string",
"message": "string",
"url": "https://example.com",
"errors": [
"string"
]
}
{
"error": "agent_write_cap",
"message": "string",
"retry_after": 1800
}
Every hub of the project, with its public link while the link is open.
Authorization. A developer of the project or an organization admin. A coding agent’s token needs only reading. The project’s Forms & Surveys module must be on: a token gets 422 module_disabled.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://app.betahub.io/projects/123/feedback/portals.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/feedback/portals.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/feedback/portals.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/feedback/portals.json", { headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/feedback/portals.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
public_access is disabled.
{
"hubs": [
{
"id": 0,
"mode": "chooser",
"public_access": "disabled",
"public_url": "https://example.com",
"edit_url": "https://example.com",
"custom_title": "string",
"custom_description": "string",
"accent_color": "string",
"force_theme": "visitor_choice",
"background_mode": "fade_to_gradient",
"hosted_form_ids": [
0
],
"survey_ids": [
0
]
}
]
}
POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
module_disabled, with url).module_disabled.
module_disabled, the module to switch on (surveys).
{
"error": "string",
"module": "string",
"message": "string",
"url": "https://example.com",
"errors": [
"string"
]
}
One link that groups the project’s hosted forms and surveys. The team feed records it; for a coding agent, “via” its name.
Authorization. A developer of the project or an organization admin. A coding agent needs the switch “Let it change visibility, NDA and integrations” in the project’s organization (403 with consent otherwise). It cannot delete a hub or replace its link; it closes the link. Each request counts against the agent’s hourly limit on changes.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
disabledcurl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "form_portal": { "mode": "chooser", "public_access": "disabled", "custom_title": "string", "custom_description": "string", "accent_color": "string", "force_theme": "visitor_choice", "background_mode": "fade_to_gradient", "hosted_form_ids": [ 0 ], "survey_ids": [ 0 ] } }' \ "https://app.betahub.io/projects/123/feedback/portals.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/feedback/portals.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "form_portal": { "mode": "chooser", "public_access": "disabled", "custom_title": "string", "custom_description": "string", "accent_color": "string", "force_theme": "visitor_choice", "background_mode": "fade_to_gradient", "hosted_form_ids": [ 0 ], "survey_ids": [ 0 ] } } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/feedback/portals.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "form_portal": { "mode": "chooser", "public_access": "disabled", "custom_title": "string", "custom_description": "string", "accent_color": "string", "force_theme": "visitor_choice", "background_mode": "fade_to_gradient", "hosted_form_ids": [ 0 ], "survey_ids": [ 0 ] } } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/feedback/portals.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "form_portal": { "mode": "chooser", "public_access": "disabled", "custom_title": "string", "custom_description": "string", "accent_color": "string", "force_theme": "visitor_choice", "background_mode": "fade_to_gradient", "hosted_form_ids": [ 0 ], "survey_ids": [ 0 ] } }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/feedback/portals.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"form_portal\":{\"mode\":\"chooser\",\"public_access\":\"disabled\",\"custom_title\":\"string\",\"custom_description\":\"string\",\"accent_color\":\"string\",\"force_theme\":\"visitor_choice\",\"background_mode\":\"fade_to_gradient\",\"hosted_form_ids\":[0],\"survey_ids\":[0]}}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"form_portal": {
"mode": "chooser",
"public_access": "disabled",
"custom_title": "string",
"custom_description": "string",
"accent_color": "string",
"force_theme": "visitor_choice",
"background_mode": "fade_to_gradient",
"hosted_form_ids": [
0
],
"survey_ids": [
0
]
}
}
public_access is disabled.
{
"id": 0,
"mode": "chooser",
"public_access": "disabled",
"public_url": "https://example.com",
"edit_url": "https://example.com",
"custom_title": "string",
"custom_description": "string",
"accent_color": "string",
"force_theme": "visitor_choice",
"background_mode": "fade_to_gradient",
"hosted_form_ids": [
0
],
"survey_ids": [
0
]
}
consent says what to ask for).POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
errors); or Forms & Surveys is off in this project (module_disabled, with url).module_disabled.
module_disabled, the module to switch on (surveys).
{
"error": "string",
"module": "string",
"message": "string",
"url": "https://example.com",
"errors": [
"string"
]
}
{
"error": "agent_write_cap",
"message": "string",
"retry_after": 1800
}
Changes only what is sent; an open hub changes for players at once. The team feed records what changed: who may open the link and the layout with the previous value, the rest as changed.
Authorization. As for creating.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| id required | integer |
The hub’s id.
|
disabledcurl \ -X PATCH \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "form_portal": { "mode": "chooser", "public_access": "disabled", "custom_title": "string", "custom_description": "string", "accent_color": "string", "force_theme": "visitor_choice", "background_mode": "fade_to_gradient", "hosted_form_ids": [ 0 ], "survey_ids": [ 0 ] } }' \ "https://app.betahub.io/projects/123/feedback/portals/123.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/feedback/portals/123.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Patch.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "form_portal": { "mode": "chooser", "public_access": "disabled", "custom_title": "string", "custom_description": "string", "accent_color": "string", "force_theme": "visitor_choice", "background_mode": "fade_to_gradient", "hosted_form_ids": [ 0 ], "survey_ids": [ 0 ] } } response = http.request(request) puts response.body
import requests response = requests.patch( "https://app.betahub.io/projects/123/feedback/portals/123.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "form_portal": { "mode": "chooser", "public_access": "disabled", "custom_title": "string", "custom_description": "string", "accent_color": "string", "force_theme": "visitor_choice", "background_mode": "fade_to_gradient", "hosted_form_ids": [ 0 ], "survey_ids": [ 0 ] } } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/feedback/portals/123.json", { method: "PATCH", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "form_portal": { "mode": "chooser", "public_access": "disabled", "custom_title": "string", "custom_description": "string", "accent_color": "string", "force_theme": "visitor_choice", "background_mode": "fade_to_gradient", "hosted_form_ids": [ 0 ], "survey_ids": [ 0 ] } }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/feedback/portals/123.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .PATCH(HttpRequest.BodyPublishers.ofString("{\"form_portal\":{\"mode\":\"chooser\",\"public_access\":\"disabled\",\"custom_title\":\"string\",\"custom_description\":\"string\",\"accent_color\":\"string\",\"force_theme\":\"visitor_choice\",\"background_mode\":\"fade_to_gradient\",\"hosted_form_ids\":[0],\"survey_ids\":[0]}}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"form_portal": {
"mode": "chooser",
"public_access": "disabled",
"custom_title": "string",
"custom_description": "string",
"accent_color": "string",
"force_theme": "visitor_choice",
"background_mode": "fade_to_gradient",
"hosted_form_ids": [
0
],
"survey_ids": [
0
]
}
}
public_access is disabled.
{
"id": 0,
"mode": "chooser",
"public_access": "disabled",
"public_url": "https://example.com",
"edit_url": "https://example.com",
"custom_title": "string",
"custom_description": "string",
"accent_color": "string",
"force_theme": "visitor_choice",
"background_mode": "fade_to_gradient",
"hosted_form_ids": [
0
],
"survey_ids": [
0
]
}
consent says what to ask for).POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
errors); or Forms & Surveys is off in this project (module_disabled, with url).module_disabled.
module_disabled, the module to switch on (surveys).
{
"error": "string",
"module": "string",
"message": "string",
"url": "https://example.com",
"errors": [
"string"
]
}
{
"error": "agent_write_cap",
"message": "string",
"retry_after": 1800
}
Every Discord form of the project, switched off ones included, with its steps.
Authorization. A developer of the project or an organization admin. A coding agent’s token needs only reading. The project’s Forms & Surveys module must be on: a token gets 422 module_disabled with the page to switch it on, a browser session a 404.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://app.betahub.io/projects/123/discord/forms.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/discord/forms.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/discord/forms.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/discord/forms.json", { headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/discord/forms.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
enabled is sent.
/set setting that makes this form its kind’s default, e.g. default_bug_form.
visible_if refers to steps by it.
single and multi steps; Discord shows at most 25.
buttonssingle, multi_select for multi, text for short/long). A select step keeps only options that use the field’s values. A field that does not fit is dropped from the step.
ident (see listCustomFields); used when custom_field_id is absent. Every saved step that stores its answer carries both.
single step with options and no custom_field_id: creates a single_select custom field named after the step’s title, with the options’ labels as its values, and maps the step to it. Needs the user’s role to create custom fields.
in.
{
"forms": [
{
"id": 0,
"slug": "string",
"kind": "bug",
"name": "string",
"enabled": true,
"intro_message": "string",
"dedup_enabled": true,
"url": "https://example.com",
"default_form_setting": "string",
"field_config": {
"steps": [
null
]
}
}
]
}
POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
module_disabled, with url).module_disabled.
module_disabled, the module to switch on (surveys).
{
"error": "string",
"module": "string",
"message": "string",
"url": "https://example.com",
"errors": [
"string"
]
}
Builds a form from its steps, as the builder does. Players see it only after it is enabled and a server admin sets it in Discord (/set <default_form_setting> <slug>). The team feed records the new form; for a coding agent, “via” its name.
Authorization. A developer of the project or an organization admin. A coding agent needs “Read and work” in the project’s organization (403 with consent otherwise). Each request counts against the agent’s hourly limit on changes.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
visible_if refers to steps by it.
single and multi steps; Discord shows at most 25.
buttonssingle, multi_select for multi, text for short/long). A select step keeps only options that use the field’s values. A field that does not fit is dropped from the step.
ident (see listCustomFields); used when custom_field_id is absent. Every saved step that stores its answer carries both.
single step with options and no custom_field_id: creates a single_select custom field named after the step’s title, with the options’ labels as its values, and maps the step to it. Needs the user’s role to create custom fields.
in.
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "discord_form": { "kind": "bug", "name": "string", "enabled": true, "intro_message": "string", "dedup_enabled": true, "field_config": { "steps": [ {} ] } } }' \ "https://app.betahub.io/projects/123/discord/forms.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/discord/forms.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "discord_form": { "kind": "bug", "name": "string", "enabled": true, "intro_message": "string", "dedup_enabled": true, "field_config": { "steps": [ {} ] } } } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/discord/forms.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "discord_form": { "kind": "bug", "name": "string", "enabled": true, "intro_message": "string", "dedup_enabled": true, "field_config": { "steps": [ {} ] } } } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/discord/forms.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "discord_form": { "kind": "bug", "name": "string", "enabled": true, "intro_message": "string", "dedup_enabled": true, "field_config": { "steps": [ {} ] } } }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/discord/forms.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"discord_form\":{\"kind\":\"bug\",\"name\":\"string\",\"enabled\":true,\"intro_message\":\"string\",\"dedup_enabled\":true,\"field_config\":{\"steps\":[{}]}}}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"discord_form": {
"kind": "bug",
"name": "string",
"enabled": true,
"intro_message": "string",
"dedup_enabled": true,
"field_config": {
"steps": [
{}
]
}
}
}
enabled is sent.
/set setting that makes this form its kind’s default, e.g. default_bug_form.
visible_if refers to steps by it.
single and multi steps; Discord shows at most 25.
buttonssingle, multi_select for multi, text for short/long). A select step keeps only options that use the field’s values. A field that does not fit is dropped from the step.
ident (see listCustomFields); used when custom_field_id is absent. Every saved step that stores its answer carries both.
single step with options and no custom_field_id: creates a single_select custom field named after the step’s title, with the options’ labels as its values, and maps the step to it. Needs the user’s role to create custom fields.
in.
{
"id": 0,
"slug": "string",
"kind": "bug",
"name": "string",
"enabled": true,
"intro_message": "string",
"dedup_enabled": true,
"url": "https://example.com",
"default_form_setting": "string",
"field_config": {
"steps": [
{
"key": "string",
"type": "single",
"title": "string",
"help": "string",
"required": true,
"options": [
null
],
"display": "buttons",
"custom_field_id": 0,
"custom_field_ident": "string",
"create_custom_field": true,
"is_description": true,
"with_reproduction_steps": true,
"min_length": 0,
"visible_if": {}
}
]
}
}
consent says what to ask for).POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
errors), e.g. it has no description step or a step asks for a custom field the user’s role may not create; or Forms & Surveys is off (module_disabled).module_disabled.
module_disabled, the module to switch on (surveys).
{
"error": "string",
"module": "string",
"message": "string",
"url": "https://example.com",
"errors": [
"string"
]
}
{
"error": "agent_write_cap",
"message": "string",
"retry_after": 1800
}
Changes the name, intro, duplicate check, the whole list of steps, or switches the form on or off. A change to an enabled form shows to players at once. The kind cannot change. The team feed records what changed: names and switches with the previous value, the steps and the intro only as changed. A save that changes nothing records nothing.
Authorization. As for creating. A coding agent cannot delete a form; it switches it off.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| form_id required | integer |
The form’s id.
|
visible_if refers to steps by it.
single and multi steps; Discord shows at most 25.
buttonssingle, multi_select for multi, text for short/long). A select step keeps only options that use the field’s values. A field that does not fit is dropped from the step.
ident (see listCustomFields); used when custom_field_id is absent. Every saved step that stores its answer carries both.
single step with options and no custom_field_id: creates a single_select custom field named after the step’s title, with the options’ labels as its values, and maps the step to it. Needs the user’s role to create custom fields.
in.
curl \ -X PATCH \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "discord_form": { "kind": "bug", "name": "string", "enabled": true, "intro_message": "string", "dedup_enabled": true, "field_config": { "steps": [ {} ] } } }' \ "https://app.betahub.io/projects/123/discord/forms/123.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/discord/forms/123.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Patch.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "discord_form": { "kind": "bug", "name": "string", "enabled": true, "intro_message": "string", "dedup_enabled": true, "field_config": { "steps": [ {} ] } } } response = http.request(request) puts response.body
import requests response = requests.patch( "https://app.betahub.io/projects/123/discord/forms/123.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "discord_form": { "kind": "bug", "name": "string", "enabled": true, "intro_message": "string", "dedup_enabled": true, "field_config": { "steps": [ {} ] } } } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/discord/forms/123.json", { method: "PATCH", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "discord_form": { "kind": "bug", "name": "string", "enabled": true, "intro_message": "string", "dedup_enabled": true, "field_config": { "steps": [ {} ] } } }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/discord/forms/123.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .PATCH(HttpRequest.BodyPublishers.ofString("{\"discord_form\":{\"kind\":\"bug\",\"name\":\"string\",\"enabled\":true,\"intro_message\":\"string\",\"dedup_enabled\":true,\"field_config\":{\"steps\":[{}]}}}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"discord_form": {
"kind": "bug",
"name": "string",
"enabled": true,
"intro_message": "string",
"dedup_enabled": true,
"field_config": {
"steps": [
{}
]
}
}
}
enabled is sent.
/set setting that makes this form its kind’s default, e.g. default_bug_form.
visible_if refers to steps by it.
single and multi steps; Discord shows at most 25.
buttonssingle, multi_select for multi, text for short/long). A select step keeps only options that use the field’s values. A field that does not fit is dropped from the step.
ident (see listCustomFields); used when custom_field_id is absent. Every saved step that stores its answer carries both.
single step with options and no custom_field_id: creates a single_select custom field named after the step’s title, with the options’ labels as its values, and maps the step to it. Needs the user’s role to create custom fields.
in.
{
"id": 0,
"slug": "string",
"kind": "bug",
"name": "string",
"enabled": true,
"intro_message": "string",
"dedup_enabled": true,
"url": "https://example.com",
"default_form_setting": "string",
"field_config": {
"steps": [
{
"key": "string",
"type": "single",
"title": "string",
"help": "string",
"required": true,
"options": [
null
],
"display": "buttons",
"custom_field_id": 0,
"custom_field_ident": "string",
"create_custom_field": true,
"is_description": true,
"with_reproduction_steps": true,
"min_length": 0,
"visible_if": {}
}
]
}
}
POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
errors), or Forms & Surveys is off.module_disabled.
module_disabled, the module to switch on (surveys).
{
"error": "string",
"module": "string",
"message": "string",
"url": "https://example.com",
"errors": [
"string"
]
}
{
"error": "agent_write_cap",
"message": "string",
"retry_after": 1800
}
A link the user shares with testers: anyone who opens it joins the project as a tester, until it expires or its uses run out. Through the API only testers are invited; a developer or support member is invited by a person in the invitation wizard, which checks seats and the plan. The team feed records the link, never its URL; for a coding agent, “via” its name.
Authorization. A user whose role manages the project’s members. A coding agent needs “Read and work” in the project’s organization (403 with consent otherwise). Each request counts against the agent’s hourly limit on changes.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
0 never expires. The options the wizard offers.
604800false on a project with an NDA needs a coding agent to have the switch for visibility, NDA and integrations (403 with consent otherwise).
tester. Any other role answers 422 role_not_allowed.
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "invitation": { "expire_in": 600, "remaining_uses": 0, "require_nda": true, "role": "tester" } }' \ "https://app.betahub.io/projects/123/invitations.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/invitations.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "invitation": { "expire_in": 600, "remaining_uses": 0, "require_nda": true, "role": "tester" } } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/invitations.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "invitation": { "expire_in": 600, "remaining_uses": 0, "require_nda": true, "role": "tester" } } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/invitations.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "invitation": { "expire_in": 600, "remaining_uses": 0, "require_nda": true, "role": "tester" } }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/invitations.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"invitation\":{\"expire_in\":600,\"remaining_uses\":0,\"require_nda\":true,\"role\":\"tester\"}}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"invitation": {
"expire_in": 600,
"remaining_uses": 0,
"require_nda": true,
"role": "tester"
}
}
null when it never does.
{
"url": "https://example.com",
"role": "tester",
"expires_at": "2026-03-12T10:30:00Z",
"remaining_uses": 0,
"require_nda": true,
"members_url": "https://example.com"
}
consent says what to ask for).POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
role_not_allowed, with the wizard’s url), or an invalid expire_in or remaining_uses.role_not_allowed, or why the request was refused (e.g. an invalid address or expire_in).
role_not_allowed, the invitation wizard, where the user invites a developer or support member.
{
"error": "string",
"errors": [
"string"
],
"url": "https://example.com",
"message": "string"
}
{
"error": "agent_write_cap",
"message": "string",
"retry_after": 1800
}
BetaHub e-mails each address an invitation to join the project as a tester, skipping members and addresses with an invitation pending. Up to 10 addresses a request. A personal access token sends at most 10 invitation e-mails in any 24 hours for its user, all the user’s tokens together; a request that would pass it sends nothing (429). Invitations made in BetaHub have no such limit. The team feed records how many were invited, never the addresses.
Authorization. As for the link.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
tester. Any other role answers 422 role_not_allowed.
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "emails": [ "user@example.com" ], "role": "tester" }' \ "https://app.betahub.io/projects/123/email_invitations.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/email_invitations.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "emails": [ "user@example.com" ], "role": "tester" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/email_invitations.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "emails": [ "user@example.com" ], "role": "tester" } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/email_invitations.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "emails": [ "user@example.com" ], "role": "tester" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/email_invitations.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"emails\":[\"user@example.com\"],\"role\":\"tester\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"emails": [
"user@example.com"
],
"role": "tester"
}
null for a browser session, which has no such limit.
{
"sent": [
"user@example.com"
],
"skipped": [
{
"email": "string",
"reason": "already a member"
}
],
"remaining_today": 0
}
POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
role_not_allowed), no address, more than 10, or an invalid address; nothing was sent.role_not_allowed, or why the request was refused (e.g. an invalid address or expire_in).
role_not_allowed, the invitation wizard, where the user invites a developer or support member.
{
"error": "string",
"errors": [
"string"
],
"url": "https://example.com",
"message": "string"
}
email_invitation_limit, with remaining_today and Retry-After), or the coding agent’s hourly limit on changes (agent_write_cap).Retry-After.
{
"error": "email_invitation_limit",
"remaining_today": 0,
"retry_after": 0,
"url": "https://example.com",
"message": "string"
}
Whether the NDA module is on, whether new members must accept the NDA, and the latest version.
Authorization. A developer of the project or an organization admin. A coding agent’s token needs only reading. The organization’s plan must include NDAs (422 module_not_included otherwise).
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://app.betahub.io/projects/123/nda.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/nda.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/nda.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/nda.json", { headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/nda.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
null when the project has none.
{
"enabled": true,
"required_on_join": true,
"current_version": {
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"text": true,
"pdf": true
},
"url": "https://example.com"
}
POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
module_not_included).nda_version_exists, existing_members or module_not_included; otherwise why the version was not saved.
module_not_included.
module_not_included, for an organization admin.
{
"error": "string",
"errors": [
"string"
],
"url": "https://example.com",
"message": "string",
"modules": [
{
"name": "string",
"required_plan": "string"
}
],
"upgrade_url": "https://example.com"
}
Adds a version from text or a PDF (multipart). Through a personal access token only the first version, which also switches the NDA module on; a later version, or asking members who already joined to accept, is made in BetaHub (422 with the page), since it can make every member accept again. The team feed records the version, never its text.
Authorization. As for reading. A coding agent needs the switch for visibility, NDA and integrations in the project’s organization (403 with consent otherwise). Each request counts against the agent’s hourly limit on changes.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
422 invalid).
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "project_nda_version": { "body": "string" } }' \ "https://app.betahub.io/projects/123/nda.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/nda.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "project_nda_version": { "body": "string" } } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/nda.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "project_nda_version": { "body": "string" } } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/nda.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "project_nda_version": { "body": "string" } }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/nda.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"project_nda_version\":{\"body\":\"string\"}}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"project_nda_version": {
"body": "string"
}
}
null when the project has none.
{
"enabled": true,
"required_on_join": true,
"current_version": {
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"text": true,
"pdf": true
},
"url": "https://example.com"
}
consent).POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
nda_version_exists, existing_members, module_not_included, invalid (a PDF that is not a file), or neither text nor a PDF.nda_version_exists, existing_members or module_not_included; otherwise why the version was not saved.
module_not_included.
module_not_included, for an organization admin.
{
"error": "string",
"errors": [
"string"
],
"url": "https://example.com",
"message": "string",
"modules": [
{
"name": "string",
"required_plan": "string"
}
],
"upgrade_url": "https://example.com"
}
{
"error": "agent_write_cap",
"message": "string",
"retry_after": 1800
}
Turns “Require NDA for new members” on or off. The team feed records a change; a request that changes nothing records nothing.
Authorization. As for adding a version.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
curl \ -X PATCH \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "nda_required_on_join": true }' \ "https://app.betahub.io/projects/123/nda/update_settings.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/nda/update_settings.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Patch.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "nda_required_on_join": true } response = http.request(request) puts response.body
import requests response = requests.patch( "https://app.betahub.io/projects/123/nda/update_settings.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "nda_required_on_join": true } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/nda/update_settings.json", { method: "PATCH", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "nda_required_on_join": true }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/nda/update_settings.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .PATCH(HttpRequest.BodyPublishers.ofString("{\"nda_required_on_join\":true}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"nda_required_on_join": true
}
null when the project has none.
{
"enabled": true,
"required_on_join": true,
"current_version": {
"id": 0,
"created_at": "2026-03-12T10:30:00Z",
"text": true,
"pdf": true
},
"url": "https://example.com"
}
POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
nda_required_on_join missing or not true or false (invalid; nothing changes), or the plan does not include NDAs (module_not_included).nda_version_exists, existing_members or module_not_included; otherwise why the version was not saved.
module_not_included.
module_not_included, for an organization admin.
{
"error": "string",
"errors": [
"string"
],
"url": "https://example.com",
"message": "string",
"modules": [
{
"name": "string",
"required_plan": "string"
}
],
"upgrade_url": "https://example.com"
}
{
"error": "agent_write_cap",
"message": "string",
"retry_after": 1800
}
The patterns BetaHub uses to hide personal data in uploaded logs: the predefined ones (with key) and the project’s custom globs, each with enabled.
Authorization. The project.taxonomy.manage permission in the project. Any coding agent can read them.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://app.betahub.io/projects/123/log_redaction_patterns.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/log_redaction_patterns.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/log_redaction_patterns.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/log_redaction_patterns.json", { headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/log_redaction_patterns.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"patterns": [
{
"id": 0,
"label": "string",
"pattern_type": "predefined",
"key": "string",
"pattern": "string",
"enabled": true
}
],
"url": "https://example.com"
}
POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
Adds a custom glob pattern; logs uploaded from then on have its matches hidden. Through a personal access token a pattern is always created switched on, and it is never switched off, changed or deleted. The team feed records the new pattern; for a coding agent, “via” its name.
Authorization. As for listing. A coding agent needs “Read and work” in the project’s organization (403 with consent otherwise). Each request counts against the agent’s hourly limit on changes.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
* runs to the next / or \, across spaces and line breaks; ** runs past them too; ? is one character other than / or \. For an ID of fixed length use one ? per character.
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "log_redaction_pattern": { "label": "string", "pattern": "string" } }' \ "https://app.betahub.io/projects/123/log_redaction_patterns.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/log_redaction_patterns.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "log_redaction_pattern": { "label": "string", "pattern": "string" } } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/log_redaction_patterns.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "log_redaction_pattern": { "label": "string", "pattern": "string" } } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/log_redaction_patterns.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "log_redaction_pattern": { "label": "string", "pattern": "string" } }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/log_redaction_patterns.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"log_redaction_pattern\":{\"label\":\"string\",\"pattern\":\"string\"}}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"log_redaction_pattern": {
"label": "string",
"pattern": "string"
}
}
{
"id": 0,
"label": "string",
"pattern_type": "predefined",
"key": "string",
"pattern": "string",
"enabled": true
}
consent).POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
errors), e.g. no label or no pattern.{
"error": "string",
"errors": [
"string"
]
}
{
"error": "agent_write_cap",
"message": "string",
"retry_after": 1800
}
Returns the ordered list of issue statuses configured for a project. Each status includes its display name, behavioral category, and whether it is a hidden (system_status) status. Useful for populating status dropdowns or mapping status keys to display names.
Authorization. This is a project-taxonomy management endpoint. It requires a Personal Access Token (Authorization: Bearer <token>) whose user holds the project.taxonomy.manage scope on the target project. Without that scope the request is rejected with 403.
Any other caller — a game-SDK submission token (FormUser), FormUser anonymous, or a signed-in User without the scope — is rejected with 403 (not 401), since it authenticates as a principal but lacks project.taxonomy.manage.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issue_statuses.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issue_statuses.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/issue_statuses.json", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issue_statuses.json", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issue_statuses.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
open, in_progress, needs_more_info, resolved, wont_fix, closed, hidden, duplicate, and pending_moderation. Projects may also define custom keys (lowercase letters, digits, underscores, and colons; must start with a letter).
active → in_progress, resolved → resolved, closed → closed_verified, hidden → hidden.
hidden (i.e. issues in this status are hidden from normal views). This reflects the status behavior, not whether it can be deleted. Note this is distinct from a status being built-in — built-in statuses that are not hidden report false here.
{
"issue_statuses": [
{
"key": "in_progress",
"display_name": "In Progress",
"behavior_category": "in_progress",
"system_status": true
}
]
}
403.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
project.taxonomy.manage scope on the project.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
project_id, or the project has been removed.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Returns a paginated list of issue tags configured for a project. Tags are returned as a fixed two-level tree: top-level parent tags each carry a sub_tags array of their children, and only parent tags appear at the root level (sub-tags do not have children of their own). Every tag returned here has tag_type: issue.
Authorization. This endpoint requires a signed-in User (session or Personal Access Token) holding the project.taxonomy.manage scope. Project membership is NOT required: site admins and organization admins of the project’s organization are authorized even without a project role, in addition to project members whose role grants the scope.
Any caller that does not hold the scope is rejected with 403 Forbidden — this includes game-SDK submission tokens (FormUser), FormUser anonymous, and signed-in Users whose role lacks project.taxonomy.manage. (Only a request carrying no authentication principal at all — no Authorization header and no session — returns 401.)
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| page optional | integer | Page number for pagination (default: 1) |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/issue_tags.json?page=123"
require "net/http" uri = URI("https://app.betahub.io/projects/123/issue_tags.json?page=123") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/issue_tags.json?page=123", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/issue_tags.json?page=123", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/issue_tags.json?page=123")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
#rrggbb, e.g. #7dd3fc). The # prefix, exactly six digits, and lowercase a-f are all required. Only parent (top-level) tags carry an independently set color; a sub-tag always inherits its parent’s color, and changing a parent’s color re-propagates to every sub-tag under it.
issue; feature_request tags are a separate taxonomy (Suggestions) not exposed here.
#rrggbb) inherited from the parent tag.
issue on this endpoint.
{
"tags": [
{
"id": 0,
"name": "string",
"color": "string",
"description": "string",
"parent_tag_id": 0,
"tag_type": "issue",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"sub_tags": [
{}
]
}
],
"project_id": 0,
"pagination": {
"current_page": 0,
"total_pages": 0,
"total_count": 0,
"per_page": 0
}
}
Authorization header and no session).render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
project.taxonomy.manage scope — this is the status returned for game-SDK submission tokens (FormUser), FormUser anonymous, and signed-in Users whose role lacks the scope.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Returns the headline sentiment numbers for the project’s community messages (Discord channels and connected Steam discussions) over a date range: message count, average rating, category counts, top words, a bucketed trend, the channel list and the latest AI summary. Only analysed messages are counted (unprocessed and rejected ones are not).
Ratings use a 1–5 scale. Unlike the dashboard, this endpoint never serves demo data: a plan without Sentiment Analysis is refused with 403, and a project with no analysed messages reports message_count: 0, average_rating: null, zero counts and no top_words.
average_rating is cached for up to 30 minutes and top_words for up to an hour per filter combination, so they can briefly lag behind message_count, categories and trend.
Access requires the project.analytics.view scope (Developer role, organization admins, site admins) and a plan that includes Sentiment Analysis (Pro, Enterprise). A Personal Access Token (Authorization: Bearer pat-…) belonging to such a user is the intended integration credential; Project Auth Tokens (FormUser tkn-…) carry no user scope and are refused with 403.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| report_id optional | integer |
Limit the response to a saved sentiment report (a reports[].id from GET /projects/{project_id}/sentiments/overview.json): messages from its channels only, and its own AI insights and summary. Without it, the whole community. channel_id[] values then narrow within the report’s channels; values outside them are ignored, and when none is left the whole report applies. A report of another project answers 404.
|
| date_range optional | string |
Inclusive date range as YYYY-MM-DDtoYYYY-MM-DD. Defaults to the last 5 weeks. A range longer than 365 days is replaced by the last year; an unparseable value or a start after the end falls back to the default. The applied range is echoed in date_range.
pattern: ^\d{4}-\d{2}-\d{2}to\d{4}-\d{2}-\d{2}$
|
| channel_id[] optional | array |
Only messages from ANY of these channels. Values are the channels[].value strings: a Discord channel’s BetaHub id (not its Discord snowflake) or cf-<forum id> for a Steam sub-forum. A value that is not one of the project’s channels answers 400. Send the bracketed array form (channel_id[]=cf-12); a single scalar channel_id=cf-12 works too.
|
| role_name[] optional | array |
Only messages whose Discord author held ANY of these roles. Each role must appear on at least one of the project’s messages, otherwise 400. Steam posts carry no roles, so a role filter excludes them. Send the bracketed array form; a scalar role_name= yields empty results.
max items: 50
|
| word optional | string |
Only messages whose key phrases contain this word: exact match on a single lowercase, singular word, such as a one-word top_words[].word value (two-word not … entries never match). Longer than 100 characters answers 400.
max length: 100
|
| category optional | string |
Only messages in this sentiment category (lowercase). Any other value answers 400.
positive
negative
neutral
toxic
excited
frustrated
|
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/sentiments/overview.json?report_id=123&date_range=example&channel_id[]=123&role_name[]=example&word=example&category=positive"
require "net/http" uri = URI("https://app.betahub.io/projects/123/sentiments/overview.json?report_id=123&date_range=example&channel_id[]=123&role_name[]=example&word=example&category=positive") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/sentiments/overview.json?report_id=123&date_range=example&channel_id[]=123&role_name[]=example&word=example&category=positive", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/sentiments/overview.json?report_id=123&date_range=example&channel_id[]=123&role_name[]=example&word=example&category=positive", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/sentiments/overview.json?report_id=123&date_range=example&channel_id[]=123&role_name[]=example&word=example&category=positive")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
null when there are no messages.
0) when there are no messages.
max(1, ceil(days / 30)) days each; every array has one entry per dates entry, in the same order.
null for an empty bucket.
null for an empty bucket.
null for an empty bucket.
report_id, of the report), whether or not it has messages in the range: Discord channels, then Steam sub-forums. value is what channel_id[] accepts.
cf-<forum id> for a Steam sub-forum.
# <name> for Discord, Steam · <forum name> for Steam.
GET /projects/{project_id}/sentiments/insights.json), the report’s own with report_id. Not limited by the date range or filters. null when there is no run or it has no summary.
null for the whole community.
id as report_id. active: false means the report is paused because the project is over its plan’s limit: its AI insights are no longer updated.
{
"date_range": {
"from": "2026-09-22",
"to": "2026-09-28"
},
"message_count": 84,
"average_rating": 3.1,
"categories": [
{
"category": "positive",
"count": 22
},
{
"category": "negative",
"count": 12
},
{
"category": "neutral",
"count": 29
},
{
"category": "toxic",
"count": 2
},
{
"category": "excited",
"count": 6
},
{
"category": "frustrated",
"count": 13
}
],
"top_words": [
{
"word": "boss",
"count": 17
},
{
"word": "matchmaking",
"count": 9
},
{
"word": "crash",
"count": 6
}
],
"trend": {
"dates": [
"2026-09-22",
"2026-09-23",
"2026-09-24",
"2026-09-25",
"2026-09-26",
"2026-09-27",
"2026-09-28"
],
"message_count": [
12,
0,
18,
25,
9,
14,
6
],
"average_rating": [
3.4,
null,
2.9,
2.6,
3.2,
3.4,
3.7
],
"net_sentiment": [
25.0,
null,
-11.1,
-32.0,
11.1,
21.4,
66.7
],
"frustration_share": [
16.7,
null,
38.9,
52.0,
22.2,
21.4,
0.0
],
"categories": {
"positive": [
4,
0,
4,
4,
3,
4,
3
],
"negative": [
1,
0,
3,
5,
1,
2,
0
],
"neutral": [
5,
0,
6,
7,
4,
5,
2
],
"toxic": [
0,
0,
1,
1,
0,
0,
0
],
"excited": [
1,
0,
1,
1,
0,
2,
1
],
"frustrated": [
1,
0,
3,
7,
1,
1,
0
]
}
},
"channels": [
{
"value": "1842",
"name": "# general"
},
{
"value": "cf-12",
"name": "Steam · General Discussions"
}
],
"ai_summary": "Players like the new map but many find the second boss unfair; matchmaking waits are a recurring complaint.",
"report": null,
"reports": [
{
"id": 7,
"name": "Bugs & suggestions",
"active": true
}
]
}
category, word over 100 characters, a channel_id[] value that is not one of the project’s channels, or a role_name[] that is unknown, over 100 characters, or one of more than 50. Checked before authentication.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
project.analytics.view scope, or the project’s plan does not include Sentiment Analysis (the example body).render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "This project's plan does not include Sentiment Analysis."
}
report_id is not a saved report of this project.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Not found"
}
Returns the AI insights of the latest insight run, as the dashboard shows them: only insights whose refinement completed and whose confidence is not low, newest first, with no count limit. Without topic_id this is the latest general run; with topic_id it is the latest run for that topic. With report_id both are the saved report’s own runs; without it, the whole community’s.
Insights are generated periodically, not per request, so this endpoint takes no date range and ignores the message filters (date_range, channel_id[], role_name[], word, category) — although a malformed filter still answers 400. When the latest run is empty or failed, insights is empty and run.empty_reason says why. A success run can also yield an empty list (insights not refined yet, or all low-confidence), with empty_reason: null. When no run exists, run is null.
To read the Steam posts an insight cites, pass its id as insight_id to GET /projects/{project_id}/sentiments/messages.json.
Access requires the project.analytics.view scope and a plan that includes Sentiment Analysis (Pro, Enterprise); a Personal Access Token (Authorization: Bearer pat-…) is the intended credential. Never serves demo data.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| report_id optional | integer |
Limit the response to a saved sentiment report (a reports[].id from GET /projects/{project_id}/sentiments/overview.json): messages from its channels only, and its own AI insights and summary. Without it, the whole community. channel_id[] values then narrow within the report’s channels; values outside them are ignored, and when none is left the whole report applies. A report of another project answers 404.
|
| topic_id optional | integer |
Return the latest insights of this topic (a topics[].id from GET /projects/{project_id}/sentiments/topics.json) instead of the general ones. A topic of another project answers 404.
|
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/sentiments/insights.json?report_id=123&topic_id=123"
require "net/http" uri = URI("https://app.betahub.io/projects/123/sentiments/insights.json?report_id=123&topic_id=123") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/sentiments/insights.json?report_id=123&topic_id=123", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/sentiments/insights.json?report_id=123&topic_id=123", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/sentiments/insights.json?report_id=123&topic_id=123")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
null for general insights.
null when insights were never generated.
status is empty or failed.
insight_id to the messages endpoint to list its evidence.
low insights are never returned.
new when the earlier window had fewer than 3, otherwise ±20% separates increasing/decreasing from stable.
{
"topic": null,
"run": {
"status": "success",
"created_at": "2026-09-27T03:12:44.000Z",
"summary": "Mixed feelings about the second boss; matchmaking complaints are rising.",
"empty_reason": null
},
"insights": [
{
"id": 9812,
"category": "warning",
"phrase": "Players find the second boss unfair since the latest patch",
"reasoning": "Recent messages repeatedly mention one-shot attacks and a distant checkpoint.",
"confidence": "high",
"trend": "increasing",
"signal_strength": 6.4,
"matching_count": 27,
"evidence_count": 15,
"keywords": [
"boss",
"unfair",
"one-shot",
"checkpoint"
],
"created_at": "2026-09-27T03:13:02.000Z"
}
]
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
project.analytics.view scope, or the project’s plan does not include Sentiment Analysis (the example body).render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "This project's plan does not include Sentiment Analysis."
}
topic_id is not a topic of this project, or report_id is not a saved report of this project.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Not found"
}
Ranks the topics that analysed messages were assigned to, by mentions in the date range (after filters), with each topic’s sentiment mix and average rating. Use a topic’s id as topic_id on the insights and messages endpoints.
previous_mentions, previous_average_rating, trend, change_percentage and rating_change_percentage compare the range with the preceding period of equal length.
Ratings use a 1–5 scale. Access requires the project.analytics.view scope and a plan that includes Sentiment Analysis (Pro, Enterprise); a Personal Access Token (Authorization: Bearer pat-…) is the intended credential. Never serves demo data: a project without analysed messages returns no topics.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| report_id optional | integer |
Limit the response to a saved sentiment report (a reports[].id from GET /projects/{project_id}/sentiments/overview.json): messages from its channels only, and its own AI insights and summary. Without it, the whole community. channel_id[] values then narrow within the report’s channels; values outside them are ignored, and when none is left the whole report applies. A report of another project answers 404.
|
| limit optional | integer |
Maximum number of topics to return (default: 10, max: 50). Out-of-range values are clamped.
min: 1
max: 50
Default:
10 |
| date_range optional | string |
Inclusive date range as YYYY-MM-DDtoYYYY-MM-DD. Defaults to the last 5 weeks. A range longer than 365 days is replaced by the last year; an unparseable value or a start after the end falls back to the default.
pattern: ^\d{4}-\d{2}-\d{2}to\d{4}-\d{2}-\d{2}$
|
| channel_id[] optional | array |
Only messages from ANY of these channels (channels[].value from the overview: Discord channel BetaHub id or cf-<forum id>). Unknown values answer 400. Send the bracketed array form; a single scalar channel_id= works too.
|
| role_name[] optional | array |
Only messages whose Discord author held ANY of these roles (excludes Steam posts). Unknown roles answer 400. Send the bracketed array form.
max items: 50
|
| word optional | string |
Only messages whose key phrases contain this word (lowercase, singular; exact match).
max length: 100
|
| category optional | string |
Only messages in this sentiment category (lowercase). Any other value answers 400.
positive
negative
neutral
toxic
excited
frustrated
|
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/sentiments/topics.json?report_id=123&limit=10&date_range=example&channel_id[]=123&role_name[]=example&word=example&category=positive"
require "net/http" uri = URI("https://app.betahub.io/projects/123/sentiments/topics.json?report_id=123&limit=10&date_range=example&channel_id[]=123&role_name[]=example&word=example&category=positive") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/sentiments/topics.json?report_id=123&limit=10&date_range=example&channel_id[]=123&role_name[]=example&word=example&category=positive", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/sentiments/topics.json?report_id=123&limit=10&date_range=example&channel_id[]=123&role_name[]=example&word=example&category=positive", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/sentiments/topics.json?report_id=123&limit=10&date_range=example&channel_id[]=123&role_name[]=example&word=example&category=positive")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
limit).
limit.
new when previous_mentions is 0; otherwise a change beyond ±10% is increasing/decreasing.
null when previous_mentions is 0.
mentions, one decimal.
null when there were no previous mentions.
null when there were no previous mentions.
{
"date_range": {
"from": "2026-09-01",
"to": "2026-09-28"
},
"total_topics_count": 23,
"topics": [
{
"id": 311,
"title": "combat",
"mentions": 41,
"previous_mentions": 3,
"trend": "increasing",
"change_percentage": 1266.7,
"sentiment_distribution": {
"frustrated": 18,
"negative": 9,
"neutral": 8,
"positive": 6
},
"sentiment_percentages": {
"frustrated": 43.9,
"negative": 22.0,
"neutral": 19.5,
"positive": 14.6
},
"average_rating": 2.41,
"previous_average_rating": 2.67,
"rating_change_percentage": -9.7
},
{
"id": 327,
"title": "audio",
"mentions": 12,
"previous_mentions": 0,
"trend": "new",
"change_percentage": null,
"sentiment_distribution": {
"positive": 7,
"excited": 3,
"neutral": 2
},
"sentiment_percentages": {
"positive": 58.3,
"excited": 25.0,
"neutral": 16.7
},
"average_rating": 4.12,
"previous_average_rating": null,
"rating_change_percentage": null
}
]
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
project.analytics.view scope, or the project’s plan does not include Sentiment Analysis (the example body).render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "This project's plan does not include Sentiment Analysis."
}
report_id is not a saved report of this project.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Not found"
}
Lists individual analysed Steam discussion posts with their sentiment, newest first, 20 per page. Only Steam posts are listed — Discord messages never are, and a Steam post is listed only while its source keeps post text (the Steam source’s store_post_text setting, see GET /projects/{project_id}/steam.json). Counts in the overview and topics endpoints include Discord messages, so they can exceed what this endpoint lists.
Two modes:
With insight_id: the Steam posts that insight cites as evidence, whenever they
were posted. date_range, channel_id[], role_name[], word and topic_id are
ignored; category, q and page still apply.
Without insight_id: the posts matching date_range, channel_id[],
role_name[], word and category (as in the overview), optionally narrowed to one
topic with topic_id, then searched with q.
At most 50 pages (1,000 posts) are reachable; pagination.total_count still reports the full count.
Access requires the project.analytics.view scope and a plan that includes Sentiment Analysis (Pro, Enterprise); a Personal Access Token (Authorization: Bearer pat-…) is the intended credential. Never serves demo data.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| report_id optional | integer |
Limit the response to a saved sentiment report (a reports[].id from GET /projects/{project_id}/sentiments/overview.json): messages from its channels only, and its own AI insights and summary. Without it, the whole community. channel_id[] values then narrow within the report’s channels; values outside them are ignored, and when none is left the whole report applies. A report of another project answers 404.
|
| insight_id optional | integer |
List this insight’s cited Steam posts (an insights[].id). An insight of another project answers 404.
|
| topic_id optional | integer |
Only posts assigned to this topic (a topics[].id). Ignored with insight_id. A topic of another project answers 404.
|
| category optional | string |
Only posts in this sentiment category (lowercase). Any other value answers 400.
positive
negative
neutral
toxic
excited
frustrated
|
| q optional | string | Case-insensitive substring search in the post text. |
| page optional | integer |
Page number (20 posts per page). Values outside 1–50 are clamped.
min: 1
max: 50
Default:
1 |
| date_range optional | string |
Inclusive date range as YYYY-MM-DDtoYYYY-MM-DD; defaults to the last 5 weeks (same rules as the overview). Ignored with insight_id.
pattern: ^\d{4}-\d{2}-\d{2}to\d{4}-\d{2}-\d{2}$
|
| channel_id[] optional | array |
Only posts from ANY of these Steam sub-forums (cf-<forum id>). Discord channel values are accepted but can never match. Unknown values answer 400. Send the bracketed array form; a single scalar channel_id= works too. Ignored with insight_id (but still validated).
|
| role_name[] optional | array |
Accepted for parity with the other endpoints and validated, but Steam posts carry no Discord roles, so any role filter returns no posts (unless insight_id is given, which ignores it).
max items: 50
|
| word optional | string |
Only posts whose key phrases contain this word (lowercase, singular; exact match). Ignored with insight_id.
max length: 100
|
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/sentiments/messages.json?report_id=123&insight_id=123&topic_id=123&category=positive&q=example&page=1&date_range=example&channel_id[]=123&role_name[]=example&word=example"
require "net/http" uri = URI("https://app.betahub.io/projects/123/sentiments/messages.json?report_id=123&insight_id=123&topic_id=123&category=positive&q=example&page=1&date_range=example&channel_id[]=123&role_name[]=example&word=example") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/sentiments/messages.json?report_id=123&insight_id=123&topic_id=123&category=positive&q=example&page=1&date_range=example&channel_id[]=123&role_name[]=example&word=example", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/sentiments/messages.json?report_id=123&insight_id=123&topic_id=123&category=positive&q=example&page=1&date_range=example&channel_id[]=123&role_name[]=example&word=example", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/sentiments/messages.json?report_id=123&insight_id=123&topic_id=123&category=positive&q=example&page=1&date_range=example&channel_id[]=123&role_name[]=example&word=example")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
category.
cf-<forum id>, usable in channel_id[].
Steam · <forum name>.
null when it has none.
null for replies.
0 when nothing matches.
{
"messages": [
{
"id": 5531207,
"text": "The second boss one-shots you and the checkpoint is miles away. Not fun.",
"category": "frustrated",
"confidence": 0.86,
"key_phrases": [
"second boss one-shots",
"checkpoint too far",
"not fun"
],
"explanation": "The player is frustrated by the boss difficulty and checkpoint placement.",
"language": "en",
"posted_at": "2026-09-26T18:42:10.000Z",
"channel": {
"value": "cf-12",
"name": "Steam · General Discussions"
},
"topic": {
"id": 311,
"title": "combat"
},
"thread_url": "https://steamcommunity.com/app/2584270/discussions/0/599648273012345678/"
},
{
"id": 5531188,
"text": "Same here, I gave up after ten tries.",
"category": "frustrated",
"confidence": 0.74,
"key_phrases": [
"gave up",
"ten tries"
],
"explanation": "The player expresses giving up out of frustration.",
"language": "en",
"posted_at": "2026-09-26T17:05:51.000Z",
"channel": {
"value": "cf-12",
"name": "Steam · General Discussions"
},
"topic": null,
"thread_url": null
}
],
"pagination": {
"current_page": 1,
"total_pages": 3,
"total_count": 47,
"per_page": 20
}
}
insight_id makes it irrelevant. Checked before authentication.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
project.analytics.view scope, or the project’s plan does not include Sentiment Analysis (the example body).render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "This project's plan does not include Sentiment Analysis."
}
insight_id / topic_id / report_id does not belong to this project.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Not found"
}
Lists the project’s sentiment checks, newest first, 25 per page, with the project’s limits on starting new ones. Checks stay readable on a plan without Sentiment Analysis; limits.can_start is then false.
Access requires the project.analytics.view scope (Developer role, organization admins, site admins). A read-only Personal Access Token (sentiments.read) can list and show checks; starting and steering them takes a coding agent token with “Read and work” (sentiments.checks.run).
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| page optional | integer |
min: 1
Default:
1 |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://app.betahub.io/projects/123/sentiments/checks.json?page=1"
require "net/http" uri = URI("https://app.betahub.io/projects/123/sentiments/checks.json?page=1") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/sentiments/checks.json?page=1", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/sentiments/checks.json?page=1", { headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/sentiments/checks.json?page=1")) .header("Authorization", "Bearer YOUR_API_TOKEN") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
fix (did the fix land?), release (how was a release received, against the previous one), campaign (how did a sale, free weekend or creator push go). null until the intake agent decides, when the question was asked without one.
intake: the agent is working out what to analyse. awaiting_input: it waits for answers or for the plan to be confirmed (see next_action). queued/running: the analysis is waiting for or holding a worker. completed, failed and cancelled are final.
wait: BetaHub is working; poll the check (every 10 seconds or so; an analysis usually takes a few minutes). answer: answer pending_questions with answer.json. confirm_or_revise: run the plan with confirm.json or ask for changes with revise.json. null once the check is finished.
automatic: a release report BetaHub started on its own, 7 days after a release.
fixed, improving, no_change, worse, too_early, backfired, expected_backlash, accepted, mixed. Release reports: better, similar, worse, praised, praised_with_issues, mood_rose, mood_dropped, mood_held. Campaign recaps: regulars_upbeat, regulars_steady, regulars_cooled. Any kind: not_enough_data, cannot_answer.
POST checks.json would start a check now (plan and both limits).
max again; null while there is room.
{
"checks": [
{
"id": "chk-4818227359",
"url": "https://example.com",
"title": "Grapple rubber-banding",
"question": "Did the grapple fix land?",
"kind": "fix",
"status": "intake",
"next_action": "wait",
"origin": "user",
"verdict": "improving",
"verdict_label": "Improving",
"created_at": "2026-03-12T10:30:00Z",
"started_at": "2026-03-12T10:30:00Z",
"completed_at": "2026-03-12T10:30:00Z"
}
],
"limits": {
"can_start": true,
"feature_available": true,
"open_checks": {
"count": 2,
"max": 5
},
"started_in_last_24_hours": {
"count": 20,
"max": 20,
"next_slot_at": "2026-03-12T10:30:00Z"
}
},
"pagination": {
"current_page": 0,
"total_pages": 0,
"total_count": 0,
"per_page": 25
}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
project.analytics.view scope.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Not found"
}
intake; BetaHub’s intake agent then looks at the project’s releases, bugs and messages and either asks follow-up questions or proposes a plan. Poll the check and follow its next_action. Each check costs AI time, so the team can have 5 open checks at once and start 20 in any 24 hours (limits in the list).Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "question": "Did the grapple fix land?", "kind": "fix" }' \ "https://app.betahub.io/projects/123/sentiments/checks.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/sentiments/checks.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "question": "Did the grapple fix land?", "kind": "fix" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/sentiments/checks.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "question": "Did the grapple fix land?", "kind": "fix" } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/sentiments/checks.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "question": "Did the grapple fix land?", "kind": "fix" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/sentiments/checks.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"question\":\"Did the grapple fix land?\",\"kind\":\"fix\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"question": "Did the grapple fix land?",
"kind": "fix"
}
fix (did the fix land?), release (how was a release received, against the previous one), campaign (how did a sale, free weekend or creator push go). null until the intake agent decides, when the question was asked without one.
intake: the agent is working out what to analyse. awaiting_input: it waits for answers or for the plan to be confirmed (see next_action). queued/running: the analysis is waiting for or holding a worker. completed, failed and cancelled are final.
wait: BetaHub is working; poll the check (every 10 seconds or so; an analysis usually takes a few minutes). answer: answer pending_questions with answer.json. confirm_or_revise: run the plan with confirm.json or ask for changes with revise.json. null once the check is finished.
automatic: a release report BetaHub started on its own, 7 days after a release.
fixed, improving, no_change, worse, too_early, backfired, expected_backlash, accepted, mixed. Release reports: better, similar, worse, praised, praised_with_issues, mood_rose, mood_dropped, mood_held. Campaign recaps: regulars_upbeat, regulars_steady, regulars_cooled. Any kind: not_enough_data, cannot_answer.
next_action is answer.
answers.
date expects YYYY-MM-DD; release one of options (release labels). Choice questions accept one of options (a list for multi_choice) or your own words.
kind, title, summary and assumptions; the rest depends on the kind (fix: problem, search_phrases, fixed_on, platforms, before_days; release: release, release_on, compare_to, days_after; campaign: name, campaign_type, starts_on, ends_on, after_days, keywords).
queued or running.
kind, verdict, evidence (strong, moderate, weak), generated_at, headline, lede, caveats, report (summary and themes written for the team) and plan. Quotes anywhere in it are objects with id, text, date, channel, roles and link; text follows the project’s current message-privacy settings (key phrases only when raw text is not allowed) and is null when the message no longer exists.
status is failed.
question, questions, answers, plan, revision, confirmed and declined entries, each with role (user or agent), type and at.
{
"id": "chk-4818227359",
"url": "https://example.com",
"title": "Grapple rubber-banding",
"question": "Did the grapple fix land?",
"kind": "fix",
"status": "intake",
"next_action": "wait",
"origin": "user",
"verdict": "improving",
"verdict_label": "Improving",
"created_at": "2026-03-12T10:30:00Z",
"started_at": "2026-03-12T10:30:00Z",
"completed_at": "2026-03-12T10:30:00Z",
"pending_questions": {
"intro": "string",
"questions": [
{
"id": "fixed_on",
"text": "When did the fix reach players?",
"type": "text",
"why": "string",
"options": [
null
],
"suggested_answer": "string"
}
]
},
"plan": {},
"progress": [
{
"name": "classify_mentions",
"label": "Reading what each message says",
"status": "pending"
}
],
"result": {},
"declined_reason": "string",
"error": "string",
"transcript": [
{}
]
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
project.analytics.view scope, the token lacks sentiments.checks.run (insufficient_scope; a coding agent token gets consent for “Read and work”), or the project’s plan does not include Sentiment Analysis (the example body).POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "This project's plan does not include Sentiment Analysis."
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Not found"
}
kind is not one of the kinds.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "kind must be one of fix, release, campaign, or left out."
}
Retry-After gives the seconds until the next slot; an open-check slot frees when a check finishes or is cancelled.429.
POST checks.json would start a check now (plan and both limits).
max again; null while there is room.
{
"error": "sentiment_check_limit",
"message": "This project already has 5 open checks. Finish or cancel one first.",
"limits": {
"can_start": true,
"feature_available": true,
"open_checks": {
"count": 2,
"max": 5
},
"started_in_last_24_hours": {
"count": 20,
"max": 20,
"next_slot_at": "2026-03-12T10:30:00Z"
}
}
}
next_action): the agent’s questions, the proposed plan, the analysis progress, and once completed the verdict and the full result.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| check_id required | string |
Obfuscated check id (chk-…), as returned in id.
|
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://app.betahub.io/projects/123/sentiments/checks/123.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/sentiments/checks/123.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/sentiments/checks/123.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/sentiments/checks/123.json", { headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/sentiments/checks/123.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
fix (did the fix land?), release (how was a release received, against the previous one), campaign (how did a sale, free weekend or creator push go). null until the intake agent decides, when the question was asked without one.
intake: the agent is working out what to analyse. awaiting_input: it waits for answers or for the plan to be confirmed (see next_action). queued/running: the analysis is waiting for or holding a worker. completed, failed and cancelled are final.
wait: BetaHub is working; poll the check (every 10 seconds or so; an analysis usually takes a few minutes). answer: answer pending_questions with answer.json. confirm_or_revise: run the plan with confirm.json or ask for changes with revise.json. null once the check is finished.
automatic: a release report BetaHub started on its own, 7 days after a release.
fixed, improving, no_change, worse, too_early, backfired, expected_backlash, accepted, mixed. Release reports: better, similar, worse, praised, praised_with_issues, mood_rose, mood_dropped, mood_held. Campaign recaps: regulars_upbeat, regulars_steady, regulars_cooled. Any kind: not_enough_data, cannot_answer.
next_action is answer.
answers.
date expects YYYY-MM-DD; release one of options (release labels). Choice questions accept one of options (a list for multi_choice) or your own words.
kind, title, summary and assumptions; the rest depends on the kind (fix: problem, search_phrases, fixed_on, platforms, before_days; release: release, release_on, compare_to, days_after; campaign: name, campaign_type, starts_on, ends_on, after_days, keywords).
queued or running.
kind, verdict, evidence (strong, moderate, weak), generated_at, headline, lede, caveats, report (summary and themes written for the team) and plan. Quotes anywhere in it are objects with id, text, date, channel, roles and link; text follows the project’s current message-privacy settings (key phrases only when raw text is not allowed) and is null when the message no longer exists.
status is failed.
question, questions, answers, plan, revision, confirmed and declined entries, each with role (user or agent), type and at.
{
"id": "chk-4818227359",
"url": "https://example.com",
"title": "Grapple rubber-banding",
"question": "Did the grapple fix land?",
"kind": "fix",
"status": "intake",
"next_action": "wait",
"origin": "user",
"verdict": "improving",
"verdict_label": "Improving",
"created_at": "2026-03-12T10:30:00Z",
"started_at": "2026-03-12T10:30:00Z",
"completed_at": "2026-03-12T10:30:00Z",
"pending_questions": {
"intro": "string",
"questions": [
{
"id": "fixed_on",
"text": "When did the fix reach players?",
"type": "text",
"why": "string",
"options": [
null
],
"suggested_answer": "string"
}
]
},
"plan": {},
"progress": [
{
"name": "classify_mentions",
"label": "Reading what each message says",
"status": "pending"
}
],
"result": {},
"declined_reason": "string",
"error": "string",
"transcript": [
{}
]
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
project.analytics.view scope.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Not found"
}
pending_questions (while next_action is answer). Questions left out count as “Not sure”. The agent then continues: the check returns to intake.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| check_id required | string |
Obfuscated check id (chk-…), as returned in id.
|
id. A string, or a list of strings for multi_choice; each at most 500 characters.
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "answers": { "fixed_on": "2026-09-18", "platform": [ "PC", "PS5" ] }, "note": "string" }' \ "https://app.betahub.io/projects/123/sentiments/checks/123/answer.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/sentiments/checks/123/answer.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "answers": { "fixed_on": "2026-09-18", "platform": [ "PC", "PS5" ] }, "note": "string" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/sentiments/checks/123/answer.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "answers": { "fixed_on": "2026-09-18", "platform": [ "PC", "PS5" ] }, "note": "string" } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/sentiments/checks/123/answer.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "answers": { "fixed_on": "2026-09-18", "platform": [ "PC", "PS5" ] }, "note": "string" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/sentiments/checks/123/answer.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"answers\":{\"fixed_on\":\"2026-09-18\",\"platform\":[\"PC\",\"PS5\"]},\"note\":\"string\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"answers": {
"fixed_on": "2026-09-18",
"platform": [
"PC",
"PS5"
]
},
"note": "string"
}
fix (did the fix land?), release (how was a release received, against the previous one), campaign (how did a sale, free weekend or creator push go). null until the intake agent decides, when the question was asked without one.
intake: the agent is working out what to analyse. awaiting_input: it waits for answers or for the plan to be confirmed (see next_action). queued/running: the analysis is waiting for or holding a worker. completed, failed and cancelled are final.
wait: BetaHub is working; poll the check (every 10 seconds or so; an analysis usually takes a few minutes). answer: answer pending_questions with answer.json. confirm_or_revise: run the plan with confirm.json or ask for changes with revise.json. null once the check is finished.
automatic: a release report BetaHub started on its own, 7 days after a release.
fixed, improving, no_change, worse, too_early, backfired, expected_backlash, accepted, mixed. Release reports: better, similar, worse, praised, praised_with_issues, mood_rose, mood_dropped, mood_held. Campaign recaps: regulars_upbeat, regulars_steady, regulars_cooled. Any kind: not_enough_data, cannot_answer.
next_action is answer.
answers.
date expects YYYY-MM-DD; release one of options (release labels). Choice questions accept one of options (a list for multi_choice) or your own words.
kind, title, summary and assumptions; the rest depends on the kind (fix: problem, search_phrases, fixed_on, platforms, before_days; release: release, release_on, compare_to, days_after; campaign: name, campaign_type, starts_on, ends_on, after_days, keywords).
queued or running.
kind, verdict, evidence (strong, moderate, weak), generated_at, headline, lede, caveats, report (summary and themes written for the team) and plan. Quotes anywhere in it are objects with id, text, date, channel, roles and link; text follows the project’s current message-privacy settings (key phrases only when raw text is not allowed) and is null when the message no longer exists.
status is failed.
question, questions, answers, plan, revision, confirmed and declined entries, each with role (user or agent), type and at.
{
"id": "chk-4818227359",
"url": "https://example.com",
"title": "Grapple rubber-banding",
"question": "Did the grapple fix land?",
"kind": "fix",
"status": "intake",
"next_action": "wait",
"origin": "user",
"verdict": "improving",
"verdict_label": "Improving",
"created_at": "2026-03-12T10:30:00Z",
"started_at": "2026-03-12T10:30:00Z",
"completed_at": "2026-03-12T10:30:00Z",
"pending_questions": {
"intro": "string",
"questions": [
{
"id": "fixed_on",
"text": "When did the fix reach players?",
"type": "text",
"why": "string",
"options": [
null
],
"suggested_answer": "string"
}
]
},
"plan": {},
"progress": [
{
"name": "classify_mentions",
"label": "Reading what each message says",
"status": "pending"
}
],
"result": {},
"declined_reason": "string",
"error": "string",
"transcript": [
{}
]
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
project.analytics.view scope, the token lacks sentiments.checks.run (insufficient_scope; a coding agent token gets consent for “Read and work”), or the project’s plan does not include Sentiment Analysis (the example body).POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "This project's plan does not include Sentiment Analysis."
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Not found"
}
status.
next_action.
{
"error": "This check is not waiting for answers.",
"status": "awaiting_input",
"next_action": "confirm_or_revise"
}
status.
next_action.
{
"error": "Unknown question ids: date. This check asks: fixed_on, platform.",
"status": "awaiting_input",
"next_action": "answer"
}
plan (while next_action is confirm_or_revise) and queues the analysis. It usually takes a few minutes.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| check_id required | string |
Obfuscated check id (chk-…), as returned in id.
|
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://app.betahub.io/projects/123/sentiments/checks/123/confirm.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/sentiments/checks/123/confirm.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/sentiments/checks/123/confirm.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/sentiments/checks/123/confirm.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/sentiments/checks/123/confirm.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .method("POST", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
fix (did the fix land?), release (how was a release received, against the previous one), campaign (how did a sale, free weekend or creator push go). null until the intake agent decides, when the question was asked without one.
intake: the agent is working out what to analyse. awaiting_input: it waits for answers or for the plan to be confirmed (see next_action). queued/running: the analysis is waiting for or holding a worker. completed, failed and cancelled are final.
wait: BetaHub is working; poll the check (every 10 seconds or so; an analysis usually takes a few minutes). answer: answer pending_questions with answer.json. confirm_or_revise: run the plan with confirm.json or ask for changes with revise.json. null once the check is finished.
automatic: a release report BetaHub started on its own, 7 days after a release.
fixed, improving, no_change, worse, too_early, backfired, expected_backlash, accepted, mixed. Release reports: better, similar, worse, praised, praised_with_issues, mood_rose, mood_dropped, mood_held. Campaign recaps: regulars_upbeat, regulars_steady, regulars_cooled. Any kind: not_enough_data, cannot_answer.
next_action is answer.
answers.
date expects YYYY-MM-DD; release one of options (release labels). Choice questions accept one of options (a list for multi_choice) or your own words.
kind, title, summary and assumptions; the rest depends on the kind (fix: problem, search_phrases, fixed_on, platforms, before_days; release: release, release_on, compare_to, days_after; campaign: name, campaign_type, starts_on, ends_on, after_days, keywords).
queued or running.
kind, verdict, evidence (strong, moderate, weak), generated_at, headline, lede, caveats, report (summary and themes written for the team) and plan. Quotes anywhere in it are objects with id, text, date, channel, roles and link; text follows the project’s current message-privacy settings (key phrases only when raw text is not allowed) and is null when the message no longer exists.
status is failed.
question, questions, answers, plan, revision, confirmed and declined entries, each with role (user or agent), type and at.
{
"id": "chk-4818227359",
"url": "https://example.com",
"title": "Grapple rubber-banding",
"question": "Did the grapple fix land?",
"kind": "fix",
"status": "intake",
"next_action": "wait",
"origin": "user",
"verdict": "improving",
"verdict_label": "Improving",
"created_at": "2026-03-12T10:30:00Z",
"started_at": "2026-03-12T10:30:00Z",
"completed_at": "2026-03-12T10:30:00Z",
"pending_questions": {
"intro": "string",
"questions": [
{
"id": "fixed_on",
"text": "When did the fix reach players?",
"type": "text",
"why": "string",
"options": [
null
],
"suggested_answer": "string"
}
]
},
"plan": {},
"progress": [
{
"name": "classify_mentions",
"label": "Reading what each message says",
"status": "pending"
}
],
"result": {},
"declined_reason": "string",
"error": "string",
"transcript": [
{}
]
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
project.analytics.view scope, the token lacks sentiments.checks.run (insufficient_scope; a coding agent token gets consent for “Read and work”), or the project’s plan does not include Sentiment Analysis (the example body).POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "This project's plan does not include Sentiment Analysis."
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Not found"
}
status.
next_action.
{
"error": "There is no plan to confirm.",
"status": "awaiting_input",
"next_action": "answer"
}
plan back to the agent with what should change (while next_action is confirm_or_revise). The check returns to intake and comes back with a new plan or more questions. A plan takes at most 10 changes; after that the request answers 409 and the plan can only be run, or the check cancelled.Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| check_id required | string |
Obfuscated check id (chk-…), as returned in id.
|
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "text": "The fix shipped on Sep 20, not Sep 18." }' \ "https://app.betahub.io/projects/123/sentiments/checks/123/revise.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/sentiments/checks/123/revise.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "text": "The fix shipped on Sep 20, not Sep 18." } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/sentiments/checks/123/revise.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "text": "The fix shipped on Sep 20, not Sep 18." } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/sentiments/checks/123/revise.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "text": "The fix shipped on Sep 20, not Sep 18." }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/sentiments/checks/123/revise.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"text\":\"The fix shipped on Sep 20, not Sep 18.\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"text": "The fix shipped on Sep 20, not Sep 18."
}
fix (did the fix land?), release (how was a release received, against the previous one), campaign (how did a sale, free weekend or creator push go). null until the intake agent decides, when the question was asked without one.
intake: the agent is working out what to analyse. awaiting_input: it waits for answers or for the plan to be confirmed (see next_action). queued/running: the analysis is waiting for or holding a worker. completed, failed and cancelled are final.
wait: BetaHub is working; poll the check (every 10 seconds or so; an analysis usually takes a few minutes). answer: answer pending_questions with answer.json. confirm_or_revise: run the plan with confirm.json or ask for changes with revise.json. null once the check is finished.
automatic: a release report BetaHub started on its own, 7 days after a release.
fixed, improving, no_change, worse, too_early, backfired, expected_backlash, accepted, mixed. Release reports: better, similar, worse, praised, praised_with_issues, mood_rose, mood_dropped, mood_held. Campaign recaps: regulars_upbeat, regulars_steady, regulars_cooled. Any kind: not_enough_data, cannot_answer.
next_action is answer.
answers.
date expects YYYY-MM-DD; release one of options (release labels). Choice questions accept one of options (a list for multi_choice) or your own words.
kind, title, summary and assumptions; the rest depends on the kind (fix: problem, search_phrases, fixed_on, platforms, before_days; release: release, release_on, compare_to, days_after; campaign: name, campaign_type, starts_on, ends_on, after_days, keywords).
queued or running.
kind, verdict, evidence (strong, moderate, weak), generated_at, headline, lede, caveats, report (summary and themes written for the team) and plan. Quotes anywhere in it are objects with id, text, date, channel, roles and link; text follows the project’s current message-privacy settings (key phrases only when raw text is not allowed) and is null when the message no longer exists.
status is failed.
question, questions, answers, plan, revision, confirmed and declined entries, each with role (user or agent), type and at.
{
"id": "chk-4818227359",
"url": "https://example.com",
"title": "Grapple rubber-banding",
"question": "Did the grapple fix land?",
"kind": "fix",
"status": "intake",
"next_action": "wait",
"origin": "user",
"verdict": "improving",
"verdict_label": "Improving",
"created_at": "2026-03-12T10:30:00Z",
"started_at": "2026-03-12T10:30:00Z",
"completed_at": "2026-03-12T10:30:00Z",
"pending_questions": {
"intro": "string",
"questions": [
{
"id": "fixed_on",
"text": "When did the fix reach players?",
"type": "text",
"why": "string",
"options": [
null
],
"suggested_answer": "string"
}
]
},
"plan": {},
"progress": [
{
"name": "classify_mentions",
"label": "Reading what each message says",
"status": "pending"
}
],
"result": {},
"declined_reason": "string",
"error": "string",
"transcript": [
{}
]
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
project.analytics.view scope, the token lacks sentiments.checks.run (insufficient_scope; a coding agent token gets consent for “Read and work”), or the project’s plan does not include Sentiment Analysis (the example body).POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "This project's plan does not include Sentiment Analysis."
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Not found"
}
status.
next_action.
{
"error": "This plan was changed 10 times. Run it, or cancel the check and ask again.",
"status": "awaiting_input",
"next_action": "confirm_or_revise"
}
text is empty or longer than 1000 characters.status.
next_action.
{
"error": "string",
"status": "awaiting_input",
"next_action": "wait"
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string | |
| check_id required | string |
Obfuscated check id (chk-…), as returned in id.
|
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://app.betahub.io/projects/123/sentiments/checks/123/cancel.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/sentiments/checks/123/cancel.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/sentiments/checks/123/cancel.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/sentiments/checks/123/cancel.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/sentiments/checks/123/cancel.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .method("POST", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
fix (did the fix land?), release (how was a release received, against the previous one), campaign (how did a sale, free weekend or creator push go). null until the intake agent decides, when the question was asked without one.
intake: the agent is working out what to analyse. awaiting_input: it waits for answers or for the plan to be confirmed (see next_action). queued/running: the analysis is waiting for or holding a worker. completed, failed and cancelled are final.
wait: BetaHub is working; poll the check (every 10 seconds or so; an analysis usually takes a few minutes). answer: answer pending_questions with answer.json. confirm_or_revise: run the plan with confirm.json or ask for changes with revise.json. null once the check is finished.
automatic: a release report BetaHub started on its own, 7 days after a release.
fixed, improving, no_change, worse, too_early, backfired, expected_backlash, accepted, mixed. Release reports: better, similar, worse, praised, praised_with_issues, mood_rose, mood_dropped, mood_held. Campaign recaps: regulars_upbeat, regulars_steady, regulars_cooled. Any kind: not_enough_data, cannot_answer.
next_action is answer.
answers.
date expects YYYY-MM-DD; release one of options (release labels). Choice questions accept one of options (a list for multi_choice) or your own words.
kind, title, summary and assumptions; the rest depends on the kind (fix: problem, search_phrases, fixed_on, platforms, before_days; release: release, release_on, compare_to, days_after; campaign: name, campaign_type, starts_on, ends_on, after_days, keywords).
queued or running.
kind, verdict, evidence (strong, moderate, weak), generated_at, headline, lede, caveats, report (summary and themes written for the team) and plan. Quotes anywhere in it are objects with id, text, date, channel, roles and link; text follows the project’s current message-privacy settings (key phrases only when raw text is not allowed) and is null when the message no longer exists.
status is failed.
question, questions, answers, plan, revision, confirmed and declined entries, each with role (user or agent), type and at.
{
"id": "chk-4818227359",
"url": "https://example.com",
"title": "Grapple rubber-banding",
"question": "Did the grapple fix land?",
"kind": "fix",
"status": "intake",
"next_action": "wait",
"origin": "user",
"verdict": "improving",
"verdict_label": "Improving",
"created_at": "2026-03-12T10:30:00Z",
"started_at": "2026-03-12T10:30:00Z",
"completed_at": "2026-03-12T10:30:00Z",
"pending_questions": {
"intro": "string",
"questions": [
{
"id": "fixed_on",
"text": "When did the fix reach players?",
"type": "text",
"why": "string",
"options": [
null
],
"suggested_answer": "string"
}
]
},
"plan": {},
"progress": [
{
"name": "classify_mentions",
"label": "Reading what each message says",
"status": "pending"
}
],
"result": {},
"declined_reason": "string",
"error": "string",
"transcript": [
{}
]
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
project.analytics.view scope, the token lacks sentiments.checks.run (insufficient_scope; a coding agent token gets consent for “Read and work”), or the project’s plan does not include Sentiment Analysis (the example body).POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "This project's plan does not include Sentiment Analysis."
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Not found"
}
Returns the project’s connected Steam discussions source (the community scanner) and what it found: thread activity over a range, suggestions waiting for more mentions, per-sub-forum counts, the running crawl and recent crawl history. The scanner reads a game’s Steam Community Hub, turns threads into bugs and suggestions, and feeds posts into sentiment analysis (as channels cf-<forum id>).
Only activity follows range. waiting_suggestions (the 8 newest, any age), forums (fixed 24-hour and 7-day windows) and crawl_history (the 10 newest runs) do not. Counts are by when a thread was posted on Steam, not when it was crawled.
When no Steam source is connected the endpoint answers 404 with {"error": "Steam discussions are not connected to this project."}.
Access requires the project.analytics.view scope (Developer role, organization admins, site admins) and a plan that includes the Steam discussions scanner (Pro, Enterprise; site admins bypass the plan check). A Personal Access Token (Authorization: Bearer pat-…) belonging to such a user is the intended integration credential; Project Auth Tokens (FormUser tkn-…) carry no user scope and are refused with 403.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| range optional | string |
Window for activity: the last 1, 7 or 30 days, or custom (from/to). Any other value, or custom without from, falls back to d7. The applied window is echoed in range.
d1
d7
d30
custom
Default:
d7 |
| from optional | string |
Start date for range=custom (from the start of that day); required for custom. An unparseable value leaves the start open (range.from is null).
|
| to optional | string |
End date for range=custom (through the end of that day). Defaults to now.
|
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/steam.json?range=d7&from=example&to=example"
require "net/http" uri = URI("https://app.betahub.io/projects/123/steam.json?range=d7&from=example&to=example") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/steam.json?range=d7&from=example&to=example", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/steam.json?range=d7&from=example&to=example", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/steam.json?range=d7&from=example&to=example")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
disconnected means an admin stopped the scanner; already imported data is kept.
false, the sentiment messages endpoint lists none of this source’s posts.
activity covers.
threads (threads still pending, unlinked by a person, or counted as a mention of a waiting suggestion are not listed).
forum_id on the threads endpoint.
cf-<id>, the sentiment channel value for channel_id[].
null when none is running.
threads_seen, new_threads, bugs_created, linked, suggestions_created, waiting, neither, skipped, errors, posts_ingested, deferred.
threads_seen, new_threads, bugs_created, linked, suggestions_created, waiting, neither, skipped, errors, posts_ingested, deferred.
{
"source": {
"name": "Mortal Shell II",
"app_id": "2584270",
"hub_url": "https://steamcommunity.com/app/2584270/discussions/",
"status": "idle",
"last_crawl_at": "2026-09-28T06:00:12.000Z",
"suggestion_mentions_threshold": 2,
"store_post_text": true
},
"range": {
"key": "d7",
"from": "2026-09-21T11:58:03.000Z",
"to": "2026-09-28T11:58:03.000Z"
},
"activity": {
"threads": 64,
"bugs": 9,
"linked": 5,
"suggestions": 3,
"waiting": 4,
"none": 38
},
"waiting_suggestions": [
{
"thread_id": 88213,
"title": "Add a photo mode",
"url": "https://steamcommunity.com/app/2584270/discussions/0/599648273012300001/",
"mentions": 1
}
],
"forums": [
{
"id": 13,
"name": "Bug Reports",
"url": "https://steamcommunity.com/app/2584270/discussions/3/",
"channel_value": "cf-13",
"last_24h": {
"threads": 2,
"bugs": 1,
"suggestions": 0
},
"last_7d": {
"threads": 19,
"bugs": 8,
"suggestions": 0
},
"newest_posted_at": "2026-09-28T09:14:00.000Z"
},
{
"id": 12,
"name": "General Discussions",
"url": "https://steamcommunity.com/app/2584270/discussions/0/",
"channel_value": "cf-12",
"last_24h": {
"threads": 6,
"bugs": 0,
"suggestions": 1
},
"last_7d": {
"threads": 45,
"bugs": 4,
"suggestions": 3
},
"newest_posted_at": "2026-09-28T10:31:00.000Z"
}
],
"current_crawl": null,
"crawl_history": [
{
"id": 402,
"status": "finished",
"started_at": "2026-09-28T05:58:40.000Z",
"finished_at": "2026-09-28T06:00:12.000Z",
"pages_fetched": 4,
"stats": {
"threads_seen": 57,
"new_threads": 9,
"bugs_created": 2,
"linked": 1,
"suggestions_created": 1,
"waiting": 1,
"neither": 4,
"posts_ingested": 212
},
"error": null
}
]
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
project.analytics.view scope, or the project’s plan does not include the Steam discussions scanner.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Steam discussions are not connected to this project."
}
Lists the Steam discussion threads the scanner read, newest posted first, 25 per page, each with its AI classification, what the scanner did with it (outcome) and the bug or suggestion it created or joined (record).
Filters combine. range defaults to the last 30 days here (unlike steam.json, which defaults to 7); range=all removes the date limit. Threads without a Steam post date appear only with range=all.
When no Steam source is connected the endpoint answers 404 with {"error": "Steam discussions are not connected to this project."}.
Access requires the project.analytics.view scope and a plan that includes the Steam discussions scanner (Pro, Enterprise; site admins bypass the plan check). A Personal Access Token (Authorization: Bearer pat-…) is the intended credential.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
| Name | Type | Description |
|---|---|---|
| range optional | string |
Only threads posted in the last 1, 7 or 30 days, or all. Omitted means d30; any other value (including custom, which this endpoint does not support) falls back to d7.
d1
d7
d30
all
Default:
d30 |
| classification optional | string |
Only threads with this classification. Unknown values are ignored.
unclassified
bug
suggestion
neither
skipped
|
| outcome optional | string |
Only threads with this outcome. Unknown values are ignored.
pending
created
linked
waiting
none
unlinked
|
| forum_id optional | integer |
Only threads of this sub-forum (a forums[].id from steam.json).
|
| q optional | string | Case-insensitive substring search in the thread title and the AI-generated title. |
| page optional | integer |
Page number (25 threads per page).
min: 1
Default:
1 |
| Name | Type | Description |
|---|---|---|
| BetaHub-Project-ID required | string | BetaHub project ID, the same as the project_id |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "BetaHub-Project-ID: 123" \ "https://app.betahub.io/projects/123/steam/threads.json?range=d30&classification=unclassified&outcome=pending&forum_id=123&q=example&page=1"
require "net/http" uri = URI("https://app.betahub.io/projects/123/steam/threads.json?range=d30&classification=unclassified&outcome=pending&forum_id=123&q=example&page=1") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["BetaHub-Project-ID"] = "123" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/steam/threads.json?range=d30&classification=unclassified&outcome=pending&forum_id=123&q=example&page=1", headers={"Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/steam/threads.json?range=d30&classification=unclassified&outcome=pending&forum_id=123&q=example&page=1", { headers: { "Authorization": "Bearer YOUR_API_TOKEN", "BetaHub-Project-ID": "123" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/steam/threads.json?range=d30&classification=unclassified&outcome=pending&forum_id=123&q=example&page=1")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("BetaHub-Project-ID", "123") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
created: a new bug or suggestion; linked: added to an existing one; waiting: a suggestion waiting for more mentions; none: nothing created; unlinked: a person undid a link; pending: not processed yet.
null when none.
type is issue.
{
"threads": [
{
"id": 88240,
"external_id": "599648273012345678",
"title": "Game crashes after boss",
"generated_title": "Crash to desktop after defeating the second boss",
"url": "https://steamcommunity.com/app/2584270/discussions/3/599648273012345678/",
"forum": {
"id": 13,
"name": "Bug Reports"
},
"posted_at": "2026-09-27T21:03:00.000Z",
"last_activity_at": "2026-09-28T08:40:00.000Z",
"reply_count": 7,
"pinned": false,
"classification": "bug",
"classification_reason": "Describes a reproducible crash.",
"confidence": 0.93,
"outcome": "created",
"unlinked_at": null,
"record": {
"type": "issue",
"id": 1203344,
"scoped_id": 482,
"title": "Crash to desktop after the second boss",
"url": "https://app.betahub.io/projects/pr-5287510306/issues/482"
}
},
{
"id": 88231,
"external_id": "599648273012300001",
"title": "Photo mode please",
"generated_title": "Add a photo mode",
"url": "https://steamcommunity.com/app/2584270/discussions/0/599648273012300001/",
"forum": {
"id": 12,
"name": "General Discussions"
},
"posted_at": "2026-09-27T18:20:00.000Z",
"last_activity_at": "2026-09-27T19:02:00.000Z",
"reply_count": 2,
"pinned": false,
"classification": "suggestion",
"classification_reason": "Requests a new feature.",
"confidence": 0.88,
"outcome": "waiting",
"unlinked_at": null,
"record": null
}
],
"pagination": {
"current_page": 1,
"total_pages": 3,
"total_count": 58,
"per_page": 25
}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
project.analytics.view scope, or the project’s plan does not include the Steam discussions scanner.render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "Steam discussions are not connected to this project."
}
Returns the profile of the currently authenticated user, including their display name and all project role assignments.
This endpoint identifies the user from an account-level credential: a Personal Access Token (Authorization: Bearer pat-...) or an active browser session. Project Auth Tokens (FormUser tkn-...) are project form-user credentials, not user accounts, and are rejected with 401 Unauthorized.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://app.betahub.io/profiles/me.json"
require "net/http" uri = URI("https://app.betahub.io/profiles/me.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/profiles/me.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/profiles/me.json", { headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/profiles/me.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
Summary of the project the role applies to.
Only the fields listed below are contractual and safe to depend on. For historical reasons this object is currently serialized from the internal project record, so additional, undocumented properties (internal flags, counters, timestamps, etc.) may also appear in the response. Those extra properties are NOT part of the API contract and may change or disappear without notice — do not rely on them.
pr-... project id used elsewhere in the API and UI.
The user’s role on the project, as a free-form string — NOT a closed enumeration.
For the three built-in system roles this is a stable role key: developer, tester, or support. For custom roles defined by an organization it is the role’s display name, which is arbitrary, organization-defined text and can be anything. Treat this value as an opaque string: match the known built-in keys if you need to, but do not assume the full set of possible values.
{
"name": "string",
"roles": [
{
"project": {
"id": 0,
"name": "string",
"description": "string",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z"
},
"role": "string"
}
]
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
The documents the support bot answers players from (the V2 engine), with the plan’s limit. Solutions from bug work do not count toward it.
Authorization. The project.support.manage permission in the project. Any coding agent can read them.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://app.betahub.io/projects/123/support_knowledge_v2_documents.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/support_knowledge_v2_documents.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/support_knowledge_v2_documents.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/support_knowledge_v2_documents.json", { headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/support_knowledge_v2_documents.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"documents": [
{
"id": 0,
"title": "string",
"source_type": "static_file",
"source_url": "string",
"characters": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z"
}
],
"count": 0,
"limit": 0,
"url": "https://example.com"
}
POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
Adds a document from text, a file (PDF, TXT or MD, up to 10 MB, multipart) or a web page fetched by URL. A document with the same title, or for a page the same URL, is updated instead, so loading a set of articles again does not duplicate them; only a new document counts toward the plan’s limit. A document that came from a solution, a ticket or Discord is never replaced (422 title_taken). The bot answers from it with the next player question. The team feed records each document added or updated; an agent’s update keeps the text it replaced. Documents are never deleted through the API. Projects on the first engine get 422 engine_v1.
Authorization. As for listing. A coding agent needs “Read and work” in the project’s organization (403 with consent otherwise). Each request counts against the agent’s hourly limit on changes.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
source_type.
url to fetch a page.
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "support_knowledge_v2_document": { "title": "string", "content": "string" }, "source_type": "url", "import_url": "https://example.com", "import_title": "string" }' \ "https://app.betahub.io/projects/123/support_knowledge_v2_documents.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/support_knowledge_v2_documents.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "support_knowledge_v2_document": { "title": "string", "content": "string" }, "source_type": "url", "import_url": "https://example.com", "import_title": "string" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/support_knowledge_v2_documents.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "support_knowledge_v2_document": { "title": "string", "content": "string" }, "source_type": "url", "import_url": "https://example.com", "import_title": "string" } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/support_knowledge_v2_documents.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "support_knowledge_v2_document": { "title": "string", "content": "string" }, "source_type": "url", "import_url": "https://example.com", "import_title": "string" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/support_knowledge_v2_documents.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"support_knowledge_v2_document\":{\"title\":\"string\",\"content\":\"string\"},\"source_type\":\"url\",\"import_url\":\"https://example.com\",\"import_title\":\"string\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"support_knowledge_v2_document": {
"title": "string",
"content": "string"
},
"source_type": "url",
"import_url": "https://example.com",
"import_title": "string"
}
created true).{
"id": 0,
"title": "string",
"source_type": "static_file",
"source_url": "string",
"characters": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"created": true
}
created false).{
"id": 0,
"title": "string",
"source_type": "static_file",
"source_url": "string",
"characters": 0,
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"created": true
}
consent).POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
limit_reached (with upgrade_url for an admin), title_taken, engine_v1 (with the settings url), or not saved (errors), e.g. a page that could not be fetched.{
"error": "string",
"errors": [
"string"
],
"url": "string",
"upgrade_url": "string",
"message": "string"
}
{
"error": "agent_write_cap",
"message": "string",
"retry_after": 1800
}
The support bot’s personality, answer length and tone, footer, source links, bug and suggestion detection, and engine.
Authorization. The project.support.manage permission in the project. Any coding agent can read them.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://app.betahub.io/projects/123/support_knowledge_settings.json"
require "net/http" uri = URI("https://app.betahub.io/projects/123/support_knowledge_settings.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/projects/123/support_knowledge_settings.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/support_knowledge_settings.json", { headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/support_knowledge_settings.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"support_knowledge_personality": "string",
"support_knowledge_response_length": "concise",
"support_knowledge_response_tone": "formal",
"support_knowledge_footer_text": "string",
"support_knowledge_footer_on_answer": true,
"support_knowledge_footer_on_no_answer": true,
"support_knowledge_include_source_links": true,
"support_knowledge_detect_bug_reports": true,
"support_knowledge_detect_suggestions": true,
"support_time_saved_per_interaction_minutes": 0,
"support_knowledge_engine": "v1"
}
POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
Changes the settings sent; they apply to the next player question. The engine is changed only in BetaHub (422 engine through the API). The team feed records each setting changed with its previous value; a request that changes nothing records nothing.
Authorization. As for reading. A coding agent needs “Read and work” in the project’s organization (403 with consent otherwise). Each request counts against the agent’s hourly limit on changes.
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| project_id required | string |
curl \ -X PATCH \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "project": { "support_knowledge_personality": "string", "support_knowledge_response_length": "concise", "support_knowledge_response_tone": "formal", "support_knowledge_footer_text": "string", "support_knowledge_footer_on_answer": true, "support_knowledge_footer_on_no_answer": true, "support_knowledge_include_source_links": true, "support_knowledge_detect_bug_reports": true, "support_knowledge_detect_suggestions": true, "support_time_saved_per_interaction_minutes": 0, "support_knowledge_engine": "v1" } }' \ "https://app.betahub.io/projects/123/support_knowledge_settings.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/support_knowledge_settings.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Patch.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "project": { "support_knowledge_personality": "string", "support_knowledge_response_length": "concise", "support_knowledge_response_tone": "formal", "support_knowledge_footer_text": "string", "support_knowledge_footer_on_answer": true, "support_knowledge_footer_on_no_answer": true, "support_knowledge_include_source_links": true, "support_knowledge_detect_bug_reports": true, "support_knowledge_detect_suggestions": true, "support_time_saved_per_interaction_minutes": 0, "support_knowledge_engine": "v1" } } response = http.request(request) puts response.body
import requests response = requests.patch( "https://app.betahub.io/projects/123/support_knowledge_settings.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "project": { "support_knowledge_personality": "string", "support_knowledge_response_length": "concise", "support_knowledge_response_tone": "formal", "support_knowledge_footer_text": "string", "support_knowledge_footer_on_answer": true, "support_knowledge_footer_on_no_answer": true, "support_knowledge_include_source_links": true, "support_knowledge_detect_bug_reports": true, "support_knowledge_detect_suggestions": true, "support_time_saved_per_interaction_minutes": 0, "support_knowledge_engine": "v1" } } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/support_knowledge_settings.json", { method: "PATCH", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "project": { "support_knowledge_personality": "string", "support_knowledge_response_length": "concise", "support_knowledge_response_tone": "formal", "support_knowledge_footer_text": "string", "support_knowledge_footer_on_answer": true, "support_knowledge_footer_on_no_answer": true, "support_knowledge_include_source_links": true, "support_knowledge_detect_bug_reports": true, "support_knowledge_detect_suggestions": true, "support_time_saved_per_interaction_minutes": 0, "support_knowledge_engine": "v1" } }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/support_knowledge_settings.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .PATCH(HttpRequest.BodyPublishers.ofString("{\"project\":{\"support_knowledge_personality\":\"string\",\"support_knowledge_response_length\":\"concise\",\"support_knowledge_response_tone\":\"formal\",\"support_knowledge_footer_text\":\"string\",\"support_knowledge_footer_on_answer\":true,\"support_knowledge_footer_on_no_answer\":true,\"support_knowledge_include_source_links\":true,\"support_knowledge_detect_bug_reports\":true,\"support_knowledge_detect_suggestions\":true,\"support_time_saved_per_interaction_minutes\":0,\"support_knowledge_engine\":\"v1\"}}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"project": {
"support_knowledge_personality": "string",
"support_knowledge_response_length": "concise",
"support_knowledge_response_tone": "formal",
"support_knowledge_footer_text": "string",
"support_knowledge_footer_on_answer": true,
"support_knowledge_footer_on_no_answer": true,
"support_knowledge_include_source_links": true,
"support_knowledge_detect_bug_reports": true,
"support_knowledge_detect_suggestions": true,
"support_time_saved_per_interaction_minutes": 0,
"support_knowledge_engine": "v1"
}
}
{
"support_knowledge_personality": "string",
"support_knowledge_response_length": "concise",
"support_knowledge_response_tone": "formal",
"support_knowledge_footer_text": "string",
"support_knowledge_footer_on_answer": true,
"support_knowledge_footer_on_no_answer": true,
"support_knowledge_include_source_links": true,
"support_knowledge_detect_bug_reports": true,
"support_knowledge_detect_suggestions": true,
"support_time_saved_per_interaction_minutes": 0,
"support_knowledge_engine": "v1"
}
consent).POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
engine, or not saved (errors).{
"error": "string",
"errors": [
"string"
]
}
{
"error": "agent_write_cap",
"message": "string",
"retry_after": 1800
}
Submit a question to the project’s support knowledge base and get an AI-generated answer. The response is generated using the project’s configured search engine (V1 embedding-based or V2 agentic).
Optional style parameters allow per-request overrides of the project’s default response style settings. When omitted, the project’s configured defaults are used.
Authentication: call with a Project Auth Token that has the Can search knowledge base permission, using the Authorization: FormUser tkn-YOUR_TOKEN header. The token must belong to the project in the URL. A common use is to query the knowledge base from your own game or bug reporter and suggest a solution before the player files a bug. Returns 403 Forbidden if the token lacks the permission, belongs to a different project, or has exceeded its daily search limit (default 30 per IP).
| Name | Type | Description |
|---|---|---|
| project_id required | string |
Project ID (e.g., pr-1234567)
|
response_length and response_tone.
true, the AI includes links to source documents in its response. Only applies to web page documents that have URLs.
Controls how the classification gate handles neither classifications (casual chat, opinions, meta-commentary, statements without questions).
When true (strict mode), the endpoint returns early with has_answer: false and skip_reason: not_support_or_gameplay for neither-classified queries. Use this for passive Discord bot listeners that should ignore casual channel chat.
When false or omitted (default — permissive mode), classification still runs (so classification and classification_reasoning are populated), but the search proceeds regardless. The answering LLM/agent decides whether to refuse off-topic queries on its own. This is the right mode for explicitly invoked callers (API testing, web help widget, slash commands, @mentions).
falsecurl \ -X POST \ -H "Content-Type: application/json" \ -d '{ "query": "How do I set up the Discord bot?", "user": { "discord_id": "123456789", "username": "player1" }, "response_length": "concise", "response_tone": "formal", "personality": "Respond like a friendly game developer. Use casual language.", "include_source_links": true, "strict_classification": true }' \ "https://app.betahub.io/projects/123/support_knowledge/ask"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/support_knowledge/ask") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Content-Type"] = "application/json" request.body = { "query": "How do I set up the Discord bot?", "user": { "discord_id": "123456789", "username": "player1" }, "response_length": "concise", "response_tone": "formal", "personality": "Respond like a friendly game developer. Use casual language.", "include_source_links": true, "strict_classification": true } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/support_knowledge/ask", json={ "query": "How do I set up the Discord bot?", "user": { "discord_id": "123456789", "username": "player1" }, "response_length": "concise", "response_tone": "formal", "personality": "Respond like a friendly game developer. Use casual language.", "include_source_links": true, "strict_classification": true } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/support_knowledge/ask", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "query": "How do I set up the Discord bot?", "user": { "discord_id": "123456789", "username": "player1" }, "response_length": "concise", "response_tone": "formal", "personality": "Respond like a friendly game developer. Use casual language.", "include_source_links": true, "strict_classification": true }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/support_knowledge/ask")) .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"query\":\"How do I set up the Discord bot?\",\"user\":{\"discord_id\":\"123456789\",\"username\":\"player1\"},\"response_length\":\"concise\",\"response_tone\":\"formal\",\"personality\":\"Respond like a friendly game developer. Use casual language.\",\"include_source_links\":true,\"strict_classification\":true}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"query": "How do I set up the Discord bot?",
"user": {
"discord_id": "123456789",
"username": "player1"
},
"response_length": "concise",
"response_tone": "formal",
"personality": "Respond like a friendly game developer. Use casual language.",
"include_source_links": true,
"strict_classification": true
}
null if no answer was found.
support_issue, gameplay_question, bug_report, neither.
technical, gameplay).
user data was provided and an answer was found.
not_support_or_gameplay, no_technical_sources, no_gameplay_sources, no_v2_documents.
question_similarity, rule_based.
true when the organization has reached its monthly support knowledge request limit.
limit_reached is true.
limit_reached is true.
limit_reached is true.
{
"query": "string",
"answer": "string",
"has_answer": true,
"classification": "string",
"classification_reasoning": "string",
"sources": [
{
"id": 0,
"name": "string",
"type": "string",
"url": "string"
}
],
"support_knowledge_interaction_id": "string",
"footer": "string",
"skip_reason": "string",
"canned_response_id": 0,
"canned_response_match_type": "string",
"tool_calls": [
{
"name": "string",
"input": {},
"iteration": 0
}
],
"limit_reached": true,
"limit": 0,
"requests_remaining": 0,
"reset_at": "2026-03-12T10:30:00Z"
}
{
"error": "Permission denied or rate limit exceeded"
}
{
"error": "Invalid response_length. Valid values: concise, standard, detailed"
}
Authorization header for API access. Supports multiple authentication methods:
FormUser anonymous - for public operationsFormUser tkn-{token} - for authenticated operations with legacy tokensFormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)Bearer YOUR_TOKEN_HERE - recommended for API integrationsValidation Rules:
email: (trimmed, case-insensitive) must either belong to an existing account or be a deliverable address: ASCII only, no leading, trailing or consecutive dots in the local part, a dotted domain, and a top-level domain of at least 2 characters starting with a letter (punycode xn-- allowed); at most 254 characters. This is stricter than RFC 5322. Invalid emails will fall back to anonymous access.discord_id: format must be numeric (digits only). Invalid discord_ids will fall back to anonymous access.Personal Access Tokens provide enhanced security and can be created and managed in your account settings. They are ideal for API integrations, automated scripts, and CI/CD pipelines.
A PAT authenticates the request as the user who created it and acts with that user’s permissions. It is NOT governed by the can_create_* boolean flags that belong to Project Auth Tokens (FormUser tkn-...). Instead, each operation is authorized against the permission scopes the user holds through their role in the target project — for example bugs.update (alias issues.update), bugs.delete (issues.delete), bugs.archive (issues.archive), suggestions.update, tickets.update, project.releases.manage, and project.taxonomy.manage. See the bearerAuth security scheme in the API description for the full scope vocabulary. A request the user’s scopes do not permit returns 403 Forbidden.
For more information about Personal Access Tokens, see: https://betahub.io/docs/account/#personal-access-tokens
| Name | Type | Description |
|---|---|---|
| id required | integer | The comment ID |
curl \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://app.betahub.io/comments/123.json"
require "net/http" uri = URI("https://app.betahub.io/comments/123.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/comments/123.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/comments/123.json", { headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/comments/123.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"id": 0,
"body": "string",
"created_at": "2026-03-12T10:30:00Z",
"updated_at": "2026-03-12T10:30:00Z",
"solution": true,
"private_comment": true,
"user": {
"id": 0,
"name": "string",
"discord_username": "string"
},
"commentable": {
"id": 0,
"type": "string"
}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "string",
"status": {}
}
Generates a single-use JWT submission token that can be embedded in game clients or web forms. The token carries trusted data (email, custom fields) that cannot be tampered with by the end user.
The token must be included in the Authorization header when submitting issues, feature requests, or tickets: FormUser tkn-{auth_token},{submission_token}
Authentication: Requires a Personal Access Token (PAT) with developer access to the project. Use Authorization: Bearer pat-YOUR_TOKEN header.
When it is required vs optional. Whether a submission token is mandatory depends on the Project Auth Token used to submit:
If that auth token has require_submission_token enabled, then EVERY
submission must include a valid submission JWT in the header
(FormUser tkn-{auth_token},{submission_token}). A submission without one —
or with an invalid/expired one — is rejected with 403 Forbidden
(e.g. “Submission token is required for this auth token. Generate one via the API.”).
Otherwise the submission JWT is optional; when present, its trusted claims (email, custom fields) are still applied to the submission.
Single-use: Each token can only be used for one submission. The unique token identifier (jti) is consumed on successful submission. Reusing a consumed token carries the message “Submission token has already been used. Please generate a new one.”, but the HTTP status depends on configuration: when the auth token has require_submission_token enabled, reuse is caught pre-save and rejected with 403 Forbidden; 422 Unprocessable Entity occurs only when the submission token is optional (require_submission_token disabled) or in a concurrent-submission race, where reuse is detected later at consume time. A token is also bound to the project it was issued for — using it against a different project is rejected.
Bearer pat-YOUR_TOKEN| Name | Type | Description |
|---|---|---|
| project_id required | string |
Key-value pairs of custom field values to embed in the token. When the token is used, these values are applied to the submission and overwrite any user-provided values for the same fields.
Each key may be a custom field’s ident OR its display name (the server resolves by ident first, then falls back to name). Discover the available fields — and which apply to issues, feature requests, or tickets — via GET /projects/{project_id}/custom_fields.json (filter by the field’s applies_to). Keys that match no field are silently dropped.
Provide values in the shape the target field type expects (e.g. a plain string for text, one of the configured options for single_select).
86400curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "email": "player@example.com", "custom": { "platform": "windows", "build_number": "2024.3.1" }, "expires_in": 86400 }' \ "https://app.betahub.io/projects/123/submission_tokens.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/submission_tokens.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" request["Content-Type"] = "application/json" request.body = { "email": "player@example.com", "custom": { "platform": "windows", "build_number": "2024.3.1" }, "expires_in": 86400 } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/submission_tokens.json", headers={"Authorization": "Bearer YOUR_API_TOKEN"}, json={ "email": "player@example.com", "custom": { "platform": "windows", "build_number": "2024.3.1" }, "expires_in": 86400 } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/submission_tokens.json", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "email": "player@example.com", "custom": { "platform": "windows", "build_number": "2024.3.1" }, "expires_in": 86400 }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/submission_tokens.json")) .header("Authorization", "Bearer YOUR_API_TOKEN") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"email\":\"player@example.com\",\"custom\":{\"platform\":\"windows\",\"build_number\":\"2024.3.1\"},\"expires_in\":86400}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"email": "player@example.com",
"custom": {
"platform": "windows",
"build_number": "2024.3.1"
},
"expires_in": 86400
}
{
"token": "eyJhbGciOiJIUzI1NiJ9.eyJwcm9qZWN0X2lkIjoxLCJqdGkiOiI...",
"expires_at": "2026-03-27T16:00:00Z"
}
Authorization: Bearer header.Introspects any BetaHub token and reports what it is, without performing a business operation. Useful for a client to confirm its credentials and discover the associated project / user / permissions before making real calls.
No authentication required — this is a public endpoint. The token to inspect is supplied either in the Authorization header or in the token query/body parameter (the header takes precedence). All three token kinds are recognized automatically from their shape:
Bearer pat-... (or the raw pat-... value)Bearer tkn-... (or the raw tkn-... value)user_id claim (e.g. a device-auth / session user JWT). A submission token has no
user_id claim, so it is NOT recognized here — it falls through and the endpoint
responds 401 with valid: false.The response body shape depends on token_type. A valid token returns 200 with valid: true; an invalid, expired, or unrecognized token returns 401 with valid: false and an error string.
Bearer <token> or the bare token string. If absent, the token parameter is used instead.| Name | Type | Description |
|---|---|---|
| token optional | string |
The token to verify, as an alternative to the Authorization header. Ignored when the header is present.
|
curl \ -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://app.betahub.io/auth/verify?token=example"
require "net/http" uri = URI("https://app.betahub.io/auth/verify?token=example") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Authorization"] = "Bearer YOUR_API_TOKEN" response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/auth/verify?token=example", headers={"Authorization": "Bearer YOUR_API_TOKEN"} ) print(response.json())
const response = await fetch("https://app.betahub.io/auth/verify?token=example", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_TOKEN" } }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/auth/verify?token=example")) .header("Authorization", "Bearer YOUR_API_TOKEN") .method("POST", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
token_type.legacy for a token not created from a preset. Whether the token is restricted is given by scopes.
pr-5632787018).
iat claim), or null when absent.
{
"valid": true,
"token_type": "personal_access_token",
"user": {
"id": 34,
"email": "dev@example.com",
"name": "Jane Developer"
},
"token_name": "CI pipeline",
"expires_at": "2026-12-31T23:59:59Z",
"last_used_at": "2026-07-20T10:15:00Z",
"created_at": "2026-01-01T00:00:00Z",
"scopes": null,
"profile": "legacy"
}
{
"valid": true,
"token_type": "project_auth_token",
"project": {
"id": 1,
"name": "My Game",
"slug": "pr-5632787018"
},
"permissions": {
"can_create_bug_report": true,
"can_create_feature_request": true,
"can_create_ticket": false,
"can_read_release_list": true,
"can_create_release": false
},
"rate_limits": {
"bug_reports_per_day": 8,
"feature_requests_per_day": 8,
"tickets_per_day": 8
},
"token_name": "Game client token"
}
{
"valid": true,
"token_type": "jwt",
"user": {
"id": 34,
"email": "player@example.com",
"name": "Jane Player"
},
"expires_at": "2026-07-21T10:15:00Z",
"issued_at": "2026-07-20T10:15:00Z"
}
{
"valid": false,
"error": "Invalid or expired token"
}
{
"valid": false,
"error": "Token is required"
}
Begins an OAuth-2.0-device-style handshake that lets a headless or external client (a game, a launcher, a desktop app) obtain a user-scoped JWT after the user approves it in a web browser.
The full flow:
The client POSTs here with a request_id it generates (a UUID) plus a
human-readable entity_kind and entity_name describing what is asking
for access. The request is stored and expires 5 minutes after
creation.
The client directs the user to open
GET /device_auth/{request_id}/authorize in a browser. That page requires
the user to be signed in to BetaHub and shows an approval screen; approving
it POSTs to /device_auth/{request_id}/approve, which binds the request
to the signed-in user.
Meanwhile the client polls GET /device_auth/{request_id}/poll. Once the
request is approved, the poll response returns the JWT.
No authentication is required to create the request (the browser authorize/approve steps are what authenticate the user). The request_id is the shared secret tying the three steps together, so treat it as sensitive and generate it with a strong random UUID.
game_client, launcher). Shown to the user on the approval screen.
curl \ -X POST \ -H "Content-Type: application/json" \ -d '{ "request_id": "0f6c9b3e-4a1d-4b2c-9c8e-1234567890ab", "entity_kind": "game_client", "entity_name": "My Game (Steam build)" }' \ "https://app.betahub.io/device_auth/create"
require "net/http" require "json" uri = URI("https://app.betahub.io/device_auth/create") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Content-Type"] = "application/json" request.body = { "request_id": "0f6c9b3e-4a1d-4b2c-9c8e-1234567890ab", "entity_kind": "game_client", "entity_name": "My Game (Steam build)" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/device_auth/create", json={ "request_id": "0f6c9b3e-4a1d-4b2c-9c8e-1234567890ab", "entity_kind": "game_client", "entity_name": "My Game (Steam build)" } ) print(response.json())
const response = await fetch("https://app.betahub.io/device_auth/create", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "request_id": "0f6c9b3e-4a1d-4b2c-9c8e-1234567890ab", "entity_kind": "game_client", "entity_name": "My Game (Steam build)" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/device_auth/create")) .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"request_id\":\"0f6c9b3e-4a1d-4b2c-9c8e-1234567890ab\",\"entity_kind\":\"game_client\",\"entity_name\":\"My Game (Steam build)\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"request_id": "0f6c9b3e-4a1d-4b2c-9c8e-1234567890ab",
"entity_kind": "game_client",
"entity_name": "My Game (Steam build)"
}
{
"status": "created"
}
entity_kind / entity_name, or a duplicate request_id).{
"status": "error",
"errors": [
"Entity kind can't be blank"
]
}
Polls the state of a device authorization request. The client calls this repeatedly after creating the request. No authentication is required.
States (returned as status):
pending — not yet approved (and not expired). Keep polling.approved — the user approved it; the response includes the user-scoped
JWT in token. Stop polling and use the token. The JWT itself expires
24 hours after issuance.
expired — the request passed its 5-minute lifetime before approval.
Start over with a new request_id.
not_found — no request exists for this request_id.| Name | Type | Description |
|---|---|---|
| request_id required | string | The UUID supplied when the request was created. |
curl \ "https://app.betahub.io/device_auth/123/poll"
require "net/http" uri = URI("https://app.betahub.io/device_auth/123/poll") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/device_auth/123/poll" ) print(response.json())
const response = await fetch("https://app.betahub.io/device_auth/123/poll"); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/device_auth/123/poll")) .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
pending, approved, or expired.status is approved.
{
"status": "pending"
}
{
"status": "approved",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"user_name": "Jane Player"
}
{
"status": "expired"
}
request_id.{
"status": "not_found"
}
Receives a crash report from the Unreal Engine CrashReportClient (CRC). CRC POSTs a zlib-compressed binary blob to the DataRouterUrl configured in DefaultEngine.ini, e.g. https://app.betahub.io/crashes/unreal/tkn-abc123.
Authentication is different from every other endpoint. CrashReportClient cannot set custom headers, so the auth token is embedded directly in the URL PATH (there is no Authorization header). The token must be a project auth token (tkn-…) whose can_report_crash permission is enabled; otherwise the request is rejected with 401.
CRC appends its own query parameters (?AppID=CrashReporter&AppVersion=…&UploadType=crashreports&UserID=…); these are preserved for logging but are not used for authentication.
Processing is asynchronous: on success the endpoint stores the raw blob and returns an empty 200 immediately, then a background job parses the report and attaches it to the project. All responses are empty-bodied status codes (no JSON).
| Name | Type | Description |
|---|---|---|
| token required | string |
The project auth token (tkn-…) with the can_report_crash permission, embedded in the URL path (not sent as a header).
|
curl \ -X POST \ "https://app.betahub.io/crashes/unreal/example"
require "net/http" require "json" uri = URI("https://app.betahub.io/crashes/unreal/example") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/crashes/unreal/example" ) print(response.json())
const response = await fetch("https://app.betahub.io/crashes/unreal/example", { method: "POST" }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/crashes/unreal/example")) .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("\"string\"")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
"string"
can_report_crash permission. Empty body.curl \ "https://app.betahub.io/agents/setup.md"
require "net/http" uri = URI("https://app.betahub.io/agents/setup.md") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/agents/setup.md" ) print(response.json())
const response = await fetch("https://app.betahub.io/agents/setup.md"); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/agents/setup.md")) .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
"string"
Starts an RFC 8628 device flow. Open verification_uri_complete in the user’s browser; the user, signed in, checks the user_code and approves. Then poll POST /agent_auth/token.
Without a token this asks for a new agent token. An agent that already has one and got 403 insufficient_scope with a consent sends its token and the intent from consent: approval adds the keys to that same token.
connect: read everything the user can see. setup: that, plus the setup keys for 24 hours, bound to one project (new or picked by the user). On both, the user also picks “Read and work on reports” or “Read only”, the two switches and the organizations for changes. work, players and exposure need the agent’s own token: they ask for what a 403 consent names.
work, players or exposure: the id of the organization a 403 consent named. The consent page ticks it for the user. Ignored with other intents.
curl \ -X POST \ -H "Content-Type: application/json" \ -d '{ "agent_name": "string", "intent": "connect", "organization_id": "org-1234567890" }' \ "https://app.betahub.io/agent_auth"
require "net/http" require "json" uri = URI("https://app.betahub.io/agent_auth") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Content-Type"] = "application/json" request.body = { "agent_name": "string", "intent": "connect", "organization_id": "org-1234567890" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/agent_auth", json={ "agent_name": "string", "intent": "connect", "organization_id": "org-1234567890" } ) print(response.json())
const response = await fetch("https://app.betahub.io/agent_auth", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "agent_name": "string", "intent": "connect", "organization_id": "org-1234567890" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/agent_auth")) .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"agent_name\":\"string\",\"intent\":\"connect\",\"organization_id\":\"org-1234567890\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"agent_name": "string",
"intent": "connect",
"organization_id": "org-1234567890"
}
QTHP-MDBG. The user compares it on the consent page.
{
"device_code": "string",
"user_code": "string",
"verification_uri": "https://example.com",
"verification_uri_complete": "https://example.com",
"expires_in": 600,
"interval": 5
}
unknown_intent (with intents), agent_token_required (a token was sent that is not an agent token, or none with work, players or exposure), already_connected (an agent token asked for connect), unknown_organization (no organization has that organization_id), or invalid_request (with messages, e.g. a missing agent_name).{
"error": "unknown_intent",
"intents": [
"string"
],
"messages": [
"string"
]
}
interval seconds until the user decides. An approved request answers once; later polls get expired_token.curl \ -X POST \ -H "Content-Type: application/json" \ -d '{ "device_code": "string" }' \ "https://app.betahub.io/agent_auth/token"
require "net/http" require "json" uri = URI("https://app.betahub.io/agent_auth/token") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Content-Type"] = "application/json" request.body = { "device_code": "string" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/agent_auth/token", json={ "device_code": "string" } ) print(response.json())
const response = await fetch("https://app.betahub.io/agent_auth/token", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "device_code": "string" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/agent_auth/token")) .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"device_code\":\"string\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"device_code": "string"
}
pat-... token. Store it in the user-level MCP config, never in the repository.
connect consent.
{
"access_token": "string",
"token_type": "Bearer",
"profile": "agent",
"expires_at": "2026-03-12T10:30:00Z",
"scopes": [
"string"
],
"write_organizations": [
{
"id": "string",
"name": "string"
}
],
"setup": {
"project": {
"id": "string",
"name": "string"
},
"organization": {
"id": "string",
"name": "string"
},
"expires_at": "2026-03-12T10:30:00Z"
}
}
authorization_pending: poll again after interval. slow_down: add 5 seconds to the interval. access_denied: the user cancelled, or deleted the agent’s token. expired_token: the request expired or was already redeemed. invalid_grant: unknown device code.
{
"error": "authorization_pending"
}
curl \ -X POST \ -H "Content-Type: application/json" \ -d '{ "message": "string" }' \ "https://app.betahub.io/agent_feedback"
require "net/http" require "json" uri = URI("https://app.betahub.io/agent_feedback") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Content-Type"] = "application/json" request.body = { "message": "string" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/agent_feedback", json={ "message": "string" } ) print(response.json())
const response = await fetch("https://app.betahub.io/agent_feedback", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "message": "string" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/agent_feedback")) .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"message\":\"string\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"message": "string"
}
{
"received": true,
"message": "string"
}
personal_access_token_required: no token was sent.invalid_feedback with messages: an empty or overlong message.too_many_feedbacks: the hourly cap is reached.org.read.curl \ "https://app.betahub.io/organizations.json"
require "net/http" uri = URI("https://app.betahub.io/organizations.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) response = http.request(request) puts response.body
import requests response = requests.get( "https://app.betahub.io/organizations.json" ) print(response.json())
const response = await fetch("https://app.betahub.io/organizations.json"); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/organizations.json")) .GET() .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
org-...)
integrations: issue-tracker integrations (Jira, GitHub, …). steam_discussions: the Steam discussions scanner.
edit_url opens the project’s Actions card, where the user deactivates it to free a slot.
#project-actions), where Deactivate is.
{
"organizations": [
{
"id": "string",
"name": "string",
"admin": true,
"plan": "basic",
"projects": {
"active": 0,
"limit": 0,
"room": true
},
"modules": [
{}
],
"features": [
{}
],
"active_projects": [
{}
],
"upgrade_url": "https://example.com"
}
]
}
POST /agent_auth.
/agents/setup.md
{
"error": "token_expired",
"message": "This agent token expired after going unused. Connect again.",
"connect": {
"url": "https://example.com",
"instructions": "https://example.com"
}
}
org.read.POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
}
}
org.projects.create setup key, which a setup consent for a new project grants. An agent token creates one project, in the organization the user picked (none: a new organization), and is then bound to it. A legacy token may name any organization it administers. Personal Access Tokens only; a browser session gets 401.organization_not_in_consent.
curl \ -X POST \ -H "Content-Type: application/json" \ -d '{ "project": { "name": "string", "description": "string" }, "organization_id": "string" }' \ "https://app.betahub.io/project_bootstraps.json"
require "net/http" require "json" uri = URI("https://app.betahub.io/project_bootstraps.json") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) request["Content-Type"] = "application/json" request.body = { "project": { "name": "string", "description": "string" }, "organization_id": "string" } response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/project_bootstraps.json", json={ "project": { "name": "string", "description": "string" }, "organization_id": "string" } ) print(response.json())
const response = await fetch("https://app.betahub.io/project_bootstraps.json", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "project": { "name": "string", "description": "string" }, "organization_id": "string" }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/project_bootstraps.json")) .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString("{\"project\":{\"name\":\"string\",\"description\":\"string\"},\"organization_id\":\"string\"}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"project": {
"name": "string",
"description": "string"
},
"organization_id": "string"
}
{
"project": {
"id": "string",
"name": "string",
"url": "https://example.com"
},
"organization": {
"id": "string",
"name": "string"
},
"deactivated_demos": [
{
"id": "string",
"name": "string",
"url": "https://example.com"
}
]
}
personal_access_token_required, or an expired or revoked agent token.insufficient_scope: missing the setup key, or the token already created its project. A policy refusal (the user no longer administers the organization) is the generic {error} body.POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}
active_projects_limit_reached (see the schema), organization_not_in_consent (with the consented organization, null for a new one), or invalid_project (with messages).#project-actions), where Deactivate is.
{
"error": "active_projects_limit_reached",
"upgrade_url": "https://example.com",
"active_projects": [
{
"id": "string",
"name": "string",
"edit_url": "https://example.com"
}
],
"help_url": "https://example.com",
"organization": {
"id": "string",
"name": "string"
},
"messages": [
"string"
]
}
modules can be sent back whole. Needs the project.features.enable_free setup key bound to this project. Personal Access Tokens only.| Name | Type | Description |
|---|---|---|
| project_id required | string |
curl \ -X PATCH \ -H "Content-Type: application/json" \ -d '{ "modules": [ "bugs", "suggestions" ] }' \ "https://app.betahub.io/projects/123/free_features"
require "net/http" require "json" uri = URI("https://app.betahub.io/projects/123/free_features") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Patch.new(uri) request["Content-Type"] = "application/json" request.body = { "modules": [ "bugs", "suggestions" ] } response = http.request(request) puts response.body
import requests response = requests.patch( "https://app.betahub.io/projects/123/free_features", json={ "modules": [ "bugs", "suggestions" ] } ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/free_features", { method: "PATCH", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "modules": [ "bugs", "suggestions" ] }) }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/free_features")) .header("Content-Type", "application/json") .PATCH(HttpRequest.BodyPublishers.ofString("{\"modules\":[\"bugs\",\"suggestions\"]}")) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
{
"modules": [
"bugs",
"suggestions"
]
}
{
"modules": [
"string"
]
}
insufficient_scope: missing the key. A policy refusal (the setup is bound to another project, or the user cannot change it) is the generic {error} body.POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}
unknown_module (with modules), no_organization, or module_not_included (with modules: name and required_plan, and upgrade_url for an admin).200. The first report through it ends the agent’s setup. Needs the project.api_tokens.create setup key bound to this project.| Name | Type | Description |
|---|---|---|
| project_id required | string |
curl \ -X POST \ "https://app.betahub.io/projects/123/sdk_token"
require "net/http" uri = URI("https://app.betahub.io/projects/123/sdk_token") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Post.new(uri) response = http.request(request) puts response.body
import requests response = requests.post( "https://app.betahub.io/projects/123/sdk_token" ) print(response.json())
const response = await fetch("https://app.betahub.io/projects/123/sdk_token", { method: "POST" }); const data = await response.json();
HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.betahub.io/projects/123/sdk_token")) .method("POST", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = client.send( request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body());
tkn-...
{
"token": "string",
"name": "string"
}
insufficient_scope: missing the key. A policy refusal (the setup is bound to another project, or the user cannot change it) is the generic {error} body.POST /agent_auth.
setup: the setup keys. work: “Read and work on reports”, or another organization for it. players: messages to players. exposure: visibility, NDA and integrations. players and exposure bring “Read and work” with them.
consent. An agent that makes changes elsewhere gets work first.
/agents/setup.md
render_error JSON path emits it, it is the HTTP status code as an integer (e.g. 422); a few domain endpoints instead put a domain string here (e.g. "open"); most responses omit it entirely. Do not depend on its presence or type — use the HTTP status line.
{
"error": "insufficient_scope",
"required_scopes": [
"org.projects.create"
],
"consent": {
"url": "https://example.com",
"intent": "setup",
"organization": {
"id": "string",
"name": "string"
},
"instructions": "https://example.com"
},
"status": {}
}