BetaHub API
BetaHub API
Home Docs 1.4

This is the official BetaHub API documentation.

Requesting JSON responses

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.

Conventions

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.

Authentication

The API supports multiple authentication methods:

  • Anonymous access: Use FormUser anonymous for public operations
  • Token-based access: Use FormUser tkn-{token} for authenticated operations
  • Token with Submission Token (JWT): Use FormUser 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.
  • Token with JWT (Legacy): Use FormUser tkn-{token},{jwt_token} where the JWT contains a user_id claim to authenticate as an existing BetaHub user
  • Personal Access Tokens: Use Bearer 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

    Coding agents and scoped 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.

    Direct file upload flow (screenshots, log files, binary files, video clips)

    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:

    1. 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.
    2. 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.
    3. 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.

      Limits per media type

  • Screenshots — max 10 MB, up to 10 per issue; content types image/png, image/jpeg, image/jpg.
  • Log files — max 50 MB, up to 10 per issue; ~24 text/log/archive types (text/plain, text/csv, application/json, application/xml, application/zip, application/gzip, application/x-tar, …), with application/octet-stream as a fallback.
  • Binary files — max 50 MB, up to 10 per issue; any content type (server-side type check is bypassed).
  • Video clips — max 500 MB, up to 3 per issue; content types video/mp4, video/quicktime, video/webm, video/avi, video/mov.

    Upload error responses

    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.

    Resource IDs

    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.

    Media URL access model

    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.

    CORS

    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.

Authentication schemes

formUserToken

Project 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 token
  • FormUser 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.json
  • can_create_feature_request — POST /projects/{project_id}/feature_requests.json
  • can_create_ticket — POST /projects/{project_id}/tickets.json
  • can_report_crash — crash-report submission (e.g. POST /crashes/unreal/{token})
  • can_search_knowledge_base — POST /projects/{project_id}/support_knowledge/ask
  • can_read_release_list — GET /projects/{project_id}/releases.json
  • can_create_release — allows a submission that names a new release via release_label to create that release on the fly

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

bearerAuth

Personal 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: suggestions.update, suggestions.moderate
  • Tickets: tickets.view, tickets.update
  • Project 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

  • Members: access_requests.review

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

Projects

List and view project details
Returns a paginated list of projects visible to the current user. For authenticated users, returns projects they are a member of. For unauthenticated users or when all=true, returns publicly discoverable projects.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Query Parameters
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
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://app.betahub.io/projects.json?page=1&all=true"
Ruby
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
Python
import requests

response = requests.get(
    "https://app.betahub.io/projects.json?page=1&all=true",
    headers={"Authorization": "Bearer YOUR_API_TOKEN"}
)
print(response.json())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • projects array[object] optional
    • id string optional Obfuscated project ID
    • name string optional Project name
    • description string optional Project description (may contain Markdown)
    • created_at string date-time optional
    • updated_at string date-time optional
  • pagination object optional
    • current_page integer optional
    • total_pages integer optional
    • total_count integer optional
application/json
{
  "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
  }
}
Returns detailed information about a specific project, including configuration, enabled modules, platforms, and the latest release.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
id required string The project ID (obfuscated format, e.g. “pr-1234567”)
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://app.betahub.io/projects/123.json"
Ruby
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
Python
import requests

response = requests.get(
    "https://app.betahub.io/projects/123.json",
    headers={"Authorization": "Bearer YOUR_API_TOKEN"}
)
print(response.json())
JavaScript
const response = await fetch("https://app.betahub.io/projects/123.json", {
  headers: {
    "Authorization": "Bearer YOUR_API_TOKEN"
  }
});
const data = await response.json();
Java
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());
Responses
Successful response
Response fields
  • id string optional Obfuscated project ID
  • name string optional Project name
  • description string optional Project description (may contain Markdown)
  • access string optional Project access level. private — the project is only visible to its members and organization admins. public — the project is publicly discoverable and viewable without membership.
    private public
  • created_at string date-time optional
  • updated_at string date-time optional
  • url string uri optional Full URL to the project
  • active boolean optional Whether the project is active. An inactive project accepts no new bugs, suggestions or tickets until it is activated again.
  • sentiment_analysis boolean optional Whether sentiment analysis is enabled
  • support_knowledge boolean optional Whether support knowledge is enabled
  • support_knowledge_chunks_size integer optional Number of support knowledge chunks
  • has_discord_bot boolean optional Whether a Discord bot is connected
  • modules array[string] optional The list of modules enabled for this project. Only enabled modules are present in the array (a project with bugs and tickets enabled returns ["bugs", "tickets"]). The enum lists every module key that may appear.
    bugs suggestions sentiments tickets support_knowledge nda surveys
  • modules_outside_plan array[object] optional The modules in 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.
    • name string optional
    • required_plan string optional nullable The cheapest plan that includes the module.
    • upgrade_url string uri optional Where an organization admin upgrades. Only for an organization admin.
  • platforms array[string] optional Free-form list of platforms this project targets, authored by the project owner. Values are arbitrary strings (not a fixed enum) — use them for display only, do not match against a predefined set.
  • reporting object optional How reports can reach the project. Present only for a user who can change the project’s settings, whatever they sign in with.
    • first_report_received boolean optional
    • channels array[object] optional
      • key string optional
        discord sdk form testers steam
      • title string optional
      • available boolean optional False when the plan does not include the channel.
      • upgrade_url string uri optional Present for an admin when the channel is not available.
      • connected boolean optional
      • connect_url string uri optional The page where the user connects the channel (a Discord bot, for one, needs the user’s own Discord sign-in).
  • min_description_length integer optional Minimum description length for bug reports
  • min_suggestion_length integer optional Minimum description length for suggestions
  • latest_release object optional The latest release for this project. Always present as an object (never null). When the project has no releases yet this is an empty object {}. 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 integer optional Release ID (present only when a release exists)
    • label string optional Release label (present only when a release exists)
    • description string optional Release description (present only when a release exists)
    • created_at string date-time optional Present only when a release exists
    • updated_at string date-time optional Present only when a release exists
    • url string uri optional Full URL to the release (present only when a release exists)
application/json
{
  "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"
  }
}
Unauthorized. An unauthenticated request to a private or draft project returns 401 (body {"error":"You must be signed in to perform this action."}) — the unauthenticated case is handled here, before any 403.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden ({"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.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Project not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}

Issues

Create, update, search, and manage bug reports
Retrieves a list of issues for the specified project. The response includes issue details such as ID, title, description, status, priority, heat, and associated metadata. By default issues are ordered by ascending ID, so walking the pages returns each issue once. To keep a copy in sync, pass updated_after rather than re-reading every page. Pass sort=heat for the hottest issues first.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Query Parameters
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.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • issues array[object] optional
    • id integer optional Numeric primary key of the issue. NOTE: this is the raw integer PK, NOT the obfuscated global id. URL path segments require the obfuscated 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.
    • scoped_id integer optional Per-project sequential issue number (the “#42” shown in the UI). Always present. On a duplicate merge the scoped_id of a destroyed losing issue can be reassigned to the surviving canonical issue, so it is stable for a live issue but not guaranteed permanent across merges. Persist the obfuscated g-{id} (see url) if you need a permanently stable identifier.
    • title string optional
    • description string optional
    • status string optional Current issue status. This is NOT a closed enum. The built-in statuses are 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_display string optional Human-readable label for status, resolved against the project’s (possibly custom) status names.
    • priority string optional Issue priority. Built-in values: 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.
    • discord_message string optional nullable Original Discord message text when the issue originated from the Discord bot; null otherwise.
    • created_at string date-time optional
    • updated_at string date-time optional
    • score string optional Read-only report-completeness signal, emitted as a decimal string in the range “0”..”1” (e.g. “0.8542”) — NOT a 0–100 number. Computed server-side; any value supplied on submit is ignored.
    • raw boolean optional True when the issue is a “raw” submission — a mostly-automated / telemetry report that deliberately skips AI processing (title/priority/classification, duplicate detection, embeddings), notifications and search indexing, and is hidden from the default bugs list (it still appears on the bug map and under a location filter). Regular player bug reports are false. Settable on create — see the create endpoint’s issue[raw].
    • source string optional nullable Free-form origin marker, stored verbatim as submitted on create (e.g. an SDK or build identifier). Null when not supplied.
    • custom_fields array[object] optional The issue’s custom-field VALUES, as a self-describing array — one entry per field the viewer is permitted to see (fields not marked player-viewable are omitted for non-developers). Each entry carries the field’s identity plus its value; the field catalogue (options, requiredness) comes from the custom-fields endpoint.
      • id integer optional Custom-field definition id.
      • ident string optional Stable per-project slug of the field.
      • name string optional Human-readable field name.
      • field_type string optional
        text boolean single_select multi_select coordinates
      • value string optional The field’s value, typed per 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.
    • steps_to_reproduce array[object] optional
      • step string optional
    • device object optional nullable Structured device / hardware information attached to the issue, or null when none is attached. Populated by the LLM parser when issue[extras][device_info] is submitted on create (see the create endpoint).
      • id integer optional
      • device_type string optional
      • configuration object optional Free-form parsed hardware specs (e.g. CPU, GPU, OS, memory).
    • assigned_to object optional
      • id integer optional nullable
      • name string optional nullable
    • reported_by object optional Reporter identity. Both 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.
      • id integer optional nullable
      • name string optional nullable
    • potential_duplicate object optional nullable Populated when 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.
    • screenshots array[object] optional Screenshots attached to the issue, filtered by the caller’s visibility. This array (and the other attachment arrays below) is OMITTED entirely on responses that skip attachment rendering, such as the find_similar endpoint.
      • id integer optional The ID of the screenshot
      • type string optional Attachment type identifier
      • description string optional nullable Auto-generated (or user-edited) description of the screenshot
      • size_bytes integer optional File size in bytes (alias for media_size_bytes)
      • media_size_bytes integer optional File size in bytes
      • content_type string optional nullable MIME type of the image (null when no image is attached)
      • url string uri optional nullable CDN URL to access the screenshot image (null when no image is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
      • filename string optional nullable Filename of the uploaded image (null when no image is attached)
      • layer_a_url string uri optional nullable CDN URL of the annotation overlay layer, when present
      • layer_a_filename string optional nullable Filename of the annotation overlay layer, when present
      • developer_private boolean optional Whether this screenshot is only visible to developers and admins
        Default: false
      • created_at string date-time optional Creation timestamp
      • updated_at string date-time optional Last update timestamp
      • user object optional nullable For screenshots this object reflects the issue’s reporter (issue.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 integer optional User ID
        • name string optional Player-facing display name
    • log_files array[object] optional Log files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
      • id integer optional The ID of the log file
      • created_at string date-time optional Creation timestamp
      • updated_at string date-time optional Last update timestamp
      • media_size_bytes integer optional File size in bytes
      • type string optional Attachment type identifier
      • size_bytes integer optional File size in bytes (alias for media_size_bytes)
      • content_type string optional MIME type of the file
      • url string uri optional nullable URL to download the log file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
      • filename string optional nullable Filename of the uploaded file
      • developer_private boolean optional Whether this log file is only visible to developers and admins
        Default: false
      • user object optional nullable User who uploaded the file
        • id integer optional User ID
        • name string optional User display name
    • video_clips array[object] optional Video clips attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
      • id integer optional The ID of the video clip
      • type string optional Attachment type identifier
      • processing boolean optional Whether the video is currently being transcoded/processed by a background job.
      • processed boolean optional Whether the clip is ready for inline web playback. For multipart uploads this becomes 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).
      • failed boolean optional Whether video processing has failed
      • size_bytes integer optional File size in bytes (alias for media_size_bytes)
      • media_size_bytes integer optional File size in bytes
      • content_type string optional nullable MIME type of the video (null when no video is attached)
      • url string uri optional nullable CDN URL to access the video clip (null when no video is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
      • filename string optional nullable Filename of the uploaded video (null when no video is attached)
      • developer_private boolean optional Whether this video clip is only visible to developers and admins
        Default: false
      • created_at string date-time optional Creation timestamp
      • updated_at string date-time optional Last update timestamp
      • user object optional nullable User who uploaded the video clip (null for anonymous/reporter fallback)
        • id integer optional User ID
        • name string optional Player-facing display name
    • binary_files array[object] optional Binary files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
      • id integer optional The ID of the binary file
      • created_at string date-time optional Creation timestamp
      • updated_at string date-time optional Last update timestamp
      • media_size_bytes integer optional File size in bytes
      • type string optional Attachment type identifier
      • size_bytes integer optional File size in bytes (alias for media_size_bytes)
      • content_type string optional MIME type of the file
      • url string uri optional nullable URL to download the binary file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
      • filename string optional nullable Filename of the uploaded file
      • developer_private boolean optional Whether this binary file is only visible to developers and admins
        Default: false
      • user object optional nullable User who uploaded the file
        • id integer optional User ID
        • name string optional User display name
    • url string optional
    • heat integer optional How much attention the issue needs now. Higher with more affected players (duplicates and watchers outside the team), faster recent engagement, higher priority and a newer issue. Recalculated when the issue changes and periodically: every 15 minutes in an active project, up to every 12 hours in a quiet one. Compare only within one project. Shown as a temperature in the BetaHub UI.
    • peak_heat integer optional nullable Highest heat the issue has reached. Null until heat is first calculated.
    • token string optional JWT token for subsequent API access. Field name is ‘token’ (not ‘api_token’). Returned on successful issue creation when authenticated via a FormUser (submission form) token — present for both draft and non-draft submissions, and NOT gated on draft=true. Not returned for regular web-user submissions.
    • warnings array[string] optional Partial-success notices. Present on create/update responses only when something was silently dropped despite the 2xx status — e.g. a custom-field value exceeded the 4096-character cap, the 32-auto-created-fields-per-entity limit was hit, or a field could not be auto-created. Each entry is a human-readable string. Clients that submit custom fields should inspect this array to detect partial data loss.
  • pagination object optional
    • current_page integer optional
    • per_page integer optional
    • total_pages integer optional
    • total_count integer optional
  • warnings array[string] optional Present only when a parameter was ignored, e.g. a sort value this endpoint does not offer.
application/json
{
  "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.
Headers
  • Retry-After integer Seconds to wait, the same as retry_after.
Response fields
  • error string required
    agent_session_limit
  • message string required Which session holds the account (as named by its agent), the share, and the fix.
  • retry_after integer required Seconds until the share renews or the other session goes quiet.
    min: 1 max: 300
  • seats_url string uri required nullable Where the user adds a seat for whoever else uses the account: the new-member page of an organization they administer; null when they administer none (an admin adds it).
application/json
{
  "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 Mode Flow: 1. Create an issue with 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 visible

IMPORTANT NOTES:

  • Issue IDs in URLs must be prefixed with ‘g-‘ (e.g., /issues/g-12345 not /issues/12345) - JWT token is returned as ‘token’ (not ‘api_token’) and is only generated when using FormUser authentication
  • Use Bearer {jwt_token} for subsequent API calls after issue creation
  • Token is valid for 1 hour from issue creation Wire format notes:
  • Over form-encoding (application/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.
  • To send a JSON body set 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:
  • When async duplicate detection is enabled, a created issue is returned with 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:
  • With 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:
  • The obfuscated global id 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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
application/x-www-form-urlencoded
  • issue[title] string optional Title of the issue. If not provided, a GenAI will be used to generate a title.
  • issue[description] string required Description of the issue.
  • issue[unformatted_steps_to_reproduce] string optional Steps to reproduce the issue. A GenAI will be used to format the steps into array.
  • issue[steps_to_reproduce_array][] array[string] optional Pre-structured reproduction steps, one array entry per step. Use this as a deterministic alternative to 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.
  • issue[logs] string optional Inline log text. When present, the server auto-creates a LogFile attachment from this string as part of issue creation, so a headless/token integration can attach logs in the same request instead of making a second multipart upload call.
  • issue[release_id] string optional ID of the release associated with this issue. If neither release_id nor release_label is provided, the latest release will be used.
  • issue[release_label] string optional Label for a release to associate with this issue. If the label exists, that release will be used; otherwise, a new release will be created (requires authorization token with create_release permission).
  • issue[source] string optional Optional free-form source identifier, stored verbatim. The API default is null (no source) — it is not set to “dashboard” for API submissions.
  • issue[raw] boolean optional Submit the report as “raw” (a mostly-automated / telemetry report) instead of a regular bug. A raw issue deliberately skips ALL AI processing (title / priority / classification, duplicate detection, embeddings), notifications and search indexing, and is hidden from the default bugs list — it still appears on the bug map and under a location filter. Use 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.
    Default: false
  • issue[extras][device_info] object optional Recommended way for headless / token integrations (game SDK) to attach device and hardware information. Submit the raw specs string as value 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).
    • value string optional Raw device/hardware specs string to parse (e.g. a dxdiag dump or a free-form spec line).
    • validation_mode string optional How strictly the specs are parsed. strict rejects on unparseable input, loose (the fallback for an unrecognized mode) parses best-effort, and optional is the most permissive.
      strict loose optional
  • issue[discord_id] string optional Discord user id to attribute the report to. Only honored when the project has allow_discord_id_for_issues enabled and the caller is an anonymous token-authenticated FormUser; silently ignored otherwise.
  • issue[discord_username] string optional Discord username paired with issue[discord_id], used when creating the attributed reporter. Subject to the same gating as issue[discord_id].
  • issue[tested_on_device_id] string optional Obfuscated id of a Device the report was tested on. The device must belong to the authenticated reporter, so this only works for session / Personal Access Token User reporters — there is no API to create a Device for FormUser tokens. Token / submission-token clients therefore cannot use this field; attach hardware information via issue[extras][device_info] (documented above) instead.
  • issue[tag_ids][] array[integer] optional

    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.

  • issue[custom][FIELD_IDENT] string optional

    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:

    • text: Any string value.
    • single_select: Must exactly match one of the allowed values (case-sensitive).
    • multi_select: An array of values, each matching one of the allowed values.
    • boolean: 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.
  • issue[debug_trace] object optional Optional structured debug information with severity-labeled steps. Maximum size 128KB. Expected format: {“steps”: [{“severity”: “info|warning|danger”, “description”: “text”}]}
  • issue[process_include_flags] boolean optional LOW-LEVEL / advanced. When true, the server prunes attached media according to the include_* flags below. WARNING: enabling this WITHOUT setting the corresponding include flags deletes the attached media. Leave unset unless you specifically intend media pruning.
  • issue[include_screenshot] boolean optional With process_include_flags=true, keep (true) or drop (false) attached screenshots.
  • issue[include_video] boolean optional With process_include_flags=true, keep (true) or drop (false) attached video clips.
  • issue[include_other] boolean optional With process_include_flags=true, keep (true) or drop (false) other attached media (logs / binary files).
  • draft boolean optional When set to true, the issue will be created in a hidden state for step-by-step completion. Default is false.
  • publish_after string optional Only applies when 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
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request 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"
}
Responses
Successful response
Response fields
  • id integer optional Numeric primary key of the issue. NOTE: this is the raw integer PK, NOT the obfuscated global id. URL path segments require the obfuscated 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.
  • scoped_id integer optional Per-project sequential issue number (the “#42” shown in the UI). Always present. On a duplicate merge the scoped_id of a destroyed losing issue can be reassigned to the surviving canonical issue, so it is stable for a live issue but not guaranteed permanent across merges. Persist the obfuscated g-{id} (see url) if you need a permanently stable identifier.
  • title string optional
  • description string optional
  • status string optional Current issue status. This is NOT a closed enum. The built-in statuses are 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_display string optional Human-readable label for status, resolved against the project’s (possibly custom) status names.
  • priority string optional Issue priority. Built-in values: 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.
  • discord_message string optional nullable Original Discord message text when the issue originated from the Discord bot; null otherwise.
  • created_at string date-time optional
  • updated_at string date-time optional
  • score string optional Read-only report-completeness signal, emitted as a decimal string in the range “0”..”1” (e.g. “0.8542”) — NOT a 0–100 number. Computed server-side; any value supplied on submit is ignored.
  • raw boolean optional True when the issue is a “raw” submission — a mostly-automated / telemetry report that deliberately skips AI processing (title/priority/classification, duplicate detection, embeddings), notifications and search indexing, and is hidden from the default bugs list (it still appears on the bug map and under a location filter). Regular player bug reports are false. Settable on create — see the create endpoint’s issue[raw].
  • source string optional nullable Free-form origin marker, stored verbatim as submitted on create (e.g. an SDK or build identifier). Null when not supplied.
  • custom_fields array[object] optional The issue’s custom-field VALUES, as a self-describing array — one entry per field the viewer is permitted to see (fields not marked player-viewable are omitted for non-developers). Each entry carries the field’s identity plus its value; the field catalogue (options, requiredness) comes from the custom-fields endpoint.
    • id integer optional Custom-field definition id.
    • ident string optional Stable per-project slug of the field.
    • name string optional Human-readable field name.
    • field_type string optional
      text boolean single_select multi_select coordinates
    • value string optional The field’s value, typed per 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.
  • steps_to_reproduce array[object] optional
    • step string optional
  • device object optional nullable Structured device / hardware information attached to the issue, or null when none is attached. Populated by the LLM parser when issue[extras][device_info] is submitted on create (see the create endpoint).
    • id integer optional
    • device_type string optional
    • configuration object optional Free-form parsed hardware specs (e.g. CPU, GPU, OS, memory).
  • assigned_to object optional
    • id integer optional nullable
    • name string optional nullable
  • reported_by object optional Reporter identity. Both 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.
    • id integer optional nullable
    • name string optional nullable
  • potential_duplicate object optional nullable Populated when 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.
  • screenshots array[object] optional Screenshots attached to the issue, filtered by the caller’s visibility. This array (and the other attachment arrays below) is OMITTED entirely on responses that skip attachment rendering, such as the find_similar endpoint.
    • id integer optional The ID of the screenshot
    • type string optional Attachment type identifier
    • description string optional nullable Auto-generated (or user-edited) description of the screenshot
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • media_size_bytes integer optional File size in bytes
    • content_type string optional nullable MIME type of the image (null when no image is attached)
    • url string uri optional nullable CDN URL to access the screenshot image (null when no image is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded image (null when no image is attached)
    • layer_a_url string uri optional nullable CDN URL of the annotation overlay layer, when present
    • layer_a_filename string optional nullable Filename of the annotation overlay layer, when present
    • developer_private boolean optional Whether this screenshot is only visible to developers and admins
      Default: false
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • user object optional nullable For screenshots this object reflects the issue’s reporter (issue.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 integer optional User ID
      • name string optional Player-facing display name
  • log_files array[object] optional Log files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the log file
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • media_size_bytes integer optional File size in bytes
    • type string optional Attachment type identifier
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • content_type string optional MIME type of the file
    • url string uri optional nullable URL to download the log file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded file
    • developer_private boolean optional Whether this log file is only visible to developers and admins
      Default: false
    • user object optional nullable User who uploaded the file
      • id integer optional User ID
      • name string optional User display name
  • video_clips array[object] optional Video clips attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the video clip
    • type string optional Attachment type identifier
    • processing boolean optional Whether the video is currently being transcoded/processed by a background job.
    • processed boolean optional Whether the clip is ready for inline web playback. For multipart uploads this becomes 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).
    • failed boolean optional Whether video processing has failed
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • media_size_bytes integer optional File size in bytes
    • content_type string optional nullable MIME type of the video (null when no video is attached)
    • url string uri optional nullable CDN URL to access the video clip (null when no video is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded video (null when no video is attached)
    • developer_private boolean optional Whether this video clip is only visible to developers and admins
      Default: false
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • user object optional nullable User who uploaded the video clip (null for anonymous/reporter fallback)
      • id integer optional User ID
      • name string optional Player-facing display name
  • binary_files array[object] optional Binary files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the binary file
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • media_size_bytes integer optional File size in bytes
    • type string optional Attachment type identifier
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • content_type string optional MIME type of the file
    • url string uri optional nullable URL to download the binary file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded file
    • developer_private boolean optional Whether this binary file is only visible to developers and admins
      Default: false
    • user object optional nullable User who uploaded the file
      • id integer optional User ID
      • name string optional User display name
  • url string optional
  • heat integer optional How much attention the issue needs now. Higher with more affected players (duplicates and watchers outside the team), faster recent engagement, higher priority and a newer issue. Recalculated when the issue changes and periodically: every 15 minutes in an active project, up to every 12 hours in a quiet one. Compare only within one project. Shown as a temperature in the BetaHub UI.
  • peak_heat integer optional nullable Highest heat the issue has reached. Null until heat is first calculated.
  • token string optional JWT token for subsequent API access. Field name is ‘token’ (not ‘api_token’). Returned on successful issue creation when authenticated via a FormUser (submission form) token — present for both draft and non-draft submissions, and NOT gated on draft=true. Not returned for regular web-user submissions.
  • warnings array[string] optional Partial-success notices. Present on create/update responses only when something was silently dropped despite the 2xx status — e.g. a custom-field value exceeded the 4096-character cap, the 32-auto-created-fields-per-entity limit was hit, or a field could not be auto-created. Each entry is a human-readable string. Clients that submit custom fields should inspect this array to detect partial data loss.
Examples
Example Request
{
  "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
}
Example Response
{
  "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.”).

Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
Examples
Not Allowed To Report
{
  "error": "Not allowed to report a bug.",
  "status": "forbidden"
}
NDA Required
{
  "error": "NDA acceptance required.",
  "status": "forbidden"
}
Release Permission
{
  "error": "Auth token does not have permission to create releases",
  "status": "forbidden"
}
Org Quota Reached
{
  "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.”).

Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
Examples
Missing Required Custom Field
{
  "error": "Custom fields Severity is required, Custom fields Platform is required",
  "status": 422
}
Invalid Select Value
{
  "error": "Custom fields Severity must be one of: Blocker, Major, Minor, Cosmetic",
  "status": 422
}
Tester Rate Limit
{
  "error": "You have reached your 24 hours limit for bug submissions. You can submit again later.",
  "status": 422
}
Submission Token Reused
{
  "error": "Submission token has already been used. Please generate a new one.",
  "status": 422
}
Searches for issues (bug reports) within a project. Uses full-text search powered by Meilisearch (with relevance ranking and typo tolerance) to find matching issues based on the query string. Note: Meilisearch returns a candidate pool which is then filtered by the caller’s visibility permissions AFTER fetching, so 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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Query Parameters
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”)
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • issues array[object] optional
    • id integer optional Numeric primary key of the issue. NOTE: this is the raw integer PK, NOT the obfuscated global id. URL path segments require the obfuscated 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.
    • scoped_id integer optional Per-project sequential issue number (the “#42” shown in the UI). Always present. On a duplicate merge the scoped_id of a destroyed losing issue can be reassigned to the surviving canonical issue, so it is stable for a live issue but not guaranteed permanent across merges. Persist the obfuscated g-{id} (see url) if you need a permanently stable identifier.
    • title string optional
    • description string optional
    • status string optional Current issue status. This is NOT a closed enum. The built-in statuses are 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_display string optional Human-readable label for status, resolved against the project’s (possibly custom) status names.
    • priority string optional Issue priority. Built-in values: 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.
    • discord_message string optional nullable Original Discord message text when the issue originated from the Discord bot; null otherwise.
    • created_at string date-time optional
    • updated_at string date-time optional
    • score string optional Read-only report-completeness signal, emitted as a decimal string in the range “0”..”1” (e.g. “0.8542”) — NOT a 0–100 number. Computed server-side; any value supplied on submit is ignored.
    • raw boolean optional True when the issue is a “raw” submission — a mostly-automated / telemetry report that deliberately skips AI processing (title/priority/classification, duplicate detection, embeddings), notifications and search indexing, and is hidden from the default bugs list (it still appears on the bug map and under a location filter). Regular player bug reports are false. Settable on create — see the create endpoint’s issue[raw].
    • source string optional nullable Free-form origin marker, stored verbatim as submitted on create (e.g. an SDK or build identifier). Null when not supplied.
    • custom_fields array[object] optional The issue’s custom-field VALUES, as a self-describing array — one entry per field the viewer is permitted to see (fields not marked player-viewable are omitted for non-developers). Each entry carries the field’s identity plus its value; the field catalogue (options, requiredness) comes from the custom-fields endpoint.
      • id integer optional Custom-field definition id.
      • ident string optional Stable per-project slug of the field.
      • name string optional Human-readable field name.
      • field_type string optional
        text boolean single_select multi_select coordinates
      • value string optional The field’s value, typed per 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.
    • steps_to_reproduce array[object] optional
      • step string optional
    • device object optional nullable Structured device / hardware information attached to the issue, or null when none is attached. Populated by the LLM parser when issue[extras][device_info] is submitted on create (see the create endpoint).
      • id integer optional
      • device_type string optional
      • configuration object optional Free-form parsed hardware specs (e.g. CPU, GPU, OS, memory).
    • assigned_to object optional
      • id integer optional nullable
      • name string optional nullable
    • reported_by object optional Reporter identity. Both 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.
      • id integer optional nullable
      • name string optional nullable
    • potential_duplicate object optional nullable Populated when 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.
    • screenshots array[object] optional Screenshots attached to the issue, filtered by the caller’s visibility. This array (and the other attachment arrays below) is OMITTED entirely on responses that skip attachment rendering, such as the find_similar endpoint.
      • id integer optional The ID of the screenshot
      • type string optional Attachment type identifier
      • description string optional nullable Auto-generated (or user-edited) description of the screenshot
      • size_bytes integer optional File size in bytes (alias for media_size_bytes)
      • media_size_bytes integer optional File size in bytes
      • content_type string optional nullable MIME type of the image (null when no image is attached)
      • url string uri optional nullable CDN URL to access the screenshot image (null when no image is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
      • filename string optional nullable Filename of the uploaded image (null when no image is attached)
      • layer_a_url string uri optional nullable CDN URL of the annotation overlay layer, when present
      • layer_a_filename string optional nullable Filename of the annotation overlay layer, when present
      • developer_private boolean optional Whether this screenshot is only visible to developers and admins
        Default: false
      • created_at string date-time optional Creation timestamp
      • updated_at string date-time optional Last update timestamp
      • user object optional nullable For screenshots this object reflects the issue’s reporter (issue.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 integer optional User ID
        • name string optional Player-facing display name
    • log_files array[object] optional Log files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
      • id integer optional The ID of the log file
      • created_at string date-time optional Creation timestamp
      • updated_at string date-time optional Last update timestamp
      • media_size_bytes integer optional File size in bytes
      • type string optional Attachment type identifier
      • size_bytes integer optional File size in bytes (alias for media_size_bytes)
      • content_type string optional MIME type of the file
      • url string uri optional nullable URL to download the log file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
      • filename string optional nullable Filename of the uploaded file
      • developer_private boolean optional Whether this log file is only visible to developers and admins
        Default: false
      • user object optional nullable User who uploaded the file
        • id integer optional User ID
        • name string optional User display name
    • video_clips array[object] optional Video clips attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
      • id integer optional The ID of the video clip
      • type string optional Attachment type identifier
      • processing boolean optional Whether the video is currently being transcoded/processed by a background job.
      • processed boolean optional Whether the clip is ready for inline web playback. For multipart uploads this becomes 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).
      • failed boolean optional Whether video processing has failed
      • size_bytes integer optional File size in bytes (alias for media_size_bytes)
      • media_size_bytes integer optional File size in bytes
      • content_type string optional nullable MIME type of the video (null when no video is attached)
      • url string uri optional nullable CDN URL to access the video clip (null when no video is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
      • filename string optional nullable Filename of the uploaded video (null when no video is attached)
      • developer_private boolean optional Whether this video clip is only visible to developers and admins
        Default: false
      • created_at string date-time optional Creation timestamp
      • updated_at string date-time optional Last update timestamp
      • user object optional nullable User who uploaded the video clip (null for anonymous/reporter fallback)
        • id integer optional User ID
        • name string optional Player-facing display name
    • binary_files array[object] optional Binary files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
      • id integer optional The ID of the binary file
      • created_at string date-time optional Creation timestamp
      • updated_at string date-time optional Last update timestamp
      • media_size_bytes integer optional File size in bytes
      • type string optional Attachment type identifier
      • size_bytes integer optional File size in bytes (alias for media_size_bytes)
      • content_type string optional MIME type of the file
      • url string uri optional nullable URL to download the binary file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
      • filename string optional nullable Filename of the uploaded file
      • developer_private boolean optional Whether this binary file is only visible to developers and admins
        Default: false
      • user object optional nullable User who uploaded the file
        • id integer optional User ID
        • name string optional User display name
    • url string optional
    • heat integer optional How much attention the issue needs now. Higher with more affected players (duplicates and watchers outside the team), faster recent engagement, higher priority and a newer issue. Recalculated when the issue changes and periodically: every 15 minutes in an active project, up to every 12 hours in a quiet one. Compare only within one project. Shown as a temperature in the BetaHub UI.
    • peak_heat integer optional nullable Highest heat the issue has reached. Null until heat is first calculated.
    • token string optional JWT token for subsequent API access. Field name is ‘token’ (not ‘api_token’). Returned on successful issue creation when authenticated via a FormUser (submission form) token — present for both draft and non-draft submissions, and NOT gated on draft=true. Not returned for regular web-user submissions.
    • warnings array[string] optional Partial-success notices. Present on create/update responses only when something was silently dropped despite the 2xx status — e.g. a custom-field value exceeded the 4096-character cap, the 32-auto-created-fields-per-entity limit was hit, or a field could not be auto-created. Each entry is a human-readable string. Clients that submit custom fields should inspect this array to detect partial data loss.
  • pagination object optional
    • current_page integer optional
    • per_page integer optional
    • total_pages integer optional
    • total_count integer optional
  • project_id integer optional
  • id integer optional Numeric primary key of the issue. NOTE: this is the raw integer PK, NOT the obfuscated global id. URL path segments require the obfuscated 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.
  • scoped_id integer optional Per-project sequential issue number (the “#42” shown in the UI). Always present. On a duplicate merge the scoped_id of a destroyed losing issue can be reassigned to the surviving canonical issue, so it is stable for a live issue but not guaranteed permanent across merges. Persist the obfuscated g-{id} (see url) if you need a permanently stable identifier.
  • title string optional
  • description string optional
  • status string optional Current issue status. This is NOT a closed enum. The built-in statuses are 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_display string optional Human-readable label for status, resolved against the project’s (possibly custom) status names.
  • priority string optional Issue priority. Built-in values: 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.
  • discord_message string optional nullable Original Discord message text when the issue originated from the Discord bot; null otherwise.
  • created_at string date-time optional
  • updated_at string date-time optional
  • score string optional Read-only report-completeness signal, emitted as a decimal string in the range “0”..”1” (e.g. “0.8542”) — NOT a 0–100 number. Computed server-side; any value supplied on submit is ignored.
  • raw boolean optional True when the issue is a “raw” submission — a mostly-automated / telemetry report that deliberately skips AI processing (title/priority/classification, duplicate detection, embeddings), notifications and search indexing, and is hidden from the default bugs list (it still appears on the bug map and under a location filter). Regular player bug reports are false. Settable on create — see the create endpoint’s issue[raw].
  • source string optional nullable Free-form origin marker, stored verbatim as submitted on create (e.g. an SDK or build identifier). Null when not supplied.
  • custom_fields array[object] optional The issue’s custom-field VALUES, as a self-describing array — one entry per field the viewer is permitted to see (fields not marked player-viewable are omitted for non-developers). Each entry carries the field’s identity plus its value; the field catalogue (options, requiredness) comes from the custom-fields endpoint.
    • id integer optional Custom-field definition id.
    • ident string optional Stable per-project slug of the field.
    • name string optional Human-readable field name.
    • field_type string optional
      text boolean single_select multi_select coordinates
    • value string optional The field’s value, typed per 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.
  • steps_to_reproduce array[object] optional
    • step string optional
  • device object optional nullable Structured device / hardware information attached to the issue, or null when none is attached. Populated by the LLM parser when issue[extras][device_info] is submitted on create (see the create endpoint).
    • id integer optional
    • device_type string optional
    • configuration object optional Free-form parsed hardware specs (e.g. CPU, GPU, OS, memory).
  • assigned_to object optional
    • id integer optional nullable
    • name string optional nullable
  • reported_by object optional Reporter identity. Both 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.
    • id integer optional nullable
    • name string optional nullable
  • potential_duplicate object optional nullable Populated when 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.
  • screenshots array[object] optional Screenshots attached to the issue, filtered by the caller’s visibility. This array (and the other attachment arrays below) is OMITTED entirely on responses that skip attachment rendering, such as the find_similar endpoint.
    • id integer optional The ID of the screenshot
    • type string optional Attachment type identifier
    • description string optional nullable Auto-generated (or user-edited) description of the screenshot
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • media_size_bytes integer optional File size in bytes
    • content_type string optional nullable MIME type of the image (null when no image is attached)
    • url string uri optional nullable CDN URL to access the screenshot image (null when no image is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded image (null when no image is attached)
    • layer_a_url string uri optional nullable CDN URL of the annotation overlay layer, when present
    • layer_a_filename string optional nullable Filename of the annotation overlay layer, when present
    • developer_private boolean optional Whether this screenshot is only visible to developers and admins
      Default: false
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • user object optional nullable For screenshots this object reflects the issue’s reporter (issue.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 integer optional User ID
      • name string optional Player-facing display name
  • log_files array[object] optional Log files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the log file
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • media_size_bytes integer optional File size in bytes
    • type string optional Attachment type identifier
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • content_type string optional MIME type of the file
    • url string uri optional nullable URL to download the log file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded file
    • developer_private boolean optional Whether this log file is only visible to developers and admins
      Default: false
    • user object optional nullable User who uploaded the file
      • id integer optional User ID
      • name string optional User display name
  • video_clips array[object] optional Video clips attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the video clip
    • type string optional Attachment type identifier
    • processing boolean optional Whether the video is currently being transcoded/processed by a background job.
    • processed boolean optional Whether the clip is ready for inline web playback. For multipart uploads this becomes 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).
    • failed boolean optional Whether video processing has failed
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • media_size_bytes integer optional File size in bytes
    • content_type string optional nullable MIME type of the video (null when no video is attached)
    • url string uri optional nullable CDN URL to access the video clip (null when no video is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded video (null when no video is attached)
    • developer_private boolean optional Whether this video clip is only visible to developers and admins
      Default: false
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • user object optional nullable User who uploaded the video clip (null for anonymous/reporter fallback)
      • id integer optional User ID
      • name string optional Player-facing display name
  • binary_files array[object] optional Binary files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the binary file
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • media_size_bytes integer optional File size in bytes
    • type string optional Attachment type identifier
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • content_type string optional MIME type of the file
    • url string uri optional nullable URL to download the binary file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded file
    • developer_private boolean optional Whether this binary file is only visible to developers and admins
      Default: false
    • user object optional nullable User who uploaded the file
      • id integer optional User ID
      • name string optional User display name
  • url string optional
  • heat integer optional How much attention the issue needs now. Higher with more affected players (duplicates and watchers outside the team), faster recent engagement, higher priority and a newer issue. Recalculated when the issue changes and periodically: every 15 minutes in an active project, up to every 12 hours in a quiet one. Compare only within one project. Shown as a temperature in the BetaHub UI.
  • peak_heat integer optional nullable Highest heat the issue has reached. Null until heat is first calculated.
  • token string optional JWT token for subsequent API access. Field name is ‘token’ (not ‘api_token’). Returned on successful issue creation when authenticated via a FormUser (submission form) token — present for both draft and non-draft submissions, and NOT gated on draft=true. Not returned for regular web-user submissions.
  • warnings array[string] optional Partial-success notices. Present on create/update responses only when something was silently dropped despite the 2xx status — e.g. a custom-field value exceeded the 4096-character cap, the 32-auto-created-fields-per-entity limit was hit, or a field could not be auto-created. Each entry is a human-readable string. Clients that submit custom fields should inspect this array to detect partial data loss.
Examples
Search Response
{
  "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
}
Scoped ID Response
{
  "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"
}
Forbidden. User does not have permission to search issues in this project.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Issue not found or not visible to you (when searching by scoped_id).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Alternative POST method for searching issues. Accepts the same parameters as the GET method but allows for longer search queries that might exceed URL length limits.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
application/x-www-form-urlencoded
  • query string required The search query string to match against issue titles and descriptions
  • skip_ids string optional Comma-separated list of issue IDs to exclude from results
  • partial string optional Only affects the HTML autocomplete rendering (capping it at 4 results). It does NOT cap the JSON response, which always paginates at 25 results per page.
    true false
  • scoped_id string optional Instead of searching, find a specific issue by its scoped ID
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "query": "string",
  "skip_ids": "string",
  "partial": "true",
  "scoped_id": "string"
}
Responses
Successful response (same as GET method)
Response fields
  • issues array[object] optional
    • id integer optional Numeric primary key of the issue. NOTE: this is the raw integer PK, NOT the obfuscated global id. URL path segments require the obfuscated 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.
    • scoped_id integer optional Per-project sequential issue number (the “#42” shown in the UI). Always present. On a duplicate merge the scoped_id of a destroyed losing issue can be reassigned to the surviving canonical issue, so it is stable for a live issue but not guaranteed permanent across merges. Persist the obfuscated g-{id} (see url) if you need a permanently stable identifier.
    • title string optional
    • description string optional
    • status string optional Current issue status. This is NOT a closed enum. The built-in statuses are 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_display string optional Human-readable label for status, resolved against the project’s (possibly custom) status names.
    • priority string optional Issue priority. Built-in values: 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.
    • discord_message string optional nullable Original Discord message text when the issue originated from the Discord bot; null otherwise.
    • created_at string date-time optional
    • updated_at string date-time optional
    • score string optional Read-only report-completeness signal, emitted as a decimal string in the range “0”..”1” (e.g. “0.8542”) — NOT a 0–100 number. Computed server-side; any value supplied on submit is ignored.
    • raw boolean optional True when the issue is a “raw” submission — a mostly-automated / telemetry report that deliberately skips AI processing (title/priority/classification, duplicate detection, embeddings), notifications and search indexing, and is hidden from the default bugs list (it still appears on the bug map and under a location filter). Regular player bug reports are false. Settable on create — see the create endpoint’s issue[raw].
    • source string optional nullable Free-form origin marker, stored verbatim as submitted on create (e.g. an SDK or build identifier). Null when not supplied.
    • custom_fields array[object] optional The issue’s custom-field VALUES, as a self-describing array — one entry per field the viewer is permitted to see (fields not marked player-viewable are omitted for non-developers). Each entry carries the field’s identity plus its value; the field catalogue (options, requiredness) comes from the custom-fields endpoint.
      • id integer optional Custom-field definition id.
      • ident string optional Stable per-project slug of the field.
      • name string optional Human-readable field name.
      • field_type string optional
        text boolean single_select multi_select coordinates
      • value string optional The field’s value, typed per 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.
    • steps_to_reproduce array[object] optional
      • step string optional
    • device object optional nullable Structured device / hardware information attached to the issue, or null when none is attached. Populated by the LLM parser when issue[extras][device_info] is submitted on create (see the create endpoint).
      • id integer optional
      • device_type string optional
      • configuration object optional Free-form parsed hardware specs (e.g. CPU, GPU, OS, memory).
    • assigned_to object optional
      • id integer optional nullable
      • name string optional nullable
    • reported_by object optional Reporter identity. Both 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.
      • id integer optional nullable
      • name string optional nullable
    • potential_duplicate object optional nullable Populated when 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.
    • screenshots array[object] optional Screenshots attached to the issue, filtered by the caller’s visibility. This array (and the other attachment arrays below) is OMITTED entirely on responses that skip attachment rendering, such as the find_similar endpoint.
      • id integer optional The ID of the screenshot
      • type string optional Attachment type identifier
      • description string optional nullable Auto-generated (or user-edited) description of the screenshot
      • size_bytes integer optional File size in bytes (alias for media_size_bytes)
      • media_size_bytes integer optional File size in bytes
      • content_type string optional nullable MIME type of the image (null when no image is attached)
      • url string uri optional nullable CDN URL to access the screenshot image (null when no image is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
      • filename string optional nullable Filename of the uploaded image (null when no image is attached)
      • layer_a_url string uri optional nullable CDN URL of the annotation overlay layer, when present
      • layer_a_filename string optional nullable Filename of the annotation overlay layer, when present
      • developer_private boolean optional Whether this screenshot is only visible to developers and admins
        Default: false
      • created_at string date-time optional Creation timestamp
      • updated_at string date-time optional Last update timestamp
      • user object optional nullable For screenshots this object reflects the issue’s reporter (issue.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 integer optional User ID
        • name string optional Player-facing display name
    • log_files array[object] optional Log files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
      • id integer optional The ID of the log file
      • created_at string date-time optional Creation timestamp
      • updated_at string date-time optional Last update timestamp
      • media_size_bytes integer optional File size in bytes
      • type string optional Attachment type identifier
      • size_bytes integer optional File size in bytes (alias for media_size_bytes)
      • content_type string optional MIME type of the file
      • url string uri optional nullable URL to download the log file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
      • filename string optional nullable Filename of the uploaded file
      • developer_private boolean optional Whether this log file is only visible to developers and admins
        Default: false
      • user object optional nullable User who uploaded the file
        • id integer optional User ID
        • name string optional User display name
    • video_clips array[object] optional Video clips attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
      • id integer optional The ID of the video clip
      • type string optional Attachment type identifier
      • processing boolean optional Whether the video is currently being transcoded/processed by a background job.
      • processed boolean optional Whether the clip is ready for inline web playback. For multipart uploads this becomes 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).
      • failed boolean optional Whether video processing has failed
      • size_bytes integer optional File size in bytes (alias for media_size_bytes)
      • media_size_bytes integer optional File size in bytes
      • content_type string optional nullable MIME type of the video (null when no video is attached)
      • url string uri optional nullable CDN URL to access the video clip (null when no video is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
      • filename string optional nullable Filename of the uploaded video (null when no video is attached)
      • developer_private boolean optional Whether this video clip is only visible to developers and admins
        Default: false
      • created_at string date-time optional Creation timestamp
      • updated_at string date-time optional Last update timestamp
      • user object optional nullable User who uploaded the video clip (null for anonymous/reporter fallback)
        • id integer optional User ID
        • name string optional Player-facing display name
    • binary_files array[object] optional Binary files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
      • id integer optional The ID of the binary file
      • created_at string date-time optional Creation timestamp
      • updated_at string date-time optional Last update timestamp
      • media_size_bytes integer optional File size in bytes
      • type string optional Attachment type identifier
      • size_bytes integer optional File size in bytes (alias for media_size_bytes)
      • content_type string optional MIME type of the file
      • url string uri optional nullable URL to download the binary file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
      • filename string optional nullable Filename of the uploaded file
      • developer_private boolean optional Whether this binary file is only visible to developers and admins
        Default: false
      • user object optional nullable User who uploaded the file
        • id integer optional User ID
        • name string optional User display name
    • url string optional
    • heat integer optional How much attention the issue needs now. Higher with more affected players (duplicates and watchers outside the team), faster recent engagement, higher priority and a newer issue. Recalculated when the issue changes and periodically: every 15 minutes in an active project, up to every 12 hours in a quiet one. Compare only within one project. Shown as a temperature in the BetaHub UI.
    • peak_heat integer optional nullable Highest heat the issue has reached. Null until heat is first calculated.
    • token string optional JWT token for subsequent API access. Field name is ‘token’ (not ‘api_token’). Returned on successful issue creation when authenticated via a FormUser (submission form) token — present for both draft and non-draft submissions, and NOT gated on draft=true. Not returned for regular web-user submissions.
    • warnings array[string] optional Partial-success notices. Present on create/update responses only when something was silently dropped despite the 2xx status — e.g. a custom-field value exceeded the 4096-character cap, the 32-auto-created-fields-per-entity limit was hit, or a field could not be auto-created. Each entry is a human-readable string. Clients that submit custom fields should inspect this array to detect partial data loss.
  • pagination object optional
    • current_page integer optional
    • per_page integer optional
    • total_pages integer optional
    • total_count integer optional
  • project_id integer optional
  • id integer optional Numeric primary key of the issue. NOTE: this is the raw integer PK, NOT the obfuscated global id. URL path segments require the obfuscated 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.
  • scoped_id integer optional Per-project sequential issue number (the “#42” shown in the UI). Always present. On a duplicate merge the scoped_id of a destroyed losing issue can be reassigned to the surviving canonical issue, so it is stable for a live issue but not guaranteed permanent across merges. Persist the obfuscated g-{id} (see url) if you need a permanently stable identifier.
  • title string optional
  • description string optional
  • status string optional Current issue status. This is NOT a closed enum. The built-in statuses are 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_display string optional Human-readable label for status, resolved against the project’s (possibly custom) status names.
  • priority string optional Issue priority. Built-in values: 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.
  • discord_message string optional nullable Original Discord message text when the issue originated from the Discord bot; null otherwise.
  • created_at string date-time optional
  • updated_at string date-time optional
  • score string optional Read-only report-completeness signal, emitted as a decimal string in the range “0”..”1” (e.g. “0.8542”) — NOT a 0–100 number. Computed server-side; any value supplied on submit is ignored.
  • raw boolean optional True when the issue is a “raw” submission — a mostly-automated / telemetry report that deliberately skips AI processing (title/priority/classification, duplicate detection, embeddings), notifications and search indexing, and is hidden from the default bugs list (it still appears on the bug map and under a location filter). Regular player bug reports are false. Settable on create — see the create endpoint’s issue[raw].
  • source string optional nullable Free-form origin marker, stored verbatim as submitted on create (e.g. an SDK or build identifier). Null when not supplied.
  • custom_fields array[object] optional The issue’s custom-field VALUES, as a self-describing array — one entry per field the viewer is permitted to see (fields not marked player-viewable are omitted for non-developers). Each entry carries the field’s identity plus its value; the field catalogue (options, requiredness) comes from the custom-fields endpoint.
    • id integer optional Custom-field definition id.
    • ident string optional Stable per-project slug of the field.
    • name string optional Human-readable field name.
    • field_type string optional
      text boolean single_select multi_select coordinates
    • value string optional The field’s value, typed per 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.
  • steps_to_reproduce array[object] optional
    • step string optional
  • device object optional nullable Structured device / hardware information attached to the issue, or null when none is attached. Populated by the LLM parser when issue[extras][device_info] is submitted on create (see the create endpoint).
    • id integer optional
    • device_type string optional
    • configuration object optional Free-form parsed hardware specs (e.g. CPU, GPU, OS, memory).
  • assigned_to object optional
    • id integer optional nullable
    • name string optional nullable
  • reported_by object optional Reporter identity. Both 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.
    • id integer optional nullable
    • name string optional nullable
  • potential_duplicate object optional nullable Populated when 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.
  • screenshots array[object] optional Screenshots attached to the issue, filtered by the caller’s visibility. This array (and the other attachment arrays below) is OMITTED entirely on responses that skip attachment rendering, such as the find_similar endpoint.
    • id integer optional The ID of the screenshot
    • type string optional Attachment type identifier
    • description string optional nullable Auto-generated (or user-edited) description of the screenshot
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • media_size_bytes integer optional File size in bytes
    • content_type string optional nullable MIME type of the image (null when no image is attached)
    • url string uri optional nullable CDN URL to access the screenshot image (null when no image is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded image (null when no image is attached)
    • layer_a_url string uri optional nullable CDN URL of the annotation overlay layer, when present
    • layer_a_filename string optional nullable Filename of the annotation overlay layer, when present
    • developer_private boolean optional Whether this screenshot is only visible to developers and admins
      Default: false
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • user object optional nullable For screenshots this object reflects the issue’s reporter (issue.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 integer optional User ID
      • name string optional Player-facing display name
  • log_files array[object] optional Log files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the log file
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • media_size_bytes integer optional File size in bytes
    • type string optional Attachment type identifier
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • content_type string optional MIME type of the file
    • url string uri optional nullable URL to download the log file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded file
    • developer_private boolean optional Whether this log file is only visible to developers and admins
      Default: false
    • user object optional nullable User who uploaded the file
      • id integer optional User ID
      • name string optional User display name
  • video_clips array[object] optional Video clips attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the video clip
    • type string optional Attachment type identifier
    • processing boolean optional Whether the video is currently being transcoded/processed by a background job.
    • processed boolean optional Whether the clip is ready for inline web playback. For multipart uploads this becomes 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).
    • failed boolean optional Whether video processing has failed
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • media_size_bytes integer optional File size in bytes
    • content_type string optional nullable MIME type of the video (null when no video is attached)
    • url string uri optional nullable CDN URL to access the video clip (null when no video is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded video (null when no video is attached)
    • developer_private boolean optional Whether this video clip is only visible to developers and admins
      Default: false
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • user object optional nullable User who uploaded the video clip (null for anonymous/reporter fallback)
      • id integer optional User ID
      • name string optional Player-facing display name
  • binary_files array[object] optional Binary files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the binary file
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • media_size_bytes integer optional File size in bytes
    • type string optional Attachment type identifier
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • content_type string optional MIME type of the file
    • url string uri optional nullable URL to download the binary file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded file
    • developer_private boolean optional Whether this binary file is only visible to developers and admins
      Default: false
    • user object optional nullable User who uploaded the file
      • id integer optional User ID
      • name string optional User display name
  • url string optional
  • heat integer optional How much attention the issue needs now. Higher with more affected players (duplicates and watchers outside the team), faster recent engagement, higher priority and a newer issue. Recalculated when the issue changes and periodically: every 15 minutes in an active project, up to every 12 hours in a quiet one. Compare only within one project. Shown as a temperature in the BetaHub UI.
  • peak_heat integer optional nullable Highest heat the issue has reached. Null until heat is first calculated.
  • token string optional JWT token for subsequent API access. Field name is ‘token’ (not ‘api_token’). Returned on successful issue creation when authenticated via a FormUser (submission form) token — present for both draft and non-draft submissions, and NOT gated on draft=true. Not returned for regular web-user submissions.
  • warnings array[string] optional Partial-success notices. Present on create/update responses only when something was silently dropped despite the 2xx status — e.g. a custom-field value exceeded the 4096-character cap, the 32-auto-created-fields-per-entity limit was hit, or a field could not be auto-created. Each entry is a human-readable string. Clients that submit custom fields should inspect this array to detect partial data loss.
application/json
{
  "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"
  ]
}
Forbidden. User does not have permission to search issues in this project.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Issue not found or not visible to you (when searching by scoped_id).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Returns issues semantically similar to the given issue, ranked by vector-embedding similarity. This complements the keyword-based search endpoint: instead of matching words, it matches meaning, making it well suited for agentic tooling that needs to surface likely duplicates or related reports. Access is restricted to developer-level members of the project (the same permission as merging duplicates). Authenticate with a Personal Access Token. By default, archived issues are excluded from the results; pass include_archived=true to include them.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string The obfuscated ID of the issue to find similar issues for
Query Parameters
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
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • issues array optional
application/json
{
  "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
    }
  ]
}
Forbidden. Requires developer-level access to the project.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Issue or project not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Identical to the PATCH operation.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
application/json
  • issue object required Send only the fields to change. A scoped token may change only title, description, status, priority, assigned_to_id, release_id, tag_ids (with process_tags) and custom_fields; anything else it sends is ignored.
    • title string optional
    • description string optional
    • status string optional A built-in status (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.
    • priority string optional Ignored for a caller without bugs.update. Any other value answers 422 (priority must be one of: low, medium, high, critical, blocker).
      low medium high critical blocker
    • assigned_to_id integer optional nullable A project member’s user id (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.
    • release_id integer optional A release of the project (id from the releases list).
    • tag_ids array optional The bug’s tags after the change, replacing the current set; [] removes all. Tag ids, or tag names when any value is not numeric. Applied only with process_tags. Ignored for game-SDK tokens.
    • process_tags string optional Send "1" with tag_ids; without it the tags are left unchanged.
    • custom_fields object optional Only the fields sent change; 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.
    • unformatted_steps_to_reproduce string optional Steps to reproduce as free text. Ignored for a scoped token.
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
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"
  }
}
Responses
The updated bug.
Response fields
  • id integer optional Numeric primary key of the issue. NOTE: this is the raw integer PK, NOT the obfuscated global id. URL path segments require the obfuscated 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.
  • scoped_id integer optional Per-project sequential issue number (the “#42” shown in the UI). Always present. On a duplicate merge the scoped_id of a destroyed losing issue can be reassigned to the surviving canonical issue, so it is stable for a live issue but not guaranteed permanent across merges. Persist the obfuscated g-{id} (see url) if you need a permanently stable identifier.
  • title string optional
  • description string optional
  • status string optional Current issue status. This is NOT a closed enum. The built-in statuses are 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_display string optional Human-readable label for status, resolved against the project’s (possibly custom) status names.
  • priority string optional Issue priority. Built-in values: 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.
  • discord_message string optional nullable Original Discord message text when the issue originated from the Discord bot; null otherwise.
  • created_at string date-time optional
  • updated_at string date-time optional
  • score string optional Read-only report-completeness signal, emitted as a decimal string in the range “0”..”1” (e.g. “0.8542”) — NOT a 0–100 number. Computed server-side; any value supplied on submit is ignored.
  • raw boolean optional True when the issue is a “raw” submission — a mostly-automated / telemetry report that deliberately skips AI processing (title/priority/classification, duplicate detection, embeddings), notifications and search indexing, and is hidden from the default bugs list (it still appears on the bug map and under a location filter). Regular player bug reports are false. Settable on create — see the create endpoint’s issue[raw].
  • source string optional nullable Free-form origin marker, stored verbatim as submitted on create (e.g. an SDK or build identifier). Null when not supplied.
  • custom_fields array[object] optional The issue’s custom-field VALUES, as a self-describing array — one entry per field the viewer is permitted to see (fields not marked player-viewable are omitted for non-developers). Each entry carries the field’s identity plus its value; the field catalogue (options, requiredness) comes from the custom-fields endpoint.
    • id integer optional Custom-field definition id.
    • ident string optional Stable per-project slug of the field.
    • name string optional Human-readable field name.
    • field_type string optional
      text boolean single_select multi_select coordinates
    • value string optional The field’s value, typed per 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.
  • steps_to_reproduce array[object] optional
    • step string optional
  • device object optional nullable Structured device / hardware information attached to the issue, or null when none is attached. Populated by the LLM parser when issue[extras][device_info] is submitted on create (see the create endpoint).
    • id integer optional
    • device_type string optional
    • configuration object optional Free-form parsed hardware specs (e.g. CPU, GPU, OS, memory).
  • assigned_to object optional
    • id integer optional nullable
    • name string optional nullable
  • reported_by object optional Reporter identity. Both 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.
    • id integer optional nullable
    • name string optional nullable
  • potential_duplicate object optional nullable Populated when 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.
  • screenshots array[object] optional Screenshots attached to the issue, filtered by the caller’s visibility. This array (and the other attachment arrays below) is OMITTED entirely on responses that skip attachment rendering, such as the find_similar endpoint.
    • id integer optional The ID of the screenshot
    • type string optional Attachment type identifier
    • description string optional nullable Auto-generated (or user-edited) description of the screenshot
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • media_size_bytes integer optional File size in bytes
    • content_type string optional nullable MIME type of the image (null when no image is attached)
    • url string uri optional nullable CDN URL to access the screenshot image (null when no image is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded image (null when no image is attached)
    • layer_a_url string uri optional nullable CDN URL of the annotation overlay layer, when present
    • layer_a_filename string optional nullable Filename of the annotation overlay layer, when present
    • developer_private boolean optional Whether this screenshot is only visible to developers and admins
      Default: false
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • user object optional nullable For screenshots this object reflects the issue’s reporter (issue.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 integer optional User ID
      • name string optional Player-facing display name
  • log_files array[object] optional Log files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the log file
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • media_size_bytes integer optional File size in bytes
    • type string optional Attachment type identifier
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • content_type string optional MIME type of the file
    • url string uri optional nullable URL to download the log file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded file
    • developer_private boolean optional Whether this log file is only visible to developers and admins
      Default: false
    • user object optional nullable User who uploaded the file
      • id integer optional User ID
      • name string optional User display name
  • video_clips array[object] optional Video clips attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the video clip
    • type string optional Attachment type identifier
    • processing boolean optional Whether the video is currently being transcoded/processed by a background job.
    • processed boolean optional Whether the clip is ready for inline web playback. For multipart uploads this becomes 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).
    • failed boolean optional Whether video processing has failed
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • media_size_bytes integer optional File size in bytes
    • content_type string optional nullable MIME type of the video (null when no video is attached)
    • url string uri optional nullable CDN URL to access the video clip (null when no video is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded video (null when no video is attached)
    • developer_private boolean optional Whether this video clip is only visible to developers and admins
      Default: false
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • user object optional nullable User who uploaded the video clip (null for anonymous/reporter fallback)
      • id integer optional User ID
      • name string optional Player-facing display name
  • binary_files array[object] optional Binary files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the binary file
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • media_size_bytes integer optional File size in bytes
    • type string optional Attachment type identifier
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • content_type string optional MIME type of the file
    • url string uri optional nullable URL to download the binary file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded file
    • developer_private boolean optional Whether this binary file is only visible to developers and admins
      Default: false
    • user object optional nullable User who uploaded the file
      • id integer optional User ID
      • name string optional User display name
  • url string optional
  • heat integer optional How much attention the issue needs now. Higher with more affected players (duplicates and watchers outside the team), faster recent engagement, higher priority and a newer issue. Recalculated when the issue changes and periodically: every 15 minutes in an active project, up to every 12 hours in a quiet one. Compare only within one project. Shown as a temperature in the BetaHub UI.
  • peak_heat integer optional nullable Highest heat the issue has reached. Null until heat is first calculated.
  • token string optional JWT token for subsequent API access. Field name is ‘token’ (not ‘api_token’). Returned on successful issue creation when authenticated via a FormUser (submission form) token — present for both draft and non-draft submissions, and NOT gated on draft=true. Not returned for regular web-user submissions.
  • warnings array[string] optional Partial-success notices. Present on create/update responses only when something was silently dropped despite the 2xx status — e.g. a custom-field value exceeded the 4096-character cap, the 32-auto-created-fields-per-entity limit was hit, or a field could not be auto-created. Each entry is a human-readable string. Clients that submit custom fields should inspect this array to detect partial data loss.
application/json
{
  "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"
  ]
}
As for PATCH.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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": {}
}
Issue not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
As for PATCH.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
Headers
  • Retry-After integer Seconds to wait, the same as retry_after.
Response fields
  • error string optional
    agent_session_limit
  • message string optional Which session holds the account (as named by its agent), the share, and the fix.
  • retry_after integer optional Seconds until the share renews or the other session goes quiet.
    min: 1 max: 300
  • seats_url string uri optional nullable Where the user adds a seat for whoever else uses the account: the new-member page of an organization they administer; null when they administer none (an admin adds it).
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
application/json
  • issue object required Send only the fields to change. A scoped token may change only title, description, status, priority, assigned_to_id, release_id, tag_ids (with process_tags) and custom_fields; anything else it sends is ignored.
    • title string optional
    • description string optional
    • status string optional A built-in status (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.
    • priority string optional Ignored for a caller without bugs.update. Any other value answers 422 (priority must be one of: low, medium, high, critical, blocker).
      low medium high critical blocker
    • assigned_to_id integer optional nullable A project member’s user id (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.
    • release_id integer optional A release of the project (id from the releases list).
    • tag_ids array optional The bug’s tags after the change, replacing the current set; [] removes all. Tag ids, or tag names when any value is not numeric. Applied only with process_tags. Ignored for game-SDK tokens.
    • process_tags string optional Send "1" with tag_ids; without it the tags are left unchanged.
    • custom_fields object optional Only the fields sent change; 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.
    • unformatted_steps_to_reproduce string optional Steps to reproduce as free text. Ignored for a scoped token.
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
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"
  }
}
Responses
The updated bug.
Response fields
  • id integer optional Numeric primary key of the issue. NOTE: this is the raw integer PK, NOT the obfuscated global id. URL path segments require the obfuscated 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.
  • scoped_id integer optional Per-project sequential issue number (the “#42” shown in the UI). Always present. On a duplicate merge the scoped_id of a destroyed losing issue can be reassigned to the surviving canonical issue, so it is stable for a live issue but not guaranteed permanent across merges. Persist the obfuscated g-{id} (see url) if you need a permanently stable identifier.
  • title string optional
  • description string optional
  • status string optional Current issue status. This is NOT a closed enum. The built-in statuses are 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_display string optional Human-readable label for status, resolved against the project’s (possibly custom) status names.
  • priority string optional Issue priority. Built-in values: 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.
  • discord_message string optional nullable Original Discord message text when the issue originated from the Discord bot; null otherwise.
  • created_at string date-time optional
  • updated_at string date-time optional
  • score string optional Read-only report-completeness signal, emitted as a decimal string in the range “0”..”1” (e.g. “0.8542”) — NOT a 0–100 number. Computed server-side; any value supplied on submit is ignored.
  • raw boolean optional True when the issue is a “raw” submission — a mostly-automated / telemetry report that deliberately skips AI processing (title/priority/classification, duplicate detection, embeddings), notifications and search indexing, and is hidden from the default bugs list (it still appears on the bug map and under a location filter). Regular player bug reports are false. Settable on create — see the create endpoint’s issue[raw].
  • source string optional nullable Free-form origin marker, stored verbatim as submitted on create (e.g. an SDK or build identifier). Null when not supplied.
  • custom_fields array[object] optional The issue’s custom-field VALUES, as a self-describing array — one entry per field the viewer is permitted to see (fields not marked player-viewable are omitted for non-developers). Each entry carries the field’s identity plus its value; the field catalogue (options, requiredness) comes from the custom-fields endpoint.
    • id integer optional Custom-field definition id.
    • ident string optional Stable per-project slug of the field.
    • name string optional Human-readable field name.
    • field_type string optional
      text boolean single_select multi_select coordinates
    • value string optional The field’s value, typed per 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.
  • steps_to_reproduce array[object] optional
    • step string optional
  • device object optional nullable Structured device / hardware information attached to the issue, or null when none is attached. Populated by the LLM parser when issue[extras][device_info] is submitted on create (see the create endpoint).
    • id integer optional
    • device_type string optional
    • configuration object optional Free-form parsed hardware specs (e.g. CPU, GPU, OS, memory).
  • assigned_to object optional
    • id integer optional nullable
    • name string optional nullable
  • reported_by object optional Reporter identity. Both 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.
    • id integer optional nullable
    • name string optional nullable
  • potential_duplicate object optional nullable Populated when 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.
  • screenshots array[object] optional Screenshots attached to the issue, filtered by the caller’s visibility. This array (and the other attachment arrays below) is OMITTED entirely on responses that skip attachment rendering, such as the find_similar endpoint.
    • id integer optional The ID of the screenshot
    • type string optional Attachment type identifier
    • description string optional nullable Auto-generated (or user-edited) description of the screenshot
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • media_size_bytes integer optional File size in bytes
    • content_type string optional nullable MIME type of the image (null when no image is attached)
    • url string uri optional nullable CDN URL to access the screenshot image (null when no image is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded image (null when no image is attached)
    • layer_a_url string uri optional nullable CDN URL of the annotation overlay layer, when present
    • layer_a_filename string optional nullable Filename of the annotation overlay layer, when present
    • developer_private boolean optional Whether this screenshot is only visible to developers and admins
      Default: false
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • user object optional nullable For screenshots this object reflects the issue’s reporter (issue.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 integer optional User ID
      • name string optional Player-facing display name
  • log_files array[object] optional Log files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the log file
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • media_size_bytes integer optional File size in bytes
    • type string optional Attachment type identifier
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • content_type string optional MIME type of the file
    • url string uri optional nullable URL to download the log file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded file
    • developer_private boolean optional Whether this log file is only visible to developers and admins
      Default: false
    • user object optional nullable User who uploaded the file
      • id integer optional User ID
      • name string optional User display name
  • video_clips array[object] optional Video clips attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the video clip
    • type string optional Attachment type identifier
    • processing boolean optional Whether the video is currently being transcoded/processed by a background job.
    • processed boolean optional Whether the clip is ready for inline web playback. For multipart uploads this becomes 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).
    • failed boolean optional Whether video processing has failed
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • media_size_bytes integer optional File size in bytes
    • content_type string optional nullable MIME type of the video (null when no video is attached)
    • url string uri optional nullable CDN URL to access the video clip (null when no video is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded video (null when no video is attached)
    • developer_private boolean optional Whether this video clip is only visible to developers and admins
      Default: false
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • user object optional nullable User who uploaded the video clip (null for anonymous/reporter fallback)
      • id integer optional User ID
      • name string optional Player-facing display name
  • binary_files array[object] optional Binary files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the binary file
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • media_size_bytes integer optional File size in bytes
    • type string optional Attachment type identifier
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • content_type string optional MIME type of the file
    • url string uri optional nullable URL to download the binary file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded file
    • developer_private boolean optional Whether this binary file is only visible to developers and admins
      Default: false
    • user object optional nullable User who uploaded the file
      • id integer optional User ID
      • name string optional User display name
  • url string optional
  • heat integer optional How much attention the issue needs now. Higher with more affected players (duplicates and watchers outside the team), faster recent engagement, higher priority and a newer issue. Recalculated when the issue changes and periodically: every 15 minutes in an active project, up to every 12 hours in a quiet one. Compare only within one project. Shown as a temperature in the BetaHub UI.
  • peak_heat integer optional nullable Highest heat the issue has reached. Null until heat is first calculated.
  • token string optional JWT token for subsequent API access. Field name is ‘token’ (not ‘api_token’). Returned on successful issue creation when authenticated via a FormUser (submission form) token — present for both draft and non-draft submissions, and NOT gated on draft=true. Not returned for regular web-user submissions.
  • warnings array[string] optional Partial-success notices. Present on create/update responses only when something was silently dropped despite the 2xx status — e.g. a custom-field value exceeded the 4096-character cap, the 32-auto-created-fields-per-entity limit was hit, or a field could not be auto-created. Each entry is a human-readable string. Clients that submit custom fields should inspect this array to detect partial data loss.
application/json
{
  "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).
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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": {}
}
Issue not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
{error} with the validation messages, e.g. an assignee who is not a project member, or an unknown priority.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
Headers
  • Retry-After integer Seconds to wait, the same as retry_after.
Response fields
  • error string optional
    agent_session_limit
  • message string optional Which session holds the account (as named by its agent), the share, and the fix.
  • retry_after integer optional Seconds until the share renews or the other session goes quiet.
    min: 1 max: 300
  • seats_url string uri optional nullable Where the user adds a seat for whoever else uses the account: the new-member page of an organization they administer; null when they administer none (an admin adds it).
application/json
{
  "error": "agent_session_limit",
  "message": "string",
  "retry_after": 120,
  "seats_url": "https://example.com"
}
Permanently deletes an issue. Authorization requires either a Personal Access Token with the 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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -X DELETE \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/issues/g-123.json"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Issue deleted successfully. Empty response body.
Issue deleted successfully. Empty response body.
Forbidden. Caller is neither the original reporter nor holds the issues.delete scope.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Issue not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Archives an issue (an organizational action that does not notify watchers or trigger webhooks). Archived issues are excluded from the issue list by default; pass 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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Issue archived successfully.
Response fields
  • success boolean optional
application/json
{
  "success": true
}
insufficient_scope for a scoped token without bugs.archive, or for a hidden or pending_moderation bug (required_scopes: null). Otherwise {error}.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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": {}
}
Issue not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Failed to archive the issue.
Response fields
  • success boolean optional
application/json
{
  "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).
Headers
  • Retry-After integer Seconds to wait, the same as retry_after.
Response fields
  • error string optional
    agent_session_limit
  • message string optional Which session holds the account (as named by its agent), the share, and the fix.
  • retry_after integer optional Seconds until the share renews or the other session goes quiet.
    min: 1 max: 300
  • seats_url string uri optional nullable Where the user adds a seat for whoever else uses the account: the new-member page of an organization they administer; null when they administer none (an admin adds it).
application/json
{
  "error": "agent_session_limit",
  "message": "string",
  "retry_after": 120,
  "seats_url": "https://example.com"
}
Restores an archived issue back into the default (non-archived) list. Like archiving, this does not notify watchers or trigger webhooks. Needs bugs.archive (alias issues.archive). A scoped token cannot unarchive a hidden or pending_moderation bug.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Issue unarchived successfully.
Response fields
  • success boolean optional
application/json
{
  "success": true
}
insufficient_scope for a scoped token without bugs.archive, or for a hidden or pending_moderation bug (required_scopes: null). Otherwise {error}.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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": {}
}
Issue not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Failed to unarchive the issue.
Response fields
  • success boolean optional
application/json
{
  "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).
Headers
  • Retry-After integer Seconds to wait, the same as retry_after.
Response fields
  • error string optional
    agent_session_limit
  • message string optional Which session holds the account (as named by its agent), the share, and the fix.
  • retry_after integer optional Seconds until the share renews or the other session goes quiet.
    min: 1 max: 300
  • seats_url string uri optional nullable Where the user adds a seat for whoever else uses the account: the new-member page of an organization they administer; null when they administer none (an admin adds it).
application/json
{
  "error": "agent_session_limit",
  "message": "string",
  "retry_after": 120,
  "seats_url": "https://example.com"
}
Makes the bug named in 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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
application/json
  • merge_with_id object required The duplicate, by scoped_id or g-{id}.
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "merge_with_id": 57
}
Responses
Merged, with undo; or, into a closed bug, regression naming the bug recorded as its regression.
Response fields
  • issue object optional A bug as merge and undo answers name it: its per-project scoped_id, or g-{id} when it has none. Accepted wherever a path or body takes a bug id.
  • merged_issue object optional A bug as merge and undo answers name it: its per-project scoped_id, or g-{id} when it has none. Accepted wherever a path or body takes a bug id.
  • undo object optional The body for undo_merge on this bug.
    • merged_issue_id object optional A bug as merge and undo answers name it: its per-project scoped_id, or g-{id} when it has none. Accepted wherever a path or body takes a bug id.
    • previous_status string optional The merged bug’s status before the merge.
  • regression object optional A bug as merge and undo answers name it: its per-project scoped_id, or g-{id} when it has none. Accepted wherever a path or body takes a bug id.
Examples
Merged
{
  "issue": 42,
  "merged_issue": 57,
  "undo": {
    "merged_issue_id": 57,
    "previous_status": "open"
  }
}
Regression
{
  "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}.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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": {}
}
Either bug not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
Headers
  • Retry-After integer Seconds to wait, the same as retry_after.
Response fields
  • error string optional
    agent_session_limit
  • message string optional Which session holds the account (as named by its agent), the share, and the fix.
  • retry_after integer optional Seconds until the share renews or the other session goes quiet.
    min: 1 max: 300
  • seats_url string uri optional nullable Where the user adds a seat for whoever else uses the account: the new-member page of an organization they administer; null when they administer none (an admin adds it).
application/json
{
  "error": "agent_session_limit",
  "message": "string",
  "retry_after": 120,
  "seats_url": "https://example.com"
}
Takes the bug named in 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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
application/json
  • merged_issue_id object required The merged bug, by scoped_id or g-{id}.
  • previous_status string required
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "merged_issue_id": 57,
  "previous_status": "open"
}
Responses
The bug taken out of the merge (issue) and its status now.
Response fields
  • issue object optional A bug as merge and undo answers name it: its per-project scoped_id, or g-{id} when it has none. Accepted wherever a path or body takes a bug id.
  • status string optional
application/json
{
  "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}.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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": {}
}
Either bug not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
Headers
  • Retry-After integer Seconds to wait, the same as retry_after.
Response fields
  • error string optional
    agent_session_limit
  • message string optional Which session holds the account (as named by its agent), the share, and the fix.
  • retry_after integer optional Seconds until the share renews or the other session goes quiet.
    min: 1 max: 300
  • seats_url string uri optional nullable Where the user adds a seat for whoever else uses the account: the new-member page of an organization they administer; null when they administer none (an admin adds it).
application/json
{
  "error": "agent_session_limit",
  "message": "string",
  "retry_after": 120,
  "seats_url": "https://example.com"
}
Confirms the duplicate BetaHub flagged: the bug (usually 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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
The bug.
Response fields
  • id integer optional Numeric primary key of the issue. NOTE: this is the raw integer PK, NOT the obfuscated global id. URL path segments require the obfuscated 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.
  • scoped_id integer optional Per-project sequential issue number (the “#42” shown in the UI). Always present. On a duplicate merge the scoped_id of a destroyed losing issue can be reassigned to the surviving canonical issue, so it is stable for a live issue but not guaranteed permanent across merges. Persist the obfuscated g-{id} (see url) if you need a permanently stable identifier.
  • title string optional
  • description string optional
  • status string optional Current issue status. This is NOT a closed enum. The built-in statuses are 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_display string optional Human-readable label for status, resolved against the project’s (possibly custom) status names.
  • priority string optional Issue priority. Built-in values: 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.
  • discord_message string optional nullable Original Discord message text when the issue originated from the Discord bot; null otherwise.
  • created_at string date-time optional
  • updated_at string date-time optional
  • score string optional Read-only report-completeness signal, emitted as a decimal string in the range “0”..”1” (e.g. “0.8542”) — NOT a 0–100 number. Computed server-side; any value supplied on submit is ignored.
  • raw boolean optional True when the issue is a “raw” submission — a mostly-automated / telemetry report that deliberately skips AI processing (title/priority/classification, duplicate detection, embeddings), notifications and search indexing, and is hidden from the default bugs list (it still appears on the bug map and under a location filter). Regular player bug reports are false. Settable on create — see the create endpoint’s issue[raw].
  • source string optional nullable Free-form origin marker, stored verbatim as submitted on create (e.g. an SDK or build identifier). Null when not supplied.
  • custom_fields array[object] optional The issue’s custom-field VALUES, as a self-describing array — one entry per field the viewer is permitted to see (fields not marked player-viewable are omitted for non-developers). Each entry carries the field’s identity plus its value; the field catalogue (options, requiredness) comes from the custom-fields endpoint.
    • id integer optional Custom-field definition id.
    • ident string optional Stable per-project slug of the field.
    • name string optional Human-readable field name.
    • field_type string optional
      text boolean single_select multi_select coordinates
    • value string optional The field’s value, typed per 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.
  • steps_to_reproduce array[object] optional
    • step string optional
  • device object optional nullable Structured device / hardware information attached to the issue, or null when none is attached. Populated by the LLM parser when issue[extras][device_info] is submitted on create (see the create endpoint).
    • id integer optional
    • device_type string optional
    • configuration object optional Free-form parsed hardware specs (e.g. CPU, GPU, OS, memory).
  • assigned_to object optional
    • id integer optional nullable
    • name string optional nullable
  • reported_by object optional Reporter identity. Both 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.
    • id integer optional nullable
    • name string optional nullable
  • potential_duplicate object optional nullable Populated when 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.
  • screenshots array[object] optional Screenshots attached to the issue, filtered by the caller’s visibility. This array (and the other attachment arrays below) is OMITTED entirely on responses that skip attachment rendering, such as the find_similar endpoint.
    • id integer optional The ID of the screenshot
    • type string optional Attachment type identifier
    • description string optional nullable Auto-generated (or user-edited) description of the screenshot
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • media_size_bytes integer optional File size in bytes
    • content_type string optional nullable MIME type of the image (null when no image is attached)
    • url string uri optional nullable CDN URL to access the screenshot image (null when no image is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded image (null when no image is attached)
    • layer_a_url string uri optional nullable CDN URL of the annotation overlay layer, when present
    • layer_a_filename string optional nullable Filename of the annotation overlay layer, when present
    • developer_private boolean optional Whether this screenshot is only visible to developers and admins
      Default: false
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • user object optional nullable For screenshots this object reflects the issue’s reporter (issue.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 integer optional User ID
      • name string optional Player-facing display name
  • log_files array[object] optional Log files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the log file
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • media_size_bytes integer optional File size in bytes
    • type string optional Attachment type identifier
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • content_type string optional MIME type of the file
    • url string uri optional nullable URL to download the log file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded file
    • developer_private boolean optional Whether this log file is only visible to developers and admins
      Default: false
    • user object optional nullable User who uploaded the file
      • id integer optional User ID
      • name string optional User display name
  • video_clips array[object] optional Video clips attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the video clip
    • type string optional Attachment type identifier
    • processing boolean optional Whether the video is currently being transcoded/processed by a background job.
    • processed boolean optional Whether the clip is ready for inline web playback. For multipart uploads this becomes 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).
    • failed boolean optional Whether video processing has failed
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • media_size_bytes integer optional File size in bytes
    • content_type string optional nullable MIME type of the video (null when no video is attached)
    • url string uri optional nullable CDN URL to access the video clip (null when no video is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded video (null when no video is attached)
    • developer_private boolean optional Whether this video clip is only visible to developers and admins
      Default: false
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • user object optional nullable User who uploaded the video clip (null for anonymous/reporter fallback)
      • id integer optional User ID
      • name string optional Player-facing display name
  • binary_files array[object] optional Binary files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the binary file
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • media_size_bytes integer optional File size in bytes
    • type string optional Attachment type identifier
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • content_type string optional MIME type of the file
    • url string uri optional nullable URL to download the binary file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded file
    • developer_private boolean optional Whether this binary file is only visible to developers and admins
      Default: false
    • user object optional nullable User who uploaded the file
      • id integer optional User ID
      • name string optional User display name
  • url string optional
  • heat integer optional How much attention the issue needs now. Higher with more affected players (duplicates and watchers outside the team), faster recent engagement, higher priority and a newer issue. Recalculated when the issue changes and periodically: every 15 minutes in an active project, up to every 12 hours in a quiet one. Compare only within one project. Shown as a temperature in the BetaHub UI.
  • peak_heat integer optional nullable Highest heat the issue has reached. Null until heat is first calculated.
  • token string optional JWT token for subsequent API access. Field name is ‘token’ (not ‘api_token’). Returned on successful issue creation when authenticated via a FormUser (submission form) token — present for both draft and non-draft submissions, and NOT gated on draft=true. Not returned for regular web-user submissions.
  • warnings array[string] optional Partial-success notices. Present on create/update responses only when something was silently dropped despite the 2xx status — e.g. a custom-field value exceeded the 4096-character cap, the 32-auto-created-fields-per-entity limit was hit, or a field could not be auto-created. Each entry is a human-readable string. Clients that submit custom fields should inspect this array to detect partial data loss.
application/json
{
  "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}.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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": {}
}
Issue not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
Headers
  • Retry-After integer Seconds to wait, the same as retry_after.
Response fields
  • error string optional
    agent_session_limit
  • message string optional Which session holds the account (as named by its agent), the share, and the fix.
  • retry_after integer optional Seconds until the share renews or the other session goes quiet.
    min: 1 max: 300
  • seats_url string uri optional nullable Where the user adds a seat for whoever else uses the account: the new-member page of an organization they administer; null when they administer none (an admin adds it).
application/json
{
  "error": "agent_session_limit",
  "message": "string",
  "retry_after": 120,
  "seats_url": "https://example.com"
}
Rejects the duplicate BetaHub flagged: the bug becomes 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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
The bug.
Response fields
  • id integer optional Numeric primary key of the issue. NOTE: this is the raw integer PK, NOT the obfuscated global id. URL path segments require the obfuscated 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.
  • scoped_id integer optional Per-project sequential issue number (the “#42” shown in the UI). Always present. On a duplicate merge the scoped_id of a destroyed losing issue can be reassigned to the surviving canonical issue, so it is stable for a live issue but not guaranteed permanent across merges. Persist the obfuscated g-{id} (see url) if you need a permanently stable identifier.
  • title string optional
  • description string optional
  • status string optional Current issue status. This is NOT a closed enum. The built-in statuses are 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_display string optional Human-readable label for status, resolved against the project’s (possibly custom) status names.
  • priority string optional Issue priority. Built-in values: 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.
  • discord_message string optional nullable Original Discord message text when the issue originated from the Discord bot; null otherwise.
  • created_at string date-time optional
  • updated_at string date-time optional
  • score string optional Read-only report-completeness signal, emitted as a decimal string in the range “0”..”1” (e.g. “0.8542”) — NOT a 0–100 number. Computed server-side; any value supplied on submit is ignored.
  • raw boolean optional True when the issue is a “raw” submission — a mostly-automated / telemetry report that deliberately skips AI processing (title/priority/classification, duplicate detection, embeddings), notifications and search indexing, and is hidden from the default bugs list (it still appears on the bug map and under a location filter). Regular player bug reports are false. Settable on create — see the create endpoint’s issue[raw].
  • source string optional nullable Free-form origin marker, stored verbatim as submitted on create (e.g. an SDK or build identifier). Null when not supplied.
  • custom_fields array[object] optional The issue’s custom-field VALUES, as a self-describing array — one entry per field the viewer is permitted to see (fields not marked player-viewable are omitted for non-developers). Each entry carries the field’s identity plus its value; the field catalogue (options, requiredness) comes from the custom-fields endpoint.
    • id integer optional Custom-field definition id.
    • ident string optional Stable per-project slug of the field.
    • name string optional Human-readable field name.
    • field_type string optional
      text boolean single_select multi_select coordinates
    • value string optional The field’s value, typed per 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.
  • steps_to_reproduce array[object] optional
    • step string optional
  • device object optional nullable Structured device / hardware information attached to the issue, or null when none is attached. Populated by the LLM parser when issue[extras][device_info] is submitted on create (see the create endpoint).
    • id integer optional
    • device_type string optional
    • configuration object optional Free-form parsed hardware specs (e.g. CPU, GPU, OS, memory).
  • assigned_to object optional
    • id integer optional nullable
    • name string optional nullable
  • reported_by object optional Reporter identity. Both 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.
    • id integer optional nullable
    • name string optional nullable
  • potential_duplicate object optional nullable Populated when 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.
  • screenshots array[object] optional Screenshots attached to the issue, filtered by the caller’s visibility. This array (and the other attachment arrays below) is OMITTED entirely on responses that skip attachment rendering, such as the find_similar endpoint.
    • id integer optional The ID of the screenshot
    • type string optional Attachment type identifier
    • description string optional nullable Auto-generated (or user-edited) description of the screenshot
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • media_size_bytes integer optional File size in bytes
    • content_type string optional nullable MIME type of the image (null when no image is attached)
    • url string uri optional nullable CDN URL to access the screenshot image (null when no image is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded image (null when no image is attached)
    • layer_a_url string uri optional nullable CDN URL of the annotation overlay layer, when present
    • layer_a_filename string optional nullable Filename of the annotation overlay layer, when present
    • developer_private boolean optional Whether this screenshot is only visible to developers and admins
      Default: false
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • user object optional nullable For screenshots this object reflects the issue’s reporter (issue.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 integer optional User ID
      • name string optional Player-facing display name
  • log_files array[object] optional Log files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the log file
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • media_size_bytes integer optional File size in bytes
    • type string optional Attachment type identifier
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • content_type string optional MIME type of the file
    • url string uri optional nullable URL to download the log file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded file
    • developer_private boolean optional Whether this log file is only visible to developers and admins
      Default: false
    • user object optional nullable User who uploaded the file
      • id integer optional User ID
      • name string optional User display name
  • video_clips array[object] optional Video clips attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the video clip
    • type string optional Attachment type identifier
    • processing boolean optional Whether the video is currently being transcoded/processed by a background job.
    • processed boolean optional Whether the clip is ready for inline web playback. For multipart uploads this becomes 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).
    • failed boolean optional Whether video processing has failed
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • media_size_bytes integer optional File size in bytes
    • content_type string optional nullable MIME type of the video (null when no video is attached)
    • url string uri optional nullable CDN URL to access the video clip (null when no video is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded video (null when no video is attached)
    • developer_private boolean optional Whether this video clip is only visible to developers and admins
      Default: false
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • user object optional nullable User who uploaded the video clip (null for anonymous/reporter fallback)
      • id integer optional User ID
      • name string optional Player-facing display name
  • binary_files array[object] optional Binary files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the binary file
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • media_size_bytes integer optional File size in bytes
    • type string optional Attachment type identifier
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • content_type string optional MIME type of the file
    • url string uri optional nullable URL to download the binary file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded file
    • developer_private boolean optional Whether this binary file is only visible to developers and admins
      Default: false
    • user object optional nullable User who uploaded the file
      • id integer optional User ID
      • name string optional User display name
  • url string optional
  • heat integer optional How much attention the issue needs now. Higher with more affected players (duplicates and watchers outside the team), faster recent engagement, higher priority and a newer issue. Recalculated when the issue changes and periodically: every 15 minutes in an active project, up to every 12 hours in a quiet one. Compare only within one project. Shown as a temperature in the BetaHub UI.
  • peak_heat integer optional nullable Highest heat the issue has reached. Null until heat is first calculated.
  • token string optional JWT token for subsequent API access. Field name is ‘token’ (not ‘api_token’). Returned on successful issue creation when authenticated via a FormUser (submission form) token — present for both draft and non-draft submissions, and NOT gated on draft=true. Not returned for regular web-user submissions.
  • warnings array[string] optional Partial-success notices. Present on create/update responses only when something was silently dropped despite the 2xx status — e.g. a custom-field value exceeded the 4096-character cap, the 32-auto-created-fields-per-entity limit was hit, or a field could not be auto-created. Each entry is a human-readable string. Clients that submit custom fields should inspect this array to detect partial data loss.
application/json
{
  "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}.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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": {}
}
Issue not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
Headers
  • Retry-After integer Seconds to wait, the same as retry_after.
Response fields
  • error string optional
    agent_session_limit
  • message string optional Which session holds the account (as named by its agent), the share, and the fix.
  • retry_after integer optional Seconds until the share renews or the other session goes quiet.
    min: 1 max: 300
  • seats_url string uri optional nullable Where the user adds a seat for whoever else uses the account: the new-member page of an organization they administer; null when they administer none (an admin adds it).
application/json
{
  "error": "agent_session_limit",
  "message": "string",
  "retry_after": 120,
  "seats_url": "https://example.com"
}
The bug becomes 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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
The bug.
Response fields
  • id integer optional Numeric primary key of the issue. NOTE: this is the raw integer PK, NOT the obfuscated global id. URL path segments require the obfuscated 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.
  • scoped_id integer optional Per-project sequential issue number (the “#42” shown in the UI). Always present. On a duplicate merge the scoped_id of a destroyed losing issue can be reassigned to the surviving canonical issue, so it is stable for a live issue but not guaranteed permanent across merges. Persist the obfuscated g-{id} (see url) if you need a permanently stable identifier.
  • title string optional
  • description string optional
  • status string optional Current issue status. This is NOT a closed enum. The built-in statuses are 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_display string optional Human-readable label for status, resolved against the project’s (possibly custom) status names.
  • priority string optional Issue priority. Built-in values: 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.
  • discord_message string optional nullable Original Discord message text when the issue originated from the Discord bot; null otherwise.
  • created_at string date-time optional
  • updated_at string date-time optional
  • score string optional Read-only report-completeness signal, emitted as a decimal string in the range “0”..”1” (e.g. “0.8542”) — NOT a 0–100 number. Computed server-side; any value supplied on submit is ignored.
  • raw boolean optional True when the issue is a “raw” submission — a mostly-automated / telemetry report that deliberately skips AI processing (title/priority/classification, duplicate detection, embeddings), notifications and search indexing, and is hidden from the default bugs list (it still appears on the bug map and under a location filter). Regular player bug reports are false. Settable on create — see the create endpoint’s issue[raw].
  • source string optional nullable Free-form origin marker, stored verbatim as submitted on create (e.g. an SDK or build identifier). Null when not supplied.
  • custom_fields array[object] optional The issue’s custom-field VALUES, as a self-describing array — one entry per field the viewer is permitted to see (fields not marked player-viewable are omitted for non-developers). Each entry carries the field’s identity plus its value; the field catalogue (options, requiredness) comes from the custom-fields endpoint.
    • id integer optional Custom-field definition id.
    • ident string optional Stable per-project slug of the field.
    • name string optional Human-readable field name.
    • field_type string optional
      text boolean single_select multi_select coordinates
    • value string optional The field’s value, typed per 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.
  • steps_to_reproduce array[object] optional
    • step string optional
  • device object optional nullable Structured device / hardware information attached to the issue, or null when none is attached. Populated by the LLM parser when issue[extras][device_info] is submitted on create (see the create endpoint).
    • id integer optional
    • device_type string optional
    • configuration object optional Free-form parsed hardware specs (e.g. CPU, GPU, OS, memory).
  • assigned_to object optional
    • id integer optional nullable
    • name string optional nullable
  • reported_by object optional Reporter identity. Both 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.
    • id integer optional nullable
    • name string optional nullable
  • potential_duplicate object optional nullable Populated when 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.
  • screenshots array[object] optional Screenshots attached to the issue, filtered by the caller’s visibility. This array (and the other attachment arrays below) is OMITTED entirely on responses that skip attachment rendering, such as the find_similar endpoint.
    • id integer optional The ID of the screenshot
    • type string optional Attachment type identifier
    • description string optional nullable Auto-generated (or user-edited) description of the screenshot
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • media_size_bytes integer optional File size in bytes
    • content_type string optional nullable MIME type of the image (null when no image is attached)
    • url string uri optional nullable CDN URL to access the screenshot image (null when no image is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded image (null when no image is attached)
    • layer_a_url string uri optional nullable CDN URL of the annotation overlay layer, when present
    • layer_a_filename string optional nullable Filename of the annotation overlay layer, when present
    • developer_private boolean optional Whether this screenshot is only visible to developers and admins
      Default: false
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • user object optional nullable For screenshots this object reflects the issue’s reporter (issue.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 integer optional User ID
      • name string optional Player-facing display name
  • log_files array[object] optional Log files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the log file
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • media_size_bytes integer optional File size in bytes
    • type string optional Attachment type identifier
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • content_type string optional MIME type of the file
    • url string uri optional nullable URL to download the log file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded file
    • developer_private boolean optional Whether this log file is only visible to developers and admins
      Default: false
    • user object optional nullable User who uploaded the file
      • id integer optional User ID
      • name string optional User display name
  • video_clips array[object] optional Video clips attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the video clip
    • type string optional Attachment type identifier
    • processing boolean optional Whether the video is currently being transcoded/processed by a background job.
    • processed boolean optional Whether the clip is ready for inline web playback. For multipart uploads this becomes 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).
    • failed boolean optional Whether video processing has failed
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • media_size_bytes integer optional File size in bytes
    • content_type string optional nullable MIME type of the video (null when no video is attached)
    • url string uri optional nullable CDN URL to access the video clip (null when no video is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded video (null when no video is attached)
    • developer_private boolean optional Whether this video clip is only visible to developers and admins
      Default: false
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • user object optional nullable User who uploaded the video clip (null for anonymous/reporter fallback)
      • id integer optional User ID
      • name string optional Player-facing display name
  • binary_files array[object] optional Binary files attached to the issue (visibility-filtered). Omitted when attachments are not rendered.
    • id integer optional The ID of the binary file
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • media_size_bytes integer optional File size in bytes
    • type string optional Attachment type identifier
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • content_type string optional MIME type of the file
    • url string uri optional nullable URL to download the binary file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded file
    • developer_private boolean optional Whether this binary file is only visible to developers and admins
      Default: false
    • user object optional nullable User who uploaded the file
      • id integer optional User ID
      • name string optional User display name
  • url string optional
  • heat integer optional How much attention the issue needs now. Higher with more affected players (duplicates and watchers outside the team), faster recent engagement, higher priority and a newer issue. Recalculated when the issue changes and periodically: every 15 minutes in an active project, up to every 12 hours in a quiet one. Compare only within one project. Shown as a temperature in the BetaHub UI.
  • peak_heat integer optional nullable Highest heat the issue has reached. Null until heat is first calculated.
  • token string optional JWT token for subsequent API access. Field name is ‘token’ (not ‘api_token’). Returned on successful issue creation when authenticated via a FormUser (submission form) token — present for both draft and non-draft submissions, and NOT gated on draft=true. Not returned for regular web-user submissions.
  • warnings array[string] optional Partial-success notices. Present on create/update responses only when something was silently dropped despite the 2xx status — e.g. a custom-field value exceeded the 4096-character cap, the 32-auto-created-fields-per-entity limit was hit, or a field could not be auto-created. Each entry is a human-readable string. Clients that submit custom fields should inspect this array to detect partial data loss.
application/json
{
  "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}.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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": {}
}
Issue not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
Headers
  • Retry-After integer Seconds to wait, the same as retry_after.
Response fields
  • error string optional
    agent_session_limit
  • message string optional Which session holds the account (as named by its agent), the share, and the fix.
  • retry_after integer optional Seconds until the share renews or the other session goes quiet.
    min: 1 max: 300
  • seats_url string uri optional nullable Where the user adds a seat for whoever else uses the account: the new-member page of an organization they administer; null when they administer none (an admin adds it).
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
application/json
  • issue_ids array[integer] required The bugs’ id values (the numeric primary key in IssueResponse, not scoped_id). Ids of other projects are skipped.
  • status string optional A built-in status or a project custom status.
  • priority string optional
    low medium high critical blocker
  • release_id integer optional A release of this project.
  • assigned_to_id object optional A project member’s user id, or unassign to clear the assignee.
  • operation string optional Deletes the bugs instead. Never for a scoped token.
    delete
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "issue_ids": [
    0
  ],
  "status": "string",
  "priority": "low",
  "release_id": 0,
  "assigned_to_id": {},
  "operation": "delete"
}
Responses
Changed.
Response fields
  • message string optional
  • updated_count integer optional
application/json
{
  "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}.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
Headers
  • Retry-After integer Seconds to wait, the same as retry_after.
Response fields
  • error string optional
    agent_session_limit
  • message string optional Which session holds the account (as named by its agent), the share, and the fix.
  • retry_after integer optional Seconds until the share renews or the other session goes quiet.
    min: 1 max: 300
  • seats_url string uri optional nullable Where the user adds a seat for whoever else uses the account: the new-member page of an organization they administer; null when they administer none (an admin adds it).
application/json
{
  "error": "agent_session_limit",
  "message": "string",
  "retry_after": 120,
  "seats_url": "https://example.com"
}
DEPRECATED: Use set_contact_info instead. This endpoint is maintained for backward compatibility. Sets the reporter e-mail for a DRAFT issue. The reporter is then identified by this e-mail and receives notifications about the issue. Must happen before publish. discord_id is NOT accepted (it was briefly, and has been removed — see set_contact_info).
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
application/json
  • email string email required The email address of the reporter. Must be a valid email format.
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "email": "user@example.com"
}
Responses
Successful response (same as set_contact_info)
Response fields
  • success boolean optional
  • message string optional
  • issue_id string optional
  • reporter object optional Echoes back the caller’s own input only.
    • email string optional
application/json
{
  "success": true,
  "message": "string",
  "issue_id": "string",
  "reporter": {
    "email": "string"
  }
}
Unprocessable Entity. Missing/malformed e-mail, discord_id sent, or the issue is not a draft.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. User does not have permission to set contact info for this issue.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Issue not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Sets the reporter’s e-mail address on a DRAFT issue. The reporter is then identified by this contact and receives notifications about the issue. This step is optional in the draft flow, but must happen before 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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
application/json
  • email string email required The email address of the reporter. Must be a valid email format.
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "email": "user@example.com"
}
Responses
Successful response
Response fields
  • success boolean optional
  • message string optional
  • issue_id string optional
  • reporter object optional Echoes back the caller’s own input only. The resolved account’s id, discord_id and virtual flag are deliberately NOT returned — the id alone was an unauthenticated pivot to a public profile page.
    • email string optional
Examples
Example Email Request
{
  "email": "reporter@example.com"
}
Example Response
{
  "success": true,
  "message": "Contact information assigned successfully",
  "issue_id": "1234abc",
  "reporter": {
    "email": "reporter@example.com"
  }
}
Unprocessable Entity. Occurs if the e-mail is missing or malformed, if discord_id is sent (no longer supported), or if the issue is not a draft.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
Examples
Invalid Email
{
  "error": "Invalid email format"
}
Missing Email
{
  "error": "email is required"
}
Not A Draft
{
  "error": "Contact information can only be set on a draft"
}
Forbidden. User does not have permission to set contact info for this issue.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Issue not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Publishes a draft issue, changing its status from hidden to open and making it visible. This is the final step in the draft flow.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
application/json
  • email_my_report boolean optional When set to true, an email will be sent to the reporter (if a valid email was set). Default is false.
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "email_my_report": true
}
Responses
Successful response
Response fields
  • success boolean optional
Examples
Example Request
{
  "email_my_report": true
}
Example Response
{
  "success": true
}
Sends a request to the issue reporter asking for additional information such as reproduction steps, screenshots, video clips, log files, or device information. This creates a notification for the reporter and adds the requester as a watcher.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
application/json
  • what string required The type of additional information being requested from the reporter
    steps screenshot video logs device
  • comment string optional Optional comment or message to include with the request
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "what": "steps",
  "comment": "string"
}
Responses
Successful response
Response fields
  • success boolean optional
  • message string optional
Examples
Example Request
{
  "what": "steps",
  "comment": "Could you please provide detailed steps to reproduce this issue?"
}
Example Response
{
  "success": true,
  "message": "Request for steps sent to reporter"
}
Bad Request. Invalid request type provided.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "Invalid request type"
}
Forbidden. User does not have permission to request details for this issue.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Issue not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}

Screenshots

List and upload screenshots for issues
Returns all screenshots attached to the specified issue. Developer-private screenshots are omitted for callers who are not developers or admins.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/issues/g-123/screenshots"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
application/json
[
  {
    "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"
    }
  }
]
Forbidden.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
No description provided.
Authorization required

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.
  • Without a header, or with a 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.
Path Parameters
Name Type Description
project_id required string
issue_id required string
Request Body
multipart/form-data
  • screenshot[image] string binary optional The screenshot image file
  • screenshot[name] string optional The name of the screenshot file. If set, the file will be saved with this name.
  • screenshot[developer_private] boolean optional If true, only developers and admins can view this screenshot
    Default: false
cURL
curl \
  -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"
Ruby
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
Python
import requests

response = requests.post(
    "https://app.betahub.io/projects/123/issues/g-123/screenshots",
    headers={"Authorization": "Bearer YOUR_API_TOKEN"}
)
print(response.json())
JavaScript
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();
Java
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());
Request Body
{
  "screenshot[image]": "string",
  "screenshot[name]": "string",
  "screenshot[developer_private]": true
}
Responses
Successful response
Response fields
  • id string optional
  • created_at string date-time optional
  • updated_at string date-time optional
  • status string optional
  • description string optional
  • issue_id string optional
Examples
Example Request
{
  "screenshot[image]": "(binary data representing an image)"
}
Example Response
{
  "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"
}
Request a presigned URL for uploading a screenshot directly to S3. This is step 1 of the three-step direct upload flow (see “Direct file upload flow” in the API overview). After this call you must PUT the raw file bytes to the returned direct_upload_url, replaying the returned headers, before calling confirm_upload.
Authorization required

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.
  • Without a header, or with a 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.
Path Parameters
Name Type Description
project_id required string
issue_id required string
Request Body
application/json
  • filename string required Name of the file to upload
  • byte_size integer required Size of the file in bytes
  • checksum string required Base64-encoded MD5 checksum of the file
  • content_type string required MIME type of the file
    image/png image/jpeg image/jpg
  • name string optional Optional display name for the screenshot file
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "filename": "screenshot.png",
  "byte_size": 1048576,
  "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==",
  "content_type": "image/png",
  "name": "Player Death Screenshot"
}
Responses
Presigned upload URL generated successfully
Response fields
  • blob_signed_id string required Signed ID of the blob to be used in confirmation
  • direct_upload_url string uri required S3 presigned URL for uploading the file
  • headers object required Headers to include with the upload request
    • «key» string optional
  • blob_id integer optional ID of the created blob
application/json
{
  "blob_signed_id": "string",
  "direct_upload_url": "https://example.com",
  "headers": {
    "key": "string"
  },
  "blob_id": 0
}
A required parameter is missing (filename, byte_size, checksum, or content_type). Body is a flat { "error": "<message>" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden — the caller is not a project member, has not accepted the project NDA, or is muted on the project (write access denied).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Invalid content type, file exceeds the per-type size cap, or the checksum failed integrity verification. Body is a flat { "error": "<message>" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Internal server error while creating the presigned upload (e.g. storage service failure). Body is a flat { "error": "Internal server error" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Unauthorized. Authentication required or invalid token provided.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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.

Authorization required

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.
  • Without a header, or with a 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.
Path Parameters
Name Type Description
project_id required string
issue_id required string
Request Body
application/json
  • blob_signed_id string required Signed ID of the blob received from presigned_upload
  • name string optional Optional display name for the screenshot file
  • developer_private boolean optional If true, only developers and admins can view this screenshot
    Default: false
cURL
curl \
  -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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "blob_signed_id": "string",
  "name": "Player Death Screenshot",
  "developer_private": true
}
Responses
Screenshot created and attached successfully
Response fields
  • id integer optional The ID of the screenshot
  • type string optional Attachment type identifier
  • description string optional nullable Auto-generated (or user-edited) description of the screenshot
  • size_bytes integer optional File size in bytes (alias for media_size_bytes)
  • media_size_bytes integer optional File size in bytes
  • content_type string optional nullable MIME type of the image (null when no image is attached)
  • url string uri optional nullable CDN URL to access the screenshot image (null when no image is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
  • filename string optional nullable Filename of the uploaded image (null when no image is attached)
  • layer_a_url string uri optional nullable CDN URL of the annotation overlay layer, when present
  • layer_a_filename string optional nullable Filename of the annotation overlay layer, when present
  • developer_private boolean optional Whether this screenshot is only visible to developers and admins
    Default: false
  • created_at string date-time optional Creation timestamp
  • updated_at string date-time optional Last update timestamp
  • user object optional nullable For screenshots this object reflects the issue’s reporter (issue.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 integer optional User ID
    • name string optional Player-facing display name
application/json
{
  "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"
  }
}
Missing blob_signed_id parameter. Body is a flat { "error": "<message>" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden — the caller is not a project member, has not accepted the project NDA, or is muted on the project (write access denied).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
The blob_signed_id signature is invalid/expired, or no blob was found for it. Body is a flat { "error": "<message>" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
The per-issue file-count limit was reached, the file was not actually uploaded to storage before confirming, or the record failed model validation. The count-limit and not-uploaded cases return a flat { "error": "<message>" }; model-validation failures instead return { "errors": { "<field>": ["<message>"] } }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Unauthorized. Authentication required or invalid token provided.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Returns a single screenshot. Developer-private screenshots are only visible to developers and admins. The ID is resolved across the issue and its merged duplicates.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
id required integer The screenshot ID.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/issues/g-123/screenshots/123"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • id integer optional The ID of the screenshot
  • type string optional Attachment type identifier
  • description string optional nullable Auto-generated (or user-edited) description of the screenshot
  • size_bytes integer optional File size in bytes (alias for media_size_bytes)
  • media_size_bytes integer optional File size in bytes
  • content_type string optional nullable MIME type of the image (null when no image is attached)
  • url string uri optional nullable CDN URL to access the screenshot image (null when no image is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
  • filename string optional nullable Filename of the uploaded image (null when no image is attached)
  • layer_a_url string uri optional nullable CDN URL of the annotation overlay layer, when present
  • layer_a_filename string optional nullable Filename of the annotation overlay layer, when present
  • developer_private boolean optional Whether this screenshot is only visible to developers and admins
    Default: false
  • created_at string date-time optional Creation timestamp
  • updated_at string date-time optional Last update timestamp
  • user object optional nullable For screenshots this object reflects the issue’s reporter (issue.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 integer optional User ID
    • name string optional Player-facing display name
application/json
{
  "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"
  }
}
Forbidden (e.g. developer-private screenshot requested by a non-developer).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Screenshot not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Identical to the PATCH operation. The 200 response is the raw ActiveRecord record.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
id required integer The screenshot ID.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
application/json
  • screenshot object optional
    • description string optional
    • name string optional
    • developer_private boolean optional
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "screenshot": {
    "description": "string",
    "name": "string",
    "developer_private": true
  }
}
Responses
Screenshot updated (raw record).
Response fields
  • id integer optional
  • issue_id integer optional
  • status integer optional Internal status column (integer).
  • description string optional nullable
  • media_size_bytes integer optional
  • developer_private boolean optional
  • user_id integer optional nullable
  • created_at string date-time optional
  • updated_at string date-time optional
application/json
{
  "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"
}
Forbidden.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Screenshot not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Validation failed. Body is an ActiveModel errors object keyed by field.
Response fields
  • error string optional Human-readable error message (shapes a and b). English, not localized, and not a stable contract — display it, do not parse it.
  • status object optional Present only in shape (b): a redundant copy of the HTTP status code as an integer (e.g. 422). Unreliable and often absent — rely on the HTTP status line instead.
  • errors object optional Shape (c). Either an object mapping attribute name → array of messages, or (on a few endpoints) a flat array of full-message strings.
application/json
{
  "error": "string",
  "status": {},
  "errors": {}
}
Update editable fields of a screenshot. The 200 response is the raw ActiveRecord record (not the jbuilder shape — it has no url/type/filename).
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
id required integer The screenshot ID.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
application/json
  • screenshot object optional
    • description string optional Screenshot description.
    • name string optional Custom filename for the screenshot.
    • developer_private boolean optional If true, only developers and admins can view this screenshot.
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "screenshot": {
    "description": "string",
    "name": "string",
    "developer_private": true
  }
}
Responses
Screenshot updated (raw record).
Response fields
  • id integer optional
  • issue_id integer optional
  • status integer optional Internal status column (integer).
  • description string optional nullable
  • media_size_bytes integer optional
  • developer_private boolean optional
  • user_id integer optional nullable
  • created_at string date-time optional
  • updated_at string date-time optional
application/json
{
  "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"
}
Forbidden.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Screenshot not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Validation failed. Body is an ActiveModel errors object keyed by field.
Response fields
  • error string optional Human-readable error message (shapes a and b). English, not localized, and not a stable contract — display it, do not parse it.
  • status object optional Present only in shape (b): a redundant copy of the HTTP status code as an integer (e.g. 422). Unreliable and often absent — rely on the HTTP status line instead.
  • errors object optional Shape (c). Either an object mapping attribute name → array of messages, or (on a few endpoints) a flat array of full-message strings.
application/json
{
  "error": "string",
  "status": {},
  "errors": {}
}
No description provided.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
id required integer The screenshot ID.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Screenshot deleted successfully (no content).
Screenshot deleted successfully (no content).
Forbidden.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Screenshot not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}

Log Files

List and upload log files for issues
Returns all log files attached to the specified issue. Developer-private log files are omitted for callers who are not developers or admins.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/issues/g-123/log_files"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
application/json
[
  {
    "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"
    }
  }
]
Forbidden.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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.

Authorization required

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.
  • Without a header, or with a 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.
Path Parameters
Name Type Description
project_id required string
issue_id required string
Request Body
multipart/form-data
  • log_file[file] string binary optional The log file binary data. Required unless log_file[contents] is provided.
  • log_file[contents] string optional Log contents as a plain string. Use this instead of log_file[file] when file uploads are not possible. The text will be stored as a text/plain file.
  • log_file[name] string optional Optional custom filename for the log file (e.g., “error_log.txt”).
  • log_file[developer_private] boolean optional If true, only developers and admins can view this log file
    Default: false
application/json
  • log_file object optional
    • contents string required Log contents as a plain string. The text will be stored as a text/plain file.
    • name string optional Optional custom filename for the log file (e.g., “error_log.txt”). Defaults to “log_file.txt” if not provided.
    • developer_private boolean optional If true, only developers and admins can view this log file
      Default: false
application/x-www-form-urlencoded
  • log_file[contents] string optional Log contents as a plain string.
  • log_file[name] string optional Optional custom filename for the log file.
  • log_file[developer_private] boolean optional If true, only developers and admins can view this log file
    Default: false
cURL
curl \
  -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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "log_file[file]": "string",
  "log_file[contents]": "string",
  "log_file[name]": "string",
  "log_file[developer_private]": true
}
Responses
Log file created successfully. If the content was auto-detected as binary, a BinaryFile record is returned instead of a LogFile (see the reclassification note above).
Response fields
  • id integer optional The ID of the log file
  • created_at string date-time optional Creation timestamp
  • updated_at string date-time optional Last update timestamp
  • media_size_bytes integer optional File size in bytes
  • type string optional Attachment type identifier
  • size_bytes integer optional File size in bytes (alias for media_size_bytes)
  • content_type string optional MIME type of the file
  • url string uri optional nullable URL to download the log file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
  • filename string optional nullable Filename of the uploaded file
  • developer_private boolean optional Whether this log file is only visible to developers and admins
    Default: false
  • user object optional nullable User who uploaded the file
    • id integer optional User ID
    • name string optional User display name
application/json
{
  "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"
  }
}
Validation failed
Response fields
  • error string optional Human-readable error message (shapes a and b). English, not localized, and not a stable contract — display it, do not parse it.
  • status object optional Present only in shape (b): a redundant copy of the HTTP status code as an integer (e.g. 422). Unreliable and often absent — rely on the HTTP status line instead.
  • errors object optional Shape (c). Either an object mapping attribute name → array of messages, or (on a few endpoints) a flat array of full-message strings.
application/json
{
  "error": "string",
  "status": {},
  "errors": {}
}
Unauthorized. Authentication required or invalid token provided.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Request a presigned URL for uploading a log file directly to S3. This is step 1 of the three-step direct upload flow (see “Direct file upload flow” in the API overview). After this call you must PUT the raw file bytes to the returned direct_upload_url, replaying the returned headers, before calling confirm_upload.
Authorization required

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.
  • Without a header, or with a 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.
Path Parameters
Name Type Description
project_id required string
issue_id required string
Request Body
application/json
  • filename string required Name of the log file to upload
  • byte_size integer required Size of the file in bytes
  • checksum string required Base64-encoded MD5 checksum of the file
  • content_type string required MIME type of the log file. Log files accept a broad set of text, config, and archive formats; use application/octet-stream as a fallback for unrecognized types.
    text/plain text/log text/x-log text/csv text/html text/xml text/yaml text/x-yaml text/markdown text/x-markdown text/x-ini text/x-properties application/json application/xml application/yaml application/x-yaml application/octet-stream application/gzip application/x-gzip application/zip application/x-zip-compressed application/x-tar application/x-bzip2 application/x-7z-compressed
  • name string optional Optional display name for the log file
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "filename": "application.log",
  "byte_size": 2048000,
  "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==",
  "content_type": "text/plain",
  "name": "Debug Log"
}
Responses
Presigned upload URL generated successfully
Response fields
  • blob_signed_id string required Signed ID of the blob to be used in confirmation
  • direct_upload_url string uri required S3 presigned URL for uploading the file
  • headers object required Headers to include with the upload request
    • «key» string optional
  • blob_id integer optional ID of the created blob
application/json
{
  "blob_signed_id": "string",
  "direct_upload_url": "https://example.com",
  "headers": {
    "key": "string"
  },
  "blob_id": 0
}
A required parameter is missing (filename, byte_size, checksum, or content_type). Body is a flat { "error": "<message>" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden — the caller is not a project member, has not accepted the project NDA, or is muted on the project (write access denied).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Invalid content type, file exceeds the per-type size cap, or the checksum failed integrity verification. Body is a flat { "error": "<message>" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Internal server error while creating the presigned upload (e.g. storage service failure). Body is a flat { "error": "Internal server error" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Unauthorized. Authentication required or invalid token provided.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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.

Authorization required

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.
  • Without a header, or with a 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.
Path Parameters
Name Type Description
project_id required string
issue_id required string
Request Body
application/json
  • blob_signed_id string required Signed ID of the blob received from presigned_upload
  • name string optional Optional display name for the log file
  • developer_private boolean optional If true, only developers and admins can view this log file
    Default: false
cURL
curl \
  -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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "blob_signed_id": "string",
  "name": "Debug Log",
  "developer_private": true
}
Responses
Log file created and attached successfully. If the content was auto-detected as binary, the body is a reclassification wrapper ({ "reclassified": true, "binary_file": { … } }) instead of the raw log-file record.
Response fields
  • id integer optional The ID of the log file
  • created_at string date-time optional Creation timestamp
  • updated_at string date-time optional Last update timestamp
  • media_size_bytes integer optional File size in bytes
  • type string optional Attachment type identifier
  • size_bytes integer optional File size in bytes (alias for media_size_bytes)
  • content_type string optional MIME type of the file
  • url string uri optional nullable URL to download the log file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
  • filename string optional nullable Filename of the uploaded file
  • developer_private boolean optional Whether this log file is only visible to developers and admins
    Default: false
  • user object optional nullable User who uploaded the file
    • id integer optional User ID
    • name string optional User display name
  • reclassified boolean optional
  • binary_file object optional Shape returned by the GET list and GET {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.
    • id integer optional The ID of the binary file
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
    • media_size_bytes integer optional File size in bytes
    • type string optional Attachment type identifier
    • size_bytes integer optional File size in bytes (alias for media_size_bytes)
    • content_type string optional MIME type of the file
    • url string uri optional nullable URL to download the binary file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
    • filename string optional nullable Filename of the uploaded file
    • developer_private boolean optional Whether this binary file is only visible to developers and admins
      Default: false
    • user object optional nullable User who uploaded the file
      • id integer optional User ID
      • name string optional User display name
application/json
{
  "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"
    }
  }
}
Missing blob_signed_id parameter. Body is a flat { "error": "<message>" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden — the caller is not a project member, has not accepted the project NDA, or is muted on the project (write access denied).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
The blob_signed_id signature is invalid/expired, or no blob was found for it. Body is a flat { "error": "<message>" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
The per-issue file-count limit was reached, the file was not actually uploaded to storage before confirming, or the record failed model validation. The count-limit and not-uploaded cases return a flat { "error": "<message>" }; model-validation failures instead return { "errors": { "<field>": ["<message>"] } }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Unauthorized. Authentication required or invalid token provided.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Returns a single log file. The ID is resolved across the issue and its merged duplicates. Developer-private log files are only visible to developers and admins. Log files are never shown to users without a project role (other than the issue’s reporter), even on public projects.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
id required integer The log file ID.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/issues/g-123/log_files/123"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • id integer optional The ID of the log file
  • created_at string date-time optional Creation timestamp
  • updated_at string date-time optional Last update timestamp
  • media_size_bytes integer optional File size in bytes
  • type string optional Attachment type identifier
  • size_bytes integer optional File size in bytes (alias for media_size_bytes)
  • content_type string optional MIME type of the file
  • url string uri optional nullable URL to download the log file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
  • filename string optional nullable Filename of the uploaded file
  • developer_private boolean optional Whether this log file is only visible to developers and admins
    Default: false
  • user object optional nullable User who uploaded the file
    • id integer optional User ID
    • name string optional User display name
application/json
{
  "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"
  }
}
Forbidden.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Log file not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Deletes a log file. Users who are muted on the project are still allowed to delete their own uploads.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
id required integer The log file ID.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Log file deleted successfully (no content).
Log file deleted successfully (no content).
Forbidden.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Log file not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Redirects (302) to the file’s CDN (CloudFront) download URL. The redirect targets a different host, so clients must follow cross-origin redirects.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
id required integer The log file ID.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Redirect to the CDN download URL for the file.
Headers
  • Location string CDN (CloudFront) URL of the file.
Redirect to the CDN download URL for the file.
Forbidden.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Log file not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}

Binary Files

List and upload binary files for issues
Returns all binary files attached to the specified issue. Developer-private binary files are omitted for callers who are not developers or admins.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/issues/g-123/binary_files"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
application/json
[
  {
    "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"
    }
  }
]
Forbidden.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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.

Authorization required

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.
  • Without a header, or with a 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.
Path Parameters
Name Type Description
project_id required string
issue_id required string
Request Body
multipart/form-data
  • binary_file[file] string binary optional The binary file data.
  • binary_file[name] string optional Optional custom filename for the binary file.
  • binary_file[developer_private] boolean optional If true, only developers and admins can view this binary file
    Default: false
cURL
curl \
  -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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "binary_file[file]": "string",
  "binary_file[name]": "string",
  "binary_file[developer_private]": true
}
Responses
Binary file created successfully
Response fields
  • id integer optional The ID of the binary file
  • created_at string date-time optional Creation timestamp
  • updated_at string date-time optional Last update timestamp
  • media_size_bytes integer optional File size in bytes
  • type string optional Attachment type identifier
  • size_bytes integer optional File size in bytes (alias for media_size_bytes)
  • content_type string optional MIME type of the file
  • url string uri optional nullable URL to download the binary file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
  • filename string optional nullable Filename of the uploaded file
  • developer_private boolean optional Whether this binary file is only visible to developers and admins
    Default: false
  • user object optional nullable User who uploaded the file
    • id integer optional User ID
    • name string optional User display name
application/json
{
  "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"
  }
}
Validation failed
Response fields
  • error string optional Human-readable error message (shapes a and b). English, not localized, and not a stable contract — display it, do not parse it.
  • status object optional Present only in shape (b): a redundant copy of the HTTP status code as an integer (e.g. 422). Unreliable and often absent — rely on the HTTP status line instead.
  • errors object optional Shape (c). Either an object mapping attribute name → array of messages, or (on a few endpoints) a flat array of full-message strings.
application/json
{
  "error": "string",
  "status": {},
  "errors": {}
}
Unauthorized. Authentication required or invalid token provided.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Request a presigned URL for uploading a binary file directly to S3. This is step 1 of the three-step direct upload flow (see “Direct file upload flow” in the API overview). After this call you must PUT the raw file bytes to the returned direct_upload_url, replaying the returned headers, before calling confirm_upload.
Authorization required

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.
  • Without a header, or with a 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.
Path Parameters
Name Type Description
project_id required string
issue_id required string
Request Body
application/json
  • filename string required Name of the binary file to upload
  • byte_size integer required Size of the file in bytes
  • checksum string required Base64-encoded MD5 checksum of the file
  • content_type string required MIME type of the binary file. Binary files accept ANY content type (server-side content-type validation is bypassed), so declare the file’s true MIME type rather than forcing application/octet-stream.
  • name string optional Optional display name for the binary file
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "filename": "crashdump.bin",
  "byte_size": 2048000,
  "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==",
  "content_type": "application/octet-stream",
  "name": "Crash Dump"
}
Responses
Presigned upload URL generated successfully
Response fields
  • blob_signed_id string required Signed ID of the blob to be used in confirmation
  • direct_upload_url string uri required S3 presigned URL for uploading the file
  • headers object required Headers to include with the upload request
    • «key» string optional
  • blob_id integer optional ID of the created blob
application/json
{
  "blob_signed_id": "string",
  "direct_upload_url": "https://example.com",
  "headers": {
    "key": "string"
  },
  "blob_id": 0
}
A required parameter is missing (filename, byte_size, checksum, or content_type). Body is a flat { "error": "<message>" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden — the caller is not a project member, has not accepted the project NDA, or is muted on the project (write access denied).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Invalid content type, file exceeds the per-type size cap, or the checksum failed integrity verification. Body is a flat { "error": "<message>" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Internal server error while creating the presigned upload (e.g. storage service failure). Body is a flat { "error": "Internal server error" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Unauthorized. Authentication required or invalid token provided.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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.

Authorization required

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.
  • Without a header, or with a 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.
Path Parameters
Name Type Description
project_id required string
issue_id required string
Request Body
application/json
  • blob_signed_id string required Signed ID of the blob received from presigned_upload
  • name string optional Optional display name for the binary file
  • developer_private boolean optional If true, only developers and admins can view this binary file
    Default: false
cURL
curl \
  -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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "blob_signed_id": "string",
  "name": "Crash Dump",
  "developer_private": true
}
Responses
Binary file created and attached successfully
Response fields
  • id integer optional The ID of the binary file
  • created_at string date-time optional Creation timestamp
  • updated_at string date-time optional Last update timestamp
  • media_size_bytes integer optional File size in bytes
  • type string optional Attachment type identifier
  • size_bytes integer optional File size in bytes (alias for media_size_bytes)
  • content_type string optional MIME type of the file
  • url string uri optional nullable URL to download the binary file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
  • filename string optional nullable Filename of the uploaded file
  • developer_private boolean optional Whether this binary file is only visible to developers and admins
    Default: false
  • user object optional nullable User who uploaded the file
    • id integer optional User ID
    • name string optional User display name
application/json
{
  "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"
  }
}
Missing blob_signed_id parameter. Body is a flat { "error": "<message>" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden — the caller is not a project member, has not accepted the project NDA, or is muted on the project (write access denied).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
The blob_signed_id signature is invalid/expired, or no blob was found for it. Body is a flat { "error": "<message>" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
The per-issue file-count limit was reached, the file was not actually uploaded to storage before confirming, or the record failed model validation. The count-limit and not-uploaded cases return a flat { "error": "<message>" }; model-validation failures instead return { "errors": { "<field>": ["<message>"] } }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Unauthorized. Authentication required or invalid token provided.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Returns a single binary file. The ID is resolved across the issue and its merged duplicates. Developer-private binary files are only visible to developers and admins. Binary files are never shown to users without a project role (other than the issue’s reporter), even on public projects.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
id required integer The binary file ID.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/issues/g-123/binary_files/123"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • id integer optional The ID of the binary file
  • created_at string date-time optional Creation timestamp
  • updated_at string date-time optional Last update timestamp
  • media_size_bytes integer optional File size in bytes
  • type string optional Attachment type identifier
  • size_bytes integer optional File size in bytes (alias for media_size_bytes)
  • content_type string optional MIME type of the file
  • url string uri optional nullable URL to download the binary file. Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
  • filename string optional nullable Filename of the uploaded file
  • developer_private boolean optional Whether this binary file is only visible to developers and admins
    Default: false
  • user object optional nullable User who uploaded the file
    • id integer optional User ID
    • name string optional User display name
application/json
{
  "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"
  }
}
Forbidden.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Binary file not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
No description provided.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
id required integer The binary file ID.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Binary file deleted successfully (no content).
Binary file deleted successfully (no content).
Forbidden.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Binary file not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Redirects (302) to the file’s CDN (CloudFront) download URL. The redirect targets a different host, so clients must follow cross-origin redirects.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
id required integer The binary file ID.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Redirect to the CDN download URL for the file.
Headers
  • Location string CDN (CloudFront) URL of the file.
Redirect to the CDN download URL for the file.
Forbidden.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Binary file not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}

Video Clips

List and upload video clips for issues
Returns all video clips attached to the specified issue. Developer-private video clips are omitted for callers who are not developers or admins.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/issues/g-123/video_clips"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
application/json
[
  {
    "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"
    }
  }
]
Forbidden.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
No description provided.
Authorization required

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.
  • Without a header, or with a 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.
Path Parameters
Name Type Description
project_id required string
issue_id required string
Request Body
multipart/form-data
  • video_clip[video] string binary optional The video clip file
  • video_clip[name] string optional The name of the video clip file. If set, the file will be saved with this name.
  • video_clip[developer_private] boolean optional If true, only developers and admins can view this video clip
    Default: false
cURL
curl \
  -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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "video_clip[video]": "string",
  "video_clip[name]": "string",
  "video_clip[developer_private]": true
}
Responses
Successful response
Response fields
  • id string optional
  • issue_id string optional
  • created_at string date-time optional
  • updated_at string date-time optional
  • processing boolean optional
  • processed boolean optional
  • failed boolean optional
Examples
Example Request
{
  "video_clip[video]": "(binary data representing a video file)"
}
Example Response
{
  "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
}
Request a presigned URL for uploading a video clip directly to S3. This is step 1 of the three-step direct upload flow (see “Direct file upload flow” in the API overview). After this call you must PUT the raw file bytes to the returned direct_upload_url, replaying the returned headers, before calling confirm_upload.
Authorization required

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.
  • Without a header, or with a 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.
Path Parameters
Name Type Description
project_id required string
issue_id required string
Request Body
application/json
  • filename string required Name of the video file to upload
  • byte_size integer required Size of the file in bytes
  • checksum string required Base64-encoded MD5 checksum of the file
  • content_type string required MIME type of the video file
    video/mp4 video/quicktime video/webm video/avi video/mov
  • name string optional Optional display name for the video clip file
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "filename": "gameplay.mp4",
  "byte_size": 52428800,
  "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==",
  "content_type": "video/mp4",
  "name": "Boss Fight Gameplay"
}
Responses
Presigned upload URL generated successfully
Response fields
  • blob_signed_id string required Signed ID of the blob to be used in confirmation
  • direct_upload_url string uri required S3 presigned URL for uploading the file
  • headers object required Headers to include with the upload request
    • «key» string optional
  • blob_id integer optional ID of the created blob
application/json
{
  "blob_signed_id": "string",
  "direct_upload_url": "https://example.com",
  "headers": {
    "key": "string"
  },
  "blob_id": 0
}
A required parameter is missing (filename, byte_size, checksum, or content_type). Body is a flat { "error": "<message>" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden — the caller is not a project member, has not accepted the project NDA, or is muted on the project (write access denied).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Invalid content type, file exceeds the per-type size cap, or the checksum failed integrity verification. Body is a flat { "error": "<message>" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Internal server error while creating the presigned upload (e.g. storage service failure). Body is a flat { "error": "Internal server error" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Unauthorized. Authentication required or invalid token provided.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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.

Authorization required

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.
  • Without a header, or with a 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.
Path Parameters
Name Type Description
project_id required string
issue_id required string
Request Body
application/json
  • blob_signed_id string required Signed ID of the blob received from presigned_upload
  • name string optional Optional display name for the video clip file
  • developer_private boolean optional If true, only developers and admins can view this video clip
    Default: false
cURL
curl \
  -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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "blob_signed_id": "string",
  "name": "Boss Fight Gameplay",
  "developer_private": true
}
Responses
Video clip created and attached successfully
Response fields
  • id integer optional The ID of the video clip
  • type string optional Attachment type identifier
  • processing boolean optional Whether the video is currently being transcoded/processed by a background job.
  • processed boolean optional Whether the clip is ready for inline web playback. For multipart uploads this becomes 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).
  • failed boolean optional Whether video processing has failed
  • size_bytes integer optional File size in bytes (alias for media_size_bytes)
  • media_size_bytes integer optional File size in bytes
  • content_type string optional nullable MIME type of the video (null when no video is attached)
  • url string uri optional nullable CDN URL to access the video clip (null when no video is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
  • filename string optional nullable Filename of the uploaded video (null when no video is attached)
  • developer_private boolean optional Whether this video clip is only visible to developers and admins
    Default: false
  • created_at string date-time optional Creation timestamp
  • updated_at string date-time optional Last update timestamp
  • user object optional nullable User who uploaded the video clip (null for anonymous/reporter fallback)
    • id integer optional User ID
    • name string optional Player-facing display name
application/json
{
  "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"
  }
}
Missing blob_signed_id parameter. Body is a flat { "error": "<message>" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden — the caller is not a project member, has not accepted the project NDA, or is muted on the project (write access denied).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
The blob_signed_id signature is invalid/expired, or no blob was found for it. Body is a flat { "error": "<message>" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
The per-issue file-count limit was reached, the file was not actually uploaded to storage before confirming, or the record failed model validation. The count-limit and not-uploaded cases return a flat { "error": "<message>" }; model-validation failures instead return { "errors": { "<field>": ["<message>"] } }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Unauthorized. Authentication required or invalid token provided.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Returns a single video clip. The ID is resolved across the issue and its merged duplicates. Developer-private video clips are only visible to developers and admins.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
id required integer The video clip ID.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/issues/g-123/video_clips/123"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • id integer optional The ID of the video clip
  • type string optional Attachment type identifier
  • processing boolean optional Whether the video is currently being transcoded/processed by a background job.
  • processed boolean optional Whether the clip is ready for inline web playback. For multipart uploads this becomes 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).
  • failed boolean optional Whether video processing has failed
  • size_bytes integer optional File size in bytes (alias for media_size_bytes)
  • media_size_bytes integer optional File size in bytes
  • content_type string optional nullable MIME type of the video (null when no video is attached)
  • url string uri optional nullable CDN URL to access the video clip (null when no video is attached). Unsigned CDN path, fetched directly with no additional API authentication; developer_private controls only whether this URL appears in the listing, not access to the URL once known.
  • filename string optional nullable Filename of the uploaded video (null when no video is attached)
  • developer_private boolean optional Whether this video clip is only visible to developers and admins
    Default: false
  • created_at string date-time optional Creation timestamp
  • updated_at string date-time optional Last update timestamp
  • user object optional nullable User who uploaded the video clip (null for anonymous/reporter fallback)
    • id integer optional User ID
    • name string optional Player-facing display name
application/json
{
  "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"
  }
}
Forbidden.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Video clip not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
No description provided.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
id required integer The video clip ID.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Video clip deleted successfully (no content).
Video clip deleted successfully (no content).
Forbidden.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Video clip not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}

Client Events

Append client/SDK-side runtime events (logs) to an issue

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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
issue_id required string
Request Body
application/json
  • client_event object required
    • level string required Severity level of the event. Required.
      info success warning error
    • message string required The event message / log text. Required.
    • event_type string optional nullable Optional caller-defined event type/category (free-form string).
    • metadata object optional nullable Optional free-form JSON object of additional structured data to store alongside the event.
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "client_event": {
    "level": "info",
    "message": "string",
    "event_type": "string",
    "metadata": {}
  }
}
Responses
Event recorded.
Response fields
  • id integer optional Database id of the created client event.
  • status string optional Constant string created.
    created
application/json
{
  "id": 4821,
  "status": "created"
}
Unauthorized. The request is not authenticated as a submission-form (SDK) FormUser. Body is { "error": "Unauthorized" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. The FormUser token does not belong to the project in the path. Body is { "error": "Unauthorized" }.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Validation failed (e.g. missing/invalid level, blank message, or the per-issue cap of 100 events reached). Body is { "errors": ["<full message>", ...] } — a flat array of full-message strings.
Response fields
  • error string optional Human-readable error message (shapes a and b). English, not localized, and not a stable contract — display it, do not parse it.
  • status object optional Present only in shape (b): a redundant copy of the HTTP status code as an integer (e.g. 422). Unreliable and often absent — rely on the HTTP status line instead.
  • errors object optional Shape (c). Either an object mapping attribute name → array of messages, or (on a few endpoints) a flat array of full-message strings.
application/json
{
  "error": "string",
  "status": {},
  "errors": {}
}

Feature Requests

Create, list, and manage feature requests (suggestions)
Returns a paginated list of feature requests for a project, sorted by the specified criteria. By default returns publicly visible, active requests sorted by most votes (“top”).
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Query Parameters
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)
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • feature_requests array[object] optional
    • id integer optional Internal primary key of the feature request, emitted as a JSON number (integer), not a string. To reference a feature request in the {id} path parameter, use the scoped_id field below (the obfuscated/project-scoped id).
    • scoped_id string optional The project-scoped, obfuscated identifier used against the {id} path parameter (e.g. “123” or “fr-456”). Always emitted.
    • title string optional
    • description string optional
    • status string optional Current status of the feature request. The ‘hidden’ status indicates a draft feature request that has not been published yet and is not visible to other users.
      open under_review planned started completed declined pending_moderation rejected muted duplicate split hidden
    • created_at string date-time optional
    • updated_at string date-time optional
    • user object optional
      • id integer optional Internal user id, emitted as a JSON number.
      • name string optional Display name. May be an identity-masked placeholder when the project hides team identities from players.
    • votes integer optional Number of votes for this feature request
    • voted boolean optional Whether the calling user has voted for this feature request. NOTE: on the single-object GET detail endpoint (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 boolean optional Whether this feature request has been marked as a duplicate of another. Always emitted.
    • original_feature_request object optional The feature request this one duplicates. Present ONLY when is_duplicate is true.
      • id integer optional Internal id of the original feature request, emitted as a JSON number.
      • title string optional
      • url string optional
    • duplicates_count integer optional Number of other feature requests marked as duplicates of this one. Always emitted.
    • url string optional
    • attachments array[object] optional Attached files (screenshots, attachments).
      • id integer optional Attachment id, emitted as a JSON number.
      • type string optional Constant string ‘attachment’ identifying the record type.
        attachment
      • filename string optional Original uploaded filename (alias of original_filename).
      • original_filename string optional
      • url string optional nullable CDN URL to the file, or null if the file is not attached.
      • content_type string optional
      • file_type string optional Server-detected category of the attachment, derived from its content type.
        image video document audio other
      • size_bytes integer optional
      • display_order integer optional
      • created_at string date-time optional
      • updated_at string date-time optional
      • user object optional
        • id integer optional
        • name string optional
    • token string optional Editing token for the newly created feature request. Present only on the create (POST) response, and only when the server issued one (e.g. anonymous/SDK submissions) — it lets the submitter manage the request without a session.
    • warnings array[string] optional Partial-success notices. Only emitted for submission-form / game-SDK submissions (regular authenticated session users never have custom fields applied, so they never receive 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.
  • pagination object optional
    • current_page integer optional
    • total_pages integer optional
    • total_count integer optional
    • per_page integer optional
  • sort string optional
  • project_id integer optional
application/json
{
  "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
}
Forbidden. User does not have permission to view feature requests.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}

Creates a new feature request (suggestion).

Moderation: The created request may come back with a non-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.

Attachments: Screenshots/attachments can be uploaded on create using multipart/form-data with a repeatable feature_request[files][] field (one entry per file).

Retries: Splitting and duplicate detection run during the request, so a long suggestion can time out although it was saved. Send an 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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Header Parameters
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
Request Body
application/x-www-form-urlencoded
  • feature_request[description] string required Description of the feature request.
  • feature_request[title] string optional Title of the feature request. Settable by callers with the 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.
  • feature_request[status] string optional Moderator-only. Accepted only from callers holding the suggestions.moderate scope; sets the status directly and skips auto-moderation. Ignored (stripped from permitted params) for everyone else.
  • feature_request[custom][FIELD_IDENT] string optional Custom field values for the suggestion. Replace 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.
  • draft boolean optional When set to true, creates the feature request in hidden (draft) status. Draft feature requests are not visible until published.
multipart/form-data
  • feature_request[description] string required Description of the feature request.
  • feature_request[title] string optional Title of the feature request. Settable by suggestions.update scope holders, the record owner, and submission-form (GameFormUser / SDK) token clients.
  • feature_request[files][] array[string] optional File attachments (screenshots, images, documents) for the suggestion. Provide the field once per file to attach multiple files.
  • feature_request[custom][FIELD_IDENT] string optional Custom field values for the suggestion (same behavior as the urlencoded variant, including that they are applied only on submission-form / game-SDK submissions). Replace FIELD_IDENT with the field’s identifier.
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "feature_request[description]": "string",
  "feature_request[title]": "string",
  "feature_request[status]": "string",
  "feature_request[custom][FIELD_IDENT]": "string",
  "draft": true
}
Responses
Successful response
Response fields
  • id integer optional Internal primary key of the feature request, emitted as a JSON number (integer), not a string. To reference a feature request in the {id} path parameter, use the scoped_id field below (the obfuscated/project-scoped id).
  • scoped_id string optional The project-scoped, obfuscated identifier used against the {id} path parameter (e.g. “123” or “fr-456”). Always emitted.
  • title string optional
  • description string optional
  • status string optional Current status of the feature request. The ‘hidden’ status indicates a draft feature request that has not been published yet and is not visible to other users.
    open under_review planned started completed declined pending_moderation rejected muted duplicate split hidden
  • created_at string date-time optional
  • updated_at string date-time optional
  • user object optional
    • id integer optional Internal user id, emitted as a JSON number.
    • name string optional Display name. May be an identity-masked placeholder when the project hides team identities from players.
  • votes integer optional Number of votes for this feature request
  • voted boolean optional Whether the calling user has voted for this feature request. NOTE: on the single-object GET detail endpoint (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 boolean optional Whether this feature request has been marked as a duplicate of another. Always emitted.
  • original_feature_request object optional The feature request this one duplicates. Present ONLY when is_duplicate is true.
    • id integer optional Internal id of the original feature request, emitted as a JSON number.
    • title string optional
    • url string optional
  • duplicates_count integer optional Number of other feature requests marked as duplicates of this one. Always emitted.
  • url string optional
  • attachments array[object] optional Attached files (screenshots, attachments).
    • id integer optional Attachment id, emitted as a JSON number.
    • type string optional Constant string ‘attachment’ identifying the record type.
      attachment
    • filename string optional Original uploaded filename (alias of original_filename).
    • original_filename string optional
    • url string optional nullable CDN URL to the file, or null if the file is not attached.
    • content_type string optional
    • file_type string optional Server-detected category of the attachment, derived from its content type.
      image video document audio other
    • size_bytes integer optional
    • display_order integer optional
    • created_at string date-time optional
    • updated_at string date-time optional
    • user object optional
      • id integer optional
      • name string optional
  • token string optional Editing token for the newly created feature request. Present only on the create (POST) response, and only when the server issued one (e.g. anonymous/SDK submissions) — it lets the submitter manage the request without a session.
  • warnings array[string] optional Partial-success notices. Only emitted for submission-form / game-SDK submissions (regular authenticated session users never have custom fields applied, so they never receive 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.
Examples
Example Request
{
  "feature_request[description]": "Add a dark mode to the app"
}
Example Response
{
  "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.”

Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
Examples
Wrong Project
{
  "error": "Auth token does not belong to this project."
}
No Permission Or Rate Limited
{
  "error": "Auth token does not have permission to submit suggestions, or rate limit exceeded."
}
Org Quota Reached
{
  "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”).

Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
Examples
Tester Rate Limit
{
  "error": "You have reached your 24 hours limit for suggestion submissions. You can submit again later."
}
Submission Token Reused
{
  "error": "Submission token has already been used. Please generate a new one."
}
Searches for feature requests (also known as suggestions) within a project. Uses full-text search powered by Meilisearch to find matching feature requests based on the query string. Returns matching titles for autocomplete functionality or full feature request objects for detailed results. Note: Only searches among publicly visible, active feature requests (excludes pending moderation, rejected, muted, duplicate, and split requests).
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Query Parameters
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.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • feature_requests array[object] optional
    • id integer optional Internal primary key of the feature request, emitted as a JSON number (integer), not a string. To reference a feature request in the {id} path parameter, use the scoped_id field below (the obfuscated/project-scoped id).
    • scoped_id string optional The project-scoped, obfuscated identifier used against the {id} path parameter (e.g. “123” or “fr-456”). Always emitted.
    • title string optional
    • description string optional
    • status string optional Current status of the feature request. The ‘hidden’ status indicates a draft feature request that has not been published yet and is not visible to other users.
      open under_review planned started completed declined pending_moderation rejected muted duplicate split hidden
    • created_at string date-time optional
    • updated_at string date-time optional
    • user object optional
      • id integer optional Internal user id, emitted as a JSON number.
      • name string optional Display name. May be an identity-masked placeholder when the project hides team identities from players.
    • votes integer optional Number of votes for this feature request
    • voted boolean optional Whether the calling user has voted for this feature request. NOTE: on the single-object GET detail endpoint (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 boolean optional Whether this feature request has been marked as a duplicate of another. Always emitted.
    • original_feature_request object optional The feature request this one duplicates. Present ONLY when is_duplicate is true.
      • id integer optional Internal id of the original feature request, emitted as a JSON number.
      • title string optional
      • url string optional
    • duplicates_count integer optional Number of other feature requests marked as duplicates of this one. Always emitted.
    • url string optional
    • attachments array[object] optional Attached files (screenshots, attachments).
      • id integer optional Attachment id, emitted as a JSON number.
      • type string optional Constant string ‘attachment’ identifying the record type.
        attachment
      • filename string optional Original uploaded filename (alias of original_filename).
      • original_filename string optional
      • url string optional nullable CDN URL to the file, or null if the file is not attached.
      • content_type string optional
      • file_type string optional Server-detected category of the attachment, derived from its content type.
        image video document audio other
      • size_bytes integer optional
      • display_order integer optional
      • created_at string date-time optional
      • updated_at string date-time optional
      • user object optional
        • id integer optional
        • name string optional
    • token string optional Editing token for the newly created feature request. Present only on the create (POST) response, and only when the server issued one (e.g. anonymous/SDK submissions) — it lets the submitter manage the request without a session.
    • warnings array[string] optional Partial-success notices. Only emitted for submission-form / game-SDK submissions (regular authenticated session users never have custom fields applied, so they never receive 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.
  • pagination object optional
    • current_page integer optional
    • per_page integer optional
    • total_pages integer optional
    • total_count integer optional
  • sort string optional
  • project_id integer optional
application/json
{
  "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
}
Forbidden. User does not have permission to search feature requests in this project.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Feature request not found or not visible to you (when searching by scoped_id).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Returns detailed information about a specific feature request, including vote count, duplicate information, and attachments.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
id required string The feature request ID or scoped ID
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/feature_requests/123.json"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • id integer optional Internal primary key of the feature request, emitted as a JSON number (integer), not a string. To reference a feature request in the {id} path parameter, use the scoped_id field below (the obfuscated/project-scoped id).
  • scoped_id string optional The project-scoped, obfuscated identifier used against the {id} path parameter (e.g. “123” or “fr-456”). Always emitted.
  • title string optional
  • description string optional
  • status string optional Current status of the feature request. The ‘hidden’ status indicates a draft feature request that has not been published yet and is not visible to other users.
    open under_review planned started completed declined pending_moderation rejected muted duplicate split hidden
  • created_at string date-time optional
  • updated_at string date-time optional
  • user object optional
    • id integer optional Internal user id, emitted as a JSON number.
    • name string optional Display name. May be an identity-masked placeholder when the project hides team identities from players.
  • votes integer optional Number of votes for this feature request
  • voted boolean optional Whether the calling user has voted for this feature request. NOTE: on the single-object GET detail endpoint (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 boolean optional Whether this feature request has been marked as a duplicate of another. Always emitted.
  • original_feature_request object optional The feature request this one duplicates. Present ONLY when is_duplicate is true.
    • id integer optional Internal id of the original feature request, emitted as a JSON number.
    • title string optional
    • url string optional
  • duplicates_count integer optional Number of other feature requests marked as duplicates of this one. Always emitted.
  • url string optional
  • attachments array[object] optional Attached files (screenshots, attachments).
    • id integer optional Attachment id, emitted as a JSON number.
    • type string optional Constant string ‘attachment’ identifying the record type.
      attachment
    • filename string optional Original uploaded filename (alias of original_filename).
    • original_filename string optional
    • url string optional nullable CDN URL to the file, or null if the file is not attached.
    • content_type string optional
    • file_type string optional Server-detected category of the attachment, derived from its content type.
      image video document audio other
    • size_bytes integer optional
    • display_order integer optional
    • created_at string date-time optional
    • updated_at string date-time optional
    • user object optional
      • id integer optional
      • name string optional
  • token string optional Editing token for the newly created feature request. Present only on the create (POST) response, and only when the server issued one (e.g. anonymous/SDK submissions) — it lets the submitter manage the request without a session.
  • warnings array[string] optional Partial-success notices. Only emitted for submission-form / game-SDK submissions (regular authenticated session users never have custom fields applied, so they never receive 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.
application/json
{
  "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"
  ]
}
Forbidden. User does not have permission to view this feature request.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Feature request not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
id required string The feature request ID or scoped ID
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
application/json
  • feature_request object required
    • status string optional A suggestion status. For a scoped token one of open, under_review, planned, started, completed, declined.
    • title string optional Ignored for a scoped token.
    • description string optional Ignored for a scoped token.
    • custom_fields object optional Changes only the fields sent; 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
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "feature_request": {
    "status": "planned",
    "title": "string",
    "description": "string",
    "custom_fields": {}
  }
}
Responses
The updated suggestion.
Response fields
  • id integer optional Internal primary key of the feature request, emitted as a JSON number (integer), not a string. To reference a feature request in the {id} path parameter, use the scoped_id field below (the obfuscated/project-scoped id).
  • scoped_id string optional The project-scoped, obfuscated identifier used against the {id} path parameter (e.g. “123” or “fr-456”). Always emitted.
  • title string optional
  • description string optional
  • status string optional Current status of the feature request. The ‘hidden’ status indicates a draft feature request that has not been published yet and is not visible to other users.
    open under_review planned started completed declined pending_moderation rejected muted duplicate split hidden
  • created_at string date-time optional
  • updated_at string date-time optional
  • user object optional
    • id integer optional Internal user id, emitted as a JSON number.
    • name string optional Display name. May be an identity-masked placeholder when the project hides team identities from players.
  • votes integer optional Number of votes for this feature request
  • voted boolean optional Whether the calling user has voted for this feature request. NOTE: on the single-object GET detail endpoint (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 boolean optional Whether this feature request has been marked as a duplicate of another. Always emitted.
  • original_feature_request object optional The feature request this one duplicates. Present ONLY when is_duplicate is true.
    • id integer optional Internal id of the original feature request, emitted as a JSON number.
    • title string optional
    • url string optional
  • duplicates_count integer optional Number of other feature requests marked as duplicates of this one. Always emitted.
  • url string optional
  • attachments array[object] optional Attached files (screenshots, attachments).
    • id integer optional Attachment id, emitted as a JSON number.
    • type string optional Constant string ‘attachment’ identifying the record type.
      attachment
    • filename string optional Original uploaded filename (alias of original_filename).
    • original_filename string optional
    • url string optional nullable CDN URL to the file, or null if the file is not attached.
    • content_type string optional
    • file_type string optional Server-detected category of the attachment, derived from its content type.
      image video document audio other
    • size_bytes integer optional
    • display_order integer optional
    • created_at string date-time optional
    • updated_at string date-time optional
    • user object optional
      • id integer optional
      • name string optional
  • token string optional Editing token for the newly created feature request. Present only on the create (POST) response, and only when the server issued one (e.g. anonymous/SDK submissions) — it lets the submitter manage the request without a session.
  • warnings array[string] optional Partial-success notices. Only emitted for submission-form / game-SDK submissions (regular authenticated session users never have custom fields applied, so they never receive 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.
application/json
{
  "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}.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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": {}
}
Feature request not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
{error}: a scoped token’s status outside the public workflow (the message lists the allowed ones), or the validation messages.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
Headers
  • Retry-After integer Seconds to wait, the same as retry_after.
Response fields
  • error string optional
    agent_session_limit
  • message string optional Which session holds the account (as named by its agent), the share, and the fix.
  • retry_after integer optional Seconds until the share renews or the other session goes quiet.
    min: 1 max: 300
  • seats_url string uri optional nullable Where the user adds a seat for whoever else uses the account: the new-member page of an organization they administer; null when they administer none (an admin adds it).
application/json
{
  "error": "agent_session_limit",
  "message": "string",
  "retry_after": 120,
  "seats_url": "https://example.com"
}
Sets the reporter’s e-mail address on a DRAFT feature request, used in the draft flow to capture contact details. Must happen before 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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
id required string The feature request ID or scoped ID
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
application/json
  • email string email required Email address of the user.
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "email": "user@example.com"
}
Responses
Contact information set successfully
Response fields
  • success boolean optional
  • message string optional
  • feature_request_id integer optional The feature request’s primary key, emitted as a JSON number (integer).
  • user object optional Echoes back the caller’s own input only. The resolved account’s id, discord_id and virtual flag are deliberately NOT returned.
    • email string optional
application/json
{
  "success": true,
  "message": "Contact information assigned successfully",
  "feature_request_id": 1234,
  "user": {
    "email": "user@example.com"
  }
}
Unprocessable Entity. Missing/malformed e-mail, discord_id sent (no longer supported), or the feature request is not a draft.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. User does not have permission to modify this feature request.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Feature request not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Publishes a draft (hidden) feature request by changing its status from hidden to open. This makes the feature request visible to other users. Typically used at the end of the draft flow when the user completes their submission.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
id required string The feature request ID or scoped ID
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -X POST \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/feature_requests/123/publish"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Feature request published successfully
Response fields
  • success boolean optional
application/json
{
  "success": true
}
Forbidden. User does not have permission to publish this feature request.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Feature request not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Approves a suggestion from the moderation queue: status open, visible to players. Answers the suggestion. Needs suggestions.moderate. A scoped token cannot use it on a hidden or muted suggestion.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
id required string The feature request ID or scoped ID
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
The suggestion.
Response fields
  • id integer optional Internal primary key of the feature request, emitted as a JSON number (integer), not a string. To reference a feature request in the {id} path parameter, use the scoped_id field below (the obfuscated/project-scoped id).
  • scoped_id string optional The project-scoped, obfuscated identifier used against the {id} path parameter (e.g. “123” or “fr-456”). Always emitted.
  • title string optional
  • description string optional
  • status string optional Current status of the feature request. The ‘hidden’ status indicates a draft feature request that has not been published yet and is not visible to other users.
    open under_review planned started completed declined pending_moderation rejected muted duplicate split hidden
  • created_at string date-time optional
  • updated_at string date-time optional
  • user object optional
    • id integer optional Internal user id, emitted as a JSON number.
    • name string optional Display name. May be an identity-masked placeholder when the project hides team identities from players.
  • votes integer optional Number of votes for this feature request
  • voted boolean optional Whether the calling user has voted for this feature request. NOTE: on the single-object GET detail endpoint (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 boolean optional Whether this feature request has been marked as a duplicate of another. Always emitted.
  • original_feature_request object optional The feature request this one duplicates. Present ONLY when is_duplicate is true.
    • id integer optional Internal id of the original feature request, emitted as a JSON number.
    • title string optional
    • url string optional
  • duplicates_count integer optional Number of other feature requests marked as duplicates of this one. Always emitted.
  • url string optional
  • attachments array[object] optional Attached files (screenshots, attachments).
    • id integer optional Attachment id, emitted as a JSON number.
    • type string optional Constant string ‘attachment’ identifying the record type.
      attachment
    • filename string optional Original uploaded filename (alias of original_filename).
    • original_filename string optional
    • url string optional nullable CDN URL to the file, or null if the file is not attached.
    • content_type string optional
    • file_type string optional Server-detected category of the attachment, derived from its content type.
      image video document audio other
    • size_bytes integer optional
    • display_order integer optional
    • created_at string date-time optional
    • updated_at string date-time optional
    • user object optional
      • id integer optional
      • name string optional
  • token string optional Editing token for the newly created feature request. Present only on the create (POST) response, and only when the server issued one (e.g. anonymous/SDK submissions) — it lets the submitter manage the request without a session.
  • warnings array[string] optional Partial-success notices. Only emitted for submission-form / game-SDK submissions (regular authenticated session users never have custom fields applied, so they never receive 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.
application/json
{
  "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}.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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": {}
}
Feature request not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
{error}: the suggestion could not be saved.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
Headers
  • Retry-After integer Seconds to wait, the same as retry_after.
Response fields
  • error string optional
    agent_session_limit
  • message string optional Which session holds the account (as named by its agent), the share, and the fix.
  • retry_after integer optional Seconds until the share renews or the other session goes quiet.
    min: 1 max: 300
  • seats_url string uri optional nullable Where the user adds a seat for whoever else uses the account: the new-member page of an organization they administer; null when they administer none (an admin adds it).
application/json
{
  "error": "agent_session_limit",
  "message": "string",
  "retry_after": 120,
  "seats_url": "https://example.com"
}
Rejects a suggestion from the moderation queue: status 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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
id required string The feature request ID or scoped ID
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
The suggestion.
Response fields
  • id integer optional Internal primary key of the feature request, emitted as a JSON number (integer), not a string. To reference a feature request in the {id} path parameter, use the scoped_id field below (the obfuscated/project-scoped id).
  • scoped_id string optional The project-scoped, obfuscated identifier used against the {id} path parameter (e.g. “123” or “fr-456”). Always emitted.
  • title string optional
  • description string optional
  • status string optional Current status of the feature request. The ‘hidden’ status indicates a draft feature request that has not been published yet and is not visible to other users.
    open under_review planned started completed declined pending_moderation rejected muted duplicate split hidden
  • created_at string date-time optional
  • updated_at string date-time optional
  • user object optional
    • id integer optional Internal user id, emitted as a JSON number.
    • name string optional Display name. May be an identity-masked placeholder when the project hides team identities from players.
  • votes integer optional Number of votes for this feature request
  • voted boolean optional Whether the calling user has voted for this feature request. NOTE: on the single-object GET detail endpoint (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 boolean optional Whether this feature request has been marked as a duplicate of another. Always emitted.
  • original_feature_request object optional The feature request this one duplicates. Present ONLY when is_duplicate is true.
    • id integer optional Internal id of the original feature request, emitted as a JSON number.
    • title string optional
    • url string optional
  • duplicates_count integer optional Number of other feature requests marked as duplicates of this one. Always emitted.
  • url string optional
  • attachments array[object] optional Attached files (screenshots, attachments).
    • id integer optional Attachment id, emitted as a JSON number.
    • type string optional Constant string ‘attachment’ identifying the record type.
      attachment
    • filename string optional Original uploaded filename (alias of original_filename).
    • original_filename string optional
    • url string optional nullable CDN URL to the file, or null if the file is not attached.
    • content_type string optional
    • file_type string optional Server-detected category of the attachment, derived from its content type.
      image video document audio other
    • size_bytes integer optional
    • display_order integer optional
    • created_at string date-time optional
    • updated_at string date-time optional
    • user object optional
      • id integer optional
      • name string optional
  • token string optional Editing token for the newly created feature request. Present only on the create (POST) response, and only when the server issued one (e.g. anonymous/SDK submissions) — it lets the submitter manage the request without a session.
  • warnings array[string] optional Partial-success notices. Only emitted for submission-form / game-SDK submissions (regular authenticated session users never have custom fields applied, so they never receive 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.
application/json
{
  "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}.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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": {}
}
Feature request not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
{error}: the suggestion could not be saved.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
Headers
  • Retry-After integer Seconds to wait, the same as retry_after.
Response fields
  • error string optional
    agent_session_limit
  • message string optional Which session holds the account (as named by its agent), the share, and the fix.
  • retry_after integer optional Seconds until the share renews or the other session goes quiet.
    min: 1 max: 300
  • seats_url string uri optional nullable Where the user adds a seat for whoever else uses the account: the new-member page of an organization they administer; null when they administer none (an admin adds it).
application/json
{
  "error": "agent_session_limit",
  "message": "string",
  "retry_after": 120,
  "seats_url": "https://example.com"
}
Puts a rejected suggestion back in the moderation queue: status pending_moderation. Answers the suggestion. Needs suggestions.moderate. A scoped token cannot use it on a hidden or muted suggestion.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
id required string The feature request ID or scoped ID
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
The suggestion.
Response fields
  • id integer optional Internal primary key of the feature request, emitted as a JSON number (integer), not a string. To reference a feature request in the {id} path parameter, use the scoped_id field below (the obfuscated/project-scoped id).
  • scoped_id string optional The project-scoped, obfuscated identifier used against the {id} path parameter (e.g. “123” or “fr-456”). Always emitted.
  • title string optional
  • description string optional
  • status string optional Current status of the feature request. The ‘hidden’ status indicates a draft feature request that has not been published yet and is not visible to other users.
    open under_review planned started completed declined pending_moderation rejected muted duplicate split hidden
  • created_at string date-time optional
  • updated_at string date-time optional
  • user object optional
    • id integer optional Internal user id, emitted as a JSON number.
    • name string optional Display name. May be an identity-masked placeholder when the project hides team identities from players.
  • votes integer optional Number of votes for this feature request
  • voted boolean optional Whether the calling user has voted for this feature request. NOTE: on the single-object GET detail endpoint (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 boolean optional Whether this feature request has been marked as a duplicate of another. Always emitted.
  • original_feature_request object optional The feature request this one duplicates. Present ONLY when is_duplicate is true.
    • id integer optional Internal id of the original feature request, emitted as a JSON number.
    • title string optional
    • url string optional
  • duplicates_count integer optional Number of other feature requests marked as duplicates of this one. Always emitted.
  • url string optional
  • attachments array[object] optional Attached files (screenshots, attachments).
    • id integer optional Attachment id, emitted as a JSON number.
    • type string optional Constant string ‘attachment’ identifying the record type.
      attachment
    • filename string optional Original uploaded filename (alias of original_filename).
    • original_filename string optional
    • url string optional nullable CDN URL to the file, or null if the file is not attached.
    • content_type string optional
    • file_type string optional Server-detected category of the attachment, derived from its content type.
      image video document audio other
    • size_bytes integer optional
    • display_order integer optional
    • created_at string date-time optional
    • updated_at string date-time optional
    • user object optional
      • id integer optional
      • name string optional
  • token string optional Editing token for the newly created feature request. Present only on the create (POST) response, and only when the server issued one (e.g. anonymous/SDK submissions) — it lets the submitter manage the request without a session.
  • warnings array[string] optional Partial-success notices. Only emitted for submission-form / game-SDK submissions (regular authenticated session users never have custom fields applied, so they never receive 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.
application/json
{
  "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}.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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": {}
}
Feature request not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
{error}: the suggestion could not be saved.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
Headers
  • Retry-After integer Seconds to wait, the same as retry_after.
Response fields
  • error string optional
    agent_session_limit
  • message string optional Which session holds the account (as named by its agent), the share, and the fix.
  • retry_after integer optional Seconds until the share renews or the other session goes quiet.
    min: 1 max: 300
  • seats_url string uri optional nullable Where the user adds a seat for whoever else uses the account: the new-member page of an organization they administer; null when they administer none (an admin adds it).
application/json
{
  "error": "agent_session_limit",
  "message": "string",
  "retry_after": 120,
  "seats_url": "https://example.com"
}
Makes the suggestion named in 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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
id required string The feature request ID or scoped ID
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
application/json
  • merge_with_id object required The duplicate, by scoped_id or g-{id}.
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "merge_with_id": 18
}
Responses
Merged.
Response fields
  • suggestion object optional A suggestion as merge and undo answers name it: its per-project scoped_id, or g-{id} when it has none. Accepted wherever a path or body takes a suggestion id.
  • merged_suggestion object optional A suggestion as merge and undo answers name it: its per-project scoped_id, or g-{id} when it has none. Accepted wherever a path or body takes a suggestion id.
  • undo object optional The body for undo_merge on this suggestion.
    • merged_feature_request_id object optional A suggestion as merge and undo answers name it: its per-project scoped_id, or g-{id} when it has none. Accepted wherever a path or body takes a suggestion id.
    • previous_status string optional The merged suggestion’s status before the merge.
application/json
{
  "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.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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": {}
}
Either suggestion not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
Headers
  • Retry-After integer Seconds to wait, the same as retry_after.
Response fields
  • error string optional
    agent_session_limit
  • message string optional Which session holds the account (as named by its agent), the share, and the fix.
  • retry_after integer optional Seconds until the share renews or the other session goes quiet.
    min: 1 max: 300
  • seats_url string uri optional nullable Where the user adds a seat for whoever else uses the account: the new-member page of an organization they administer; null when they administer none (an admin adds it).
application/json
{
  "error": "agent_session_limit",
  "message": "string",
  "retry_after": 120,
  "seats_url": "https://example.com"
}
Takes the suggestion named in 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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
id required string The feature request ID or scoped ID
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
application/json
  • merged_feature_request_id object required The merged suggestion, by scoped_id or g-{id}.
  • previous_status string required
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "merged_feature_request_id": 18,
  "previous_status": "open"
}
Responses
The suggestion taken out of the merge (suggestion) and its status now.
Response fields
  • suggestion object optional A suggestion as merge and undo answers name it: its per-project scoped_id, or g-{id} when it has none. Accepted wherever a path or body takes a suggestion id.
  • status string optional
application/json
{
  "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}.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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": {}
}
Either suggestion not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
That suggestion is not merged into this one (scoped token), or Merge could not be undone.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
Headers
  • Retry-After integer Seconds to wait, the same as retry_after.
Response fields
  • error string optional
    agent_session_limit
  • message string optional Which session holds the account (as named by its agent), the share, and the fix.
  • retry_after integer optional Seconds until the share renews or the other session goes quiet.
    min: 1 max: 300
  • seats_url string uri optional nullable Where the user adds a seat for whoever else uses the account: the new-member page of an organization they administer; null when they administer none (an admin adds it).
application/json
{
  "error": "agent_session_limit",
  "message": "string",
  "retry_after": 120,
  "seats_url": "https://example.com"
}

Support Tickets

Create and manage support tickets
Searches for support tickets within a project using a simple query string. Returns matching tickets with basic information (id and title) for autocomplete functionality. Uses ILIKE pattern matching on title and description fields. Results are limited to 10 tickets and filtered based on user permissions.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Query Parameters
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.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/tickets/search.json?query=example"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
application/json
[
  {
    "id": 123,
    "title": "Cannot access user settings"
  },
  {
    "id": 456,
    "title": "Password reset not working"
  }
]
Forbidden. User does not have permission to view tickets in this project.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Unprocessable Entity. Support tickets are not enabled for this project.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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.

Authentication Support:

  • Reporter contact: Provide ticket[reporter_email] in form data so the reporter can be notified about the ticket and its replies.
  • Authenticated Users: Tickets are created with current_user as reporter
  • Anonymous Users: Must provide ticket[reporter_email] in form data. Anonymous ticket creation without contact info is not allowed.

    Attachments: Tickets can include file attachments (images, documents, logs) using multipart/form-data. Multiple files can be attached by providing the attachments parameter multiple times. Use multipart/form-data only when attaching files — a JSON body works for text-only tickets.

    Request encoding: Two request encodings are accepted. Use 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.

    Title and priority: 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).

    Submission tokens: If the project’s auth token is configured to require a submission token, the FormUser header must carry a signed JWT alongside the token: FormUser tkn-{token},{jwt}. Missing/invalid/already-consumed tokens are rejected with 403 (see responses below).

Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
multipart/form-data
  • ticket[description] string required Description of the support ticket. Required.
  • ticket[title] string optional Title of the ticket. If not provided, will be auto-generated from description.
  • ticket[priority] string optional Priority level. Defaults to ‘low’. Requires the tickets.update permission (developers/support/admins); silently ignored for reporters and SDK tokens.
    low medium high critical
  • ticket[attachments][] array[string] optional File attachments (images, documents, logs, etc.). Can be provided multiple times for multiple files.
  • ticket[custom][FIELD_IDENT] string optional Custom field values for the ticket. Replace 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.
  • ticket[reporter_email] string email optional Email address of the ticket reporter. Optional for authenticated users. Required for anonymous FormUser submissions. When provided, the reporter is identified by this email and notified about the ticket and its replies.
application/json
  • ticket object required
    • description string required Description of the support ticket (minimum 30 characters). Required.
    • title string optional Title of the ticket. If omitted, an LLM generates the title AND overwrites any supplied priority. Team members send a title to keep an explicit priority.
    • priority string optional Priority level. Defaults to ‘low’. Overwritten by the LLM when title is omitted. Requires the tickets.update permission (developers/support/admins); silently ignored for reporters and SDK tokens.
      low medium high critical
    • reporter_email string email optional Email of the reporter. Required for anonymous FormUser submissions when the auth header carries no email/discord_id.
    • custom object optional Custom field values keyed by field identifier (e.g. {"platform": "windows"}). Same behavior as the multipart ticket[custom][FIELD_IDENT] parameter.
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "ticket[description]": "string",
  "ticket[title]": "string",
  "ticket[priority]": "low",
  "ticket[attachments][]": [
    "string"
  ],
  "ticket[custom][FIELD_IDENT]": "string",
  "ticket[reporter_email]": "user@example.com"
}
Responses
Ticket successfully created
Response fields
  • id integer optional The ID of the ticket, emitted as a JSON number (integer), not a string. This is the internal primary key. IMPORTANT: a BARE numeric {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.
  • title string optional
  • description string optional
  • status string optional Current status of the ticket
    new open pending solved closed
  • priority string optional Priority level of the ticket
    low medium high critical
  • warnings array[string] optional Partial-success notices. Present on 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-auto-created-fields-per-entity limit was hit, or a field could not be auto-created. Clients that submit custom fields should inspect this array to detect partial data loss.
  • created_at string date-time optional
  • updated_at string date-time optional
  • reporter object optional User who reported the ticket
    • id integer optional Internal user id, emitted as a JSON number.
    • name string optional Display name. May be an identity-masked placeholder when the project hides team identities from players.
  • assigned_to object optional The assignee. This key is ALWAYS present as an object — it is never JSON 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.
    • id integer optional nullable Internal user id (JSON number), or null when unassigned.
    • name string optional nullable Assignee display name, or null when unassigned. May be an identity-masked placeholder when the project hides team identities from players.
  • url string optional URL to view the ticket in BetaHub
  • attachments array[object] optional Attached files (screenshots, documents, etc.)
    • id integer optional Attachment id, emitted as a JSON number.
    • type string optional Constant string ‘attachment’ identifying the record type.
      attachment
    • filename string optional Original uploaded filename (alias of original_filename).
    • original_filename string optional Original uploaded filename.
    • url string optional nullable CDN URL to the file, or null if the file is not attached.
    • content_type string optional
    • file_type string optional Server-detected category of the attachment, derived from its content type.
      image video document audio other
    • size_bytes integer optional File size in bytes (0 when the file is not attached).
    • display_order integer optional
    • created_at string date-time optional
    • updated_at string date-time optional
    • user object optional The uploader.
      • id integer optional Uploader user id, emitted as a JSON number.
      • name string optional Uploader display name. May be an identity-masked placeholder when the project hides team identities from players.
Examples
Example Request
{
  "ticket[description]": "I need help resetting my password"
}
Example Response
{
  "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”).

Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
Examples
Missing Description
{
  "error": "Description can't be blank"
}
Description Too Short
{
  "error": "Description is too short (minimum is 30 characters)"
}
Missing Email Anonymous
{
  "error": "Email address is required for support tickets"
}
Invalid Email Format
{
  "error": "Invalid email format"
}
Tickets Not Enabled
{
  "error": "Support tickets are not enabled for this project. Ask the server administrator to enable them."
}
Tester Rate Limit
{
  "error": "You have reached your 24 hours limit for ticket submissions. You can submit again later."
}
Submission Token Reused
{
  "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.”

Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
Examples
Not Allowed
{
  "error": "Not allowed to create a ticket."
}
Submission Token Required
{
  "error": "Submission token is required for this auth token. Generate one via the API."
}
Org Quota Reached
{
  "error": "This project is not currently accepting new support tickets. Please try again later."
}
Retrieves detailed information about a specific support ticket, including all attachments, status, priority, and assignment information.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
id required string The ticket ID. Can be a numeric ID or scoped ID format.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/tickets/123.json"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • id integer optional The ID of the ticket, emitted as a JSON number (integer), not a string. This is the internal primary key. IMPORTANT: a BARE numeric {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.
  • title string optional
  • description string optional
  • status string optional Current status of the ticket
    new open pending solved closed
  • priority string optional Priority level of the ticket
    low medium high critical
  • warnings array[string] optional Partial-success notices. Present on 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-auto-created-fields-per-entity limit was hit, or a field could not be auto-created. Clients that submit custom fields should inspect this array to detect partial data loss.
  • created_at string date-time optional
  • updated_at string date-time optional
  • reporter object optional User who reported the ticket
    • id integer optional Internal user id, emitted as a JSON number.
    • name string optional Display name. May be an identity-masked placeholder when the project hides team identities from players.
  • assigned_to object optional The assignee. This key is ALWAYS present as an object — it is never JSON 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.
    • id integer optional nullable Internal user id (JSON number), or null when unassigned.
    • name string optional nullable Assignee display name, or null when unassigned. May be an identity-masked placeholder when the project hides team identities from players.
  • url string optional URL to view the ticket in BetaHub
  • attachments array[object] optional Attached files (screenshots, documents, etc.)
    • id integer optional Attachment id, emitted as a JSON number.
    • type string optional Constant string ‘attachment’ identifying the record type.
      attachment
    • filename string optional Original uploaded filename (alias of original_filename).
    • original_filename string optional Original uploaded filename.
    • url string optional nullable CDN URL to the file, or null if the file is not attached.
    • content_type string optional
    • file_type string optional Server-detected category of the attachment, derived from its content type.
      image video document audio other
    • size_bytes integer optional File size in bytes (0 when the file is not attached).
    • display_order integer optional
    • created_at string date-time optional
    • updated_at string date-time optional
    • user object optional The uploader.
      • id integer optional Uploader user id, emitted as a JSON number.
      • name string optional Uploader display name. May be an identity-masked placeholder when the project hides team identities from players.
application/json
{
  "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"
      }
    }
  ]
}
Forbidden. User does not have permission to view this ticket.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Ticket not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Unprocessable Entity. Support tickets are not enabled for this project.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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:

Supported Operations:

  • Update ticket fields (title, description, status, priority, assignment)
  • Add new attachments
  • Upload new files to the ticket
  • Remove existing attachments
  • Delete specific attachments by ID
  • Perform both add and remove operations in a single request

    Attachment Management: This endpoint was recently enhanced to support full attachment management via JSON API. You can now:

  • Add multiple new attachments using multipart/form-data or file upload
  • Remove specific attachments by providing their IDs
  • Combine both operations in a single update request

    Status Transitions: When a ticket is assigned for the first time (or reassignment occurs) and its status is “new”, it automatically transitions to “open” status.

Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
id required string The ticket ID. Can be a numeric ID or scoped ID format.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
multipart/form-data
  • ticket[title] string optional Updated title
  • ticket[description] string optional Updated description
  • ticket[status] string optional Updated status. Transition rules are enforced (violations return 422): ‘new’ can never be set manually; a ticket in ‘closed’ can only move to ‘open’; setting ‘pending’ (awaiting feedback) requires that the ticket already has at least one comment and that the last comment was authored by a team member (not the reporter). Note: only developers/support/admins (tickets.update scope) may change status; reporters cannot.
    new open pending solved closed
  • ticket[priority] string optional Updated priority. Requires the tickets.update permission (developers/support/admins); silently ignored for reporters.
    low medium high critical
  • ticket[assigned_to_id] string optional ID of user to assign the ticket to. Requires the 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.
  • ticket[attachments][] array[string] optional New file attachments to add. Can be provided multiple times for multiple files.
  • ticket[remove_attachment_ids][] array[string] optional IDs of existing attachments to remove. Can be provided multiple times for multiple IDs.
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request 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"
  ]
}
Responses
Ticket successfully updated
Response fields
  • id integer optional The ID of the ticket, emitted as a JSON number (integer), not a string. This is the internal primary key. IMPORTANT: a BARE numeric {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.
  • title string optional
  • description string optional
  • status string optional Current status of the ticket
    new open pending solved closed
  • priority string optional Priority level of the ticket
    low medium high critical
  • warnings array[string] optional Partial-success notices. Present on 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-auto-created-fields-per-entity limit was hit, or a field could not be auto-created. Clients that submit custom fields should inspect this array to detect partial data loss.
  • created_at string date-time optional
  • updated_at string date-time optional
  • reporter object optional User who reported the ticket
    • id integer optional Internal user id, emitted as a JSON number.
    • name string optional Display name. May be an identity-masked placeholder when the project hides team identities from players.
  • assigned_to object optional The assignee. This key is ALWAYS present as an object — it is never JSON 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.
    • id integer optional nullable Internal user id (JSON number), or null when unassigned.
    • name string optional nullable Assignee display name, or null when unassigned. May be an identity-masked placeholder when the project hides team identities from players.
  • url string optional URL to view the ticket in BetaHub
  • attachments array[object] optional Attached files (screenshots, documents, etc.)
    • id integer optional Attachment id, emitted as a JSON number.
    • type string optional Constant string ‘attachment’ identifying the record type.
      attachment
    • filename string optional Original uploaded filename (alias of original_filename).
    • original_filename string optional Original uploaded filename.
    • url string optional nullable CDN URL to the file, or null if the file is not attached.
    • content_type string optional
    • file_type string optional Server-detected category of the attachment, derived from its content type.
      image video document audio other
    • size_bytes integer optional File size in bytes (0 when the file is not attached).
    • display_order integer optional
    • created_at string date-time optional
    • updated_at string date-time optional
    • user object optional The uploader.
      • id integer optional Uploader user id, emitted as a JSON number.
      • name string optional Uploader display name. May be an identity-masked placeholder when the project hides team identities from players.
Examples
Example Request
{
  "ticket[status]": "solved",
  "ticket[description]": "Issue resolved - password reset email sent"
}
Example Response
{
  "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": []
}
Unprocessable Entity. Validation errors in the provided data, an invalid status transition, or support tickets not enabled for the project.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
Examples
Blank Description
{
  "error": "Description can't be blank"
}
Description Too Short
{
  "error": "Description is too short (minimum is 30 characters)"
}
Status New Not Settable
{
  "error": "Status cannot be manually set to 'new'"
}
Status Closed Only To Open
{
  "error": "Status can only be set to 'open' from 'closed'"
}
Status Pending Needs Team Comment
{
  "error": "Status cannot mark as awaiting feedback - the last comment must be from a team member, not the reporter"
}
Tickets Not Enabled
{
  "error": "Support tickets are not enabled for this project. Ask the server administrator to enable them."
}
Forbidden. User does not have permission to update this ticket.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Ticket not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}

Releases

Create, publish, archive, and manage releases
Retrieves a list of releases for the specified project, ordered by creation date (oldest first by default). Returns release details including label, description, download links, and metadata. By default, only published releases are returned. Use the show_drafts parameter (developers only) to include draft releases, or show_archived to include archived releases.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Query Parameters
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
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
application/json
[
  {
    "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"
  }
]
Forbidden. The caller lacks read access to this project’s releases. When authenticating with a project (FormUser) token, the token must have the can_read_release_list permission enabled; otherwise the list request is rejected.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Project not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
multipart/form-data
  • release[label] string required Version label for the release (e.g., “v1.0.0”)
  • release[summary] string optional Brief summary of the release
  • release[description] string optional Detailed description of the release changes
  • release[release_type] string optional The type of release. regular for minor updates, major for significant new features, hotfix for critical bug fixes. Affects the notification style. Defaults to regular.
    regular major hotfix
    Default: regular
  • release[platforms][] array[string] optional List of platform identifiers this release targets (e.g., windows, macos, linux). Sent as repeated release[platforms][] form fields. Blank values are stripped server-side.
  • release[send_images_separately] boolean optional Whether to send attachment images separately in notifications
  • release[attachments] array[string] optional File attachments for the release
  • release[download_links_attributes] array[object] optional
    • platform string optional Platform name (e.g., “windows”, “macos”, “linux”)
    • url string optional Download URL for this platform
    • link_enabled boolean optional Whether this download link is enabled
    • choose_previous_link boolean optional When true, reuse the download link from the previous release for this platform instead of requiring a new URL.
  • release[status] string optional The publication status for the release. Set to 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.
    draft published
    Default: published
  • release[auto_publish_at] string date-time optional Schedule the release: it is created as a draft and published automatically (within a minute) once this time passes. Must be in the future. Send an ISO 8601 timestamp with an offset (e.g. 2026-09-29T14:00:00+02:00); a value without an offset is read in the caller’s timezone (UTC for token callers).
  • release[auto_publish_announce] boolean optional Whether the scheduled release notifies project members when it goes live. Defaults to true when the release has a description, false when it does not.
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request 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
}
Responses
Successful response
Response fields
  • id integer optional The numeric ID of the release (a plain integer, e.g. 123 — not a prefixed string).
  • project_id integer optional ID of the project the release belongs to.
  • label string optional Version label of the release
  • summary string optional Brief summary of the release
  • description string optional Detailed description of the release
  • status string optional The publication status of the release. ‘draft’ releases are only visible to developers and can be edited freely before publishing. ‘published’ releases are visible to all project members and trigger notifications. ‘archived’ releases are hidden from testers and release selection forms.
    draft published archived
  • active boolean optional Deprecated Deprecated - use ‘status’ field instead. Returns true if status is ‘draft’ or ‘published’, false if ‘archived’. Maintained for backward compatibility.
  • release_type string optional The type of release. ‘regular’ for minor updates, ‘major’ for significant new features, ‘hotfix’ for critical bug fixes. This affects the notification style sent to players.
    regular major hotfix
  • download_link string optional nullable Single download URL for the release, stored verbatim (the download_link column). Null when no link is set. Note this is a singular string column — there is no per-platform download_links array.
  • platforms array[string] optional nullable The release’s platforms column, serialized as stored (a list of platform names, e.g. ["windows", "macos"]). May be null when unset.
  • dynamically_created boolean optional True when the release was auto-created (e.g. from a release_label on issue submission) rather than created explicitly through the releases UI/API.
  • auto_publish_at string date-time optional nullable When a scheduled release goes live. Only ever set on a draft; BetaHub publishes it within a minute of this time and clears the field. Null when the release is not scheduled.
  • auto_publish_announce boolean optional Whether a scheduled release notifies project members (e-mail, and the Discord releases channel if one is configured) when it goes live. Only meaningful while auto_publish_at is set.
  • published_at string date-time optional nullable When the release went live. Null for drafts. For releases published before this field existed it equals created_at.
  • created_at string date-time optional
  • updated_at string date-time optional
Examples
Example Request
{
  "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
    }
  ]
}
Example Response
{
  "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"
}
Forbidden. The caller must be a signed-in project developer / organization admin with the project.releases.manage scope, or authenticate with a project (FormUser) token that has the can_create_release permission enabled.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Unprocessable Entity. Validation errors in the provided data. The body is the raw ActiveModel error map at the top level — an object of { "<attribute>": ["<message>"] } (e.g. { "label": ["can't be blank"] }), with NO error/errors/status wrapper. A coding agent may also get AgentReleaseRefusal.
Response fields
  • error string optional Human-readable error message (shapes a and b). English, not localized, and not a stable contract — display it, do not parse it.
  • status object optional Present only in shape (b): a redundant copy of the HTTP status code as an integer (e.g. 422). Unreliable and often absent — rely on the HTTP status line instead.
  • errors object optional Shape (c). Either an object mapping attribute name → array of messages, or (on a few endpoints) a flat array of full-message strings.
  • message string optional
  • url string uri optional
application/json
{
  "label": [
    "can't be blank"
  ]
}
Retrieves detailed information about a specific release, including all download links, attachments, and metadata. Draft releases are only visible to project developers.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
release_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/releases/123.json"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • id integer optional The numeric ID of the release (a plain integer, e.g. 123 — not a prefixed string).
  • project_id integer optional ID of the project the release belongs to.
  • label string optional Version label of the release
  • summary string optional Brief summary of the release
  • description string optional Detailed description of the release
  • status string optional The publication status of the release. ‘draft’ releases are only visible to developers and can be edited freely before publishing. ‘published’ releases are visible to all project members and trigger notifications. ‘archived’ releases are hidden from testers and release selection forms.
    draft published archived
  • active boolean optional Deprecated Deprecated - use ‘status’ field instead. Returns true if status is ‘draft’ or ‘published’, false if ‘archived’. Maintained for backward compatibility.
  • release_type string optional The type of release. ‘regular’ for minor updates, ‘major’ for significant new features, ‘hotfix’ for critical bug fixes. This affects the notification style sent to players.
    regular major hotfix
  • download_link string optional nullable Single download URL for the release, stored verbatim (the download_link column). Null when no link is set. Note this is a singular string column — there is no per-platform download_links array.
  • platforms array[string] optional nullable The release’s platforms column, serialized as stored (a list of platform names, e.g. ["windows", "macos"]). May be null when unset.
  • dynamically_created boolean optional True when the release was auto-created (e.g. from a release_label on issue submission) rather than created explicitly through the releases UI/API.
  • auto_publish_at string date-time optional nullable When a scheduled release goes live. Only ever set on a draft; BetaHub publishes it within a minute of this time and clears the field. Null when the release is not scheduled.
  • auto_publish_announce boolean optional Whether a scheduled release notifies project members (e-mail, and the Discord releases channel if one is configured) when it goes live. Only meaningful while auto_publish_at is set.
  • published_at string date-time optional nullable When the release went live. Null for drafts. For releases published before this field existed it equals created_at.
  • created_at string date-time optional
  • updated_at string date-time optional
application/json
{
  "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"
}
Forbidden. User must have project access.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Release not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
release_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
multipart/form-data
  • release[label] string optional Updated version label
  • release[summary] string optional Updated summary
  • release[description] string optional Updated description
  • release[release_type] string optional Updated release type. regular, major, or hotfix. Note - unlike create, release[status] cannot be changed here (use the publish/archive/restore actions to change status).
    regular major hotfix
  • release[platforms][] array[string] optional Updated list of platform identifiers. Sent as repeated release[platforms][] form fields. Blank values are stripped server-side.
  • release[send_images_separately] boolean optional Whether to send attachment images separately
  • go_live string optional For draft releases. 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.
    draft now at
  • release[auto_publish_at] string date-time optional New go-live time. Must be in the future; send an ISO 8601 timestamp with an offset. Blank cancels the schedule. Scheduling a release that is not a draft is rejected with 422.
  • release[auto_publish_announce] boolean optional Whether the release notifies project members when it goes live. When omitted, a reschedule keeps the current choice; a first schedule defaults to true when the release has a description.
  • release[download_links_attributes] array[object] optional
    • id integer optional ID of an existing download link (required to update or delete it)
    • platform string optional Platform name
    • url string optional Download URL
    • link_enabled boolean optional Whether this download link is enabled
    • choose_previous_link boolean optional When true, reuse the download link from the previous release for this platform instead of requiring a URL.
    • _destroy boolean optional When true (paired with the link id), deletes that existing download link from the release.
  • release[remove_attachments] array[string] optional IDs of attachments to remove
  • release[attachments] array[string] optional New attachments to add
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request 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"
  ]
}
Responses
Release updated (JSON request). Returns the release as saved.
Response fields
  • id integer optional The numeric ID of the release (a plain integer, e.g. 123 — not a prefixed string).
  • project_id integer optional ID of the project the release belongs to.
  • label string optional Version label of the release
  • summary string optional Brief summary of the release
  • description string optional Detailed description of the release
  • status string optional The publication status of the release. ‘draft’ releases are only visible to developers and can be edited freely before publishing. ‘published’ releases are visible to all project members and trigger notifications. ‘archived’ releases are hidden from testers and release selection forms.
    draft published archived
  • active boolean optional Deprecated Deprecated - use ‘status’ field instead. Returns true if status is ‘draft’ or ‘published’, false if ‘archived’. Maintained for backward compatibility.
  • release_type string optional The type of release. ‘regular’ for minor updates, ‘major’ for significant new features, ‘hotfix’ for critical bug fixes. This affects the notification style sent to players.
    regular major hotfix
  • download_link string optional nullable Single download URL for the release, stored verbatim (the download_link column). Null when no link is set. Note this is a singular string column — there is no per-platform download_links array.
  • platforms array[string] optional nullable The release’s platforms column, serialized as stored (a list of platform names, e.g. ["windows", "macos"]). May be null when unset.
  • dynamically_created boolean optional True when the release was auto-created (e.g. from a release_label on issue submission) rather than created explicitly through the releases UI/API.
  • auto_publish_at string date-time optional nullable When a scheduled release goes live. Only ever set on a draft; BetaHub publishes it within a minute of this time and clears the field. Null when the release is not scheduled.
  • auto_publish_announce boolean optional Whether a scheduled release notifies project members (e-mail, and the Discord releases channel if one is configured) when it goes live. Only meaningful while auto_publish_at is set.
  • published_at string date-time optional nullable When the release went live. Null for drafts. For releases published before this field existed it equals created_at.
  • created_at string date-time optional
  • updated_at string date-time optional
application/json
{
  "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"
}
Release updated (HTML request). Redirects to the project’s releases index; the success message is delivered as a flash notice. No response body is returned.
Release updated (HTML request). Redirects to the project's releases index; the success message is delivered as a flash notice. No response body is returned.
Unprocessable Entity. Validation failed. JSON requests get the raw ActiveModel error map (e.g. { "auto_publish_at": ["must be in the future"] }); HTML requests get the edit form re-rendered.
Response fields
  • error string optional Human-readable error message (shapes a and b). English, not localized, and not a stable contract — display it, do not parse it.
  • status object optional Present only in shape (b): a redundant copy of the HTTP status code as an integer (e.g. 422). Unreliable and often absent — rely on the HTTP status line instead.
  • errors object optional Shape (c). Either an object mapping attribute name → array of messages, or (on a few endpoints) a flat array of full-message strings.
  • message string optional
  • url string uri optional
application/json
{
  "auto_publish_at": [
    "must be in the future"
  ]
}
Forbidden. User must be a signed-in project developer or organization admin.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Release not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
release_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -X DELETE \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/releases/123.json"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Redirect to the project’s releases index. Returned for BOTH outcomes - successful deletion (success flash: “Release was successfully deleted.”) and a refused deletion due to a constraint (alert flash, e.g. “Cannot delete the only published release for this project. Archive it instead.” or “Cannot delete this release because it has 3 issue(s) assigned. Archive it instead.”). The specific outcome is only distinguishable via the flash message, not the status code.
Redirect to the project's releases index. Returned for BOTH outcomes - successful deletion (success flash: "Release was successfully deleted.") and a refused deletion due to a constraint (alert flash, e.g. "Cannot delete the only published release for this project. Archive it instead." or "Cannot delete this release because it has 3 issue(s) assigned. Archive it instead."). The specific outcome is only distinguishable via the flash message, not the status code.
Forbidden. User must be a signed-in project developer or organization admin.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Release not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
release_id required string
Query Parameters
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.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/releases/123/download?platform=example"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Redirect. When 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.
Redirect. When `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.
The release download page rendered as HTML (returned when no platform is specified).
text/html
"string"
Forbidden. User must be a signed-in project member (draft releases require developer access).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Release not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Publishes a draft release, making it visible to all project members and sending notifications. This is an idempotent operation - calling it on an already published release returns success without changes. Publishing a scheduled release early clears its schedule and follows the auto_publish_announce choice made when it was scheduled.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
release_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -X POST \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/releases/123/publish.json"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Release published successfully
Response fields
  • id integer optional The numeric ID of the release (a plain integer, e.g. 123 — not a prefixed string).
  • project_id integer optional ID of the project the release belongs to.
  • label string optional Version label of the release
  • summary string optional Brief summary of the release
  • description string optional Detailed description of the release
  • status string optional The publication status of the release. ‘draft’ releases are only visible to developers and can be edited freely before publishing. ‘published’ releases are visible to all project members and trigger notifications. ‘archived’ releases are hidden from testers and release selection forms.
    draft published archived
  • active boolean optional Deprecated Deprecated - use ‘status’ field instead. Returns true if status is ‘draft’ or ‘published’, false if ‘archived’. Maintained for backward compatibility.
  • release_type string optional The type of release. ‘regular’ for minor updates, ‘major’ for significant new features, ‘hotfix’ for critical bug fixes. This affects the notification style sent to players.
    regular major hotfix
  • download_link string optional nullable Single download URL for the release, stored verbatim (the download_link column). Null when no link is set. Note this is a singular string column — there is no per-platform download_links array.
  • platforms array[string] optional nullable The release’s platforms column, serialized as stored (a list of platform names, e.g. ["windows", "macos"]). May be null when unset.
  • dynamically_created boolean optional True when the release was auto-created (e.g. from a release_label on issue submission) rather than created explicitly through the releases UI/API.
  • auto_publish_at string date-time optional nullable When a scheduled release goes live. Only ever set on a draft; BetaHub publishes it within a minute of this time and clears the field. Null when the release is not scheduled.
  • auto_publish_announce boolean optional Whether a scheduled release notifies project members (e-mail, and the Discord releases channel if one is configured) when it goes live. Only meaningful while auto_publish_at is set.
  • published_at string date-time optional nullable When the release went live. Null for drafts. For releases published before this field existed it equals created_at.
  • created_at string date-time optional
  • updated_at string date-time optional
application/json
{
  "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
}
Forbidden. User must be a project developer or admin.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
A coding agent may not publish this release (AgentReleaseRefusal).
Response fields
  • error string optional
    announcement published attachments download_link parameter project_inactive
  • message string optional
  • url string uri optional
application/json
{
  "error": "announcement",
  "message": "string",
  "url": "https://example.com"
}
Release not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Archives a release, hiding it from testers and release selection forms. Cannot archive the only published release - at least one published release must remain. Use /restore to bring an archived release back.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
release_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -X POST \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/releases/123/archive.json"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Release archived successfully
Response fields
  • id integer optional The numeric ID of the release (a plain integer, e.g. 123 — not a prefixed string).
  • project_id integer optional ID of the project the release belongs to.
  • label string optional Version label of the release
  • summary string optional Brief summary of the release
  • description string optional Detailed description of the release
  • status string optional The publication status of the release. ‘draft’ releases are only visible to developers and can be edited freely before publishing. ‘published’ releases are visible to all project members and trigger notifications. ‘archived’ releases are hidden from testers and release selection forms.
    draft published archived
  • active boolean optional Deprecated Deprecated - use ‘status’ field instead. Returns true if status is ‘draft’ or ‘published’, false if ‘archived’. Maintained for backward compatibility.
  • release_type string optional The type of release. ‘regular’ for minor updates, ‘major’ for significant new features, ‘hotfix’ for critical bug fixes. This affects the notification style sent to players.
    regular major hotfix
  • download_link string optional nullable Single download URL for the release, stored verbatim (the download_link column). Null when no link is set. Note this is a singular string column — there is no per-platform download_links array.
  • platforms array[string] optional nullable The release’s platforms column, serialized as stored (a list of platform names, e.g. ["windows", "macos"]). May be null when unset.
  • dynamically_created boolean optional True when the release was auto-created (e.g. from a release_label on issue submission) rather than created explicitly through the releases UI/API.
  • auto_publish_at string date-time optional nullable When a scheduled release goes live. Only ever set on a draft; BetaHub publishes it within a minute of this time and clears the field. Null when the release is not scheduled.
  • auto_publish_announce boolean optional Whether a scheduled release notifies project members (e-mail, and the Discord releases channel if one is configured) when it goes live. Only meaningful while auto_publish_at is set.
  • published_at string date-time optional nullable When the release went live. Null for drafts. For releases published before this field existed it equals created_at.
  • created_at string date-time optional
  • updated_at string date-time optional
application/json
{
  "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
}
Forbidden. User must be a project developer or admin.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Release not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Unprocessable Entity. Cannot archive the only published release. The body is the flat-array form { "errors": ["<full message>"] } (plural errors, an array of full-message strings) — NOT a singular error string, except a coding agent’s AgentReleaseRefusal.
Response fields
  • error string optional Human-readable error message (shapes a and b). English, not localized, and not a stable contract — display it, do not parse it.
  • status object optional Present only in shape (b): a redundant copy of the HTTP status code as an integer (e.g. 422). Unreliable and often absent — rely on the HTTP status line instead.
  • errors object optional Shape (c). Either an object mapping attribute name → array of messages, or (on a few endpoints) a flat array of full-message strings.
  • message string optional
  • url string uri optional
application/json
{
  "errors": [
    "Cannot archive the only published release for this project."
  ]
}
Restores an archived release back to published status, making it visible to testers and available in release selection forms again.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
release_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -X POST \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/releases/123/restore.json"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Release restored successfully
Response fields
  • id integer optional The numeric ID of the release (a plain integer, e.g. 123 — not a prefixed string).
  • project_id integer optional ID of the project the release belongs to.
  • label string optional Version label of the release
  • summary string optional Brief summary of the release
  • description string optional Detailed description of the release
  • status string optional The publication status of the release. ‘draft’ releases are only visible to developers and can be edited freely before publishing. ‘published’ releases are visible to all project members and trigger notifications. ‘archived’ releases are hidden from testers and release selection forms.
    draft published archived
  • active boolean optional Deprecated Deprecated - use ‘status’ field instead. Returns true if status is ‘draft’ or ‘published’, false if ‘archived’. Maintained for backward compatibility.
  • release_type string optional The type of release. ‘regular’ for minor updates, ‘major’ for significant new features, ‘hotfix’ for critical bug fixes. This affects the notification style sent to players.
    regular major hotfix
  • download_link string optional nullable Single download URL for the release, stored verbatim (the download_link column). Null when no link is set. Note this is a singular string column — there is no per-platform download_links array.
  • platforms array[string] optional nullable The release’s platforms column, serialized as stored (a list of platform names, e.g. ["windows", "macos"]). May be null when unset.
  • dynamically_created boolean optional True when the release was auto-created (e.g. from a release_label on issue submission) rather than created explicitly through the releases UI/API.
  • auto_publish_at string date-time optional nullable When a scheduled release goes live. Only ever set on a draft; BetaHub publishes it within a minute of this time and clears the field. Null when the release is not scheduled.
  • auto_publish_announce boolean optional Whether a scheduled release notifies project members (e-mail, and the Discord releases channel if one is configured) when it goes live. Only meaningful while auto_publish_at is set.
  • published_at string date-time optional nullable When the release went live. Null for drafts. For releases published before this field existed it equals created_at.
  • created_at string date-time optional
  • updated_at string date-time optional
application/json
{
  "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
}
Forbidden. User must be a project developer or admin.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Release not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Unprocessable Entity. Release is not archived. The body is the flat-array form { "errors": ["<full message>"] } (plural errors, an array of full-message strings) — NOT a singular error string, except a coding agent’s AgentReleaseRefusal.
Response fields
  • error string optional Human-readable error message (shapes a and b). English, not localized, and not a stable contract — display it, do not parse it.
  • status object optional Present only in shape (b): a redundant copy of the HTTP status code as an integer (e.g. 422). Unreliable and often absent — rely on the HTTP status line instead.
  • errors object optional Shape (c). Either an object mapping attribute name → array of messages, or (on a few endpoints) a flat array of full-message strings.
  • message string optional
  • url string uri optional
application/json
{
  "error": "string",
  "status": {},
  "errors": {},
  "message": "string",
  "url": "https://example.com"
}
Clears 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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
release_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -X POST \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/releases/123/unschedule.json"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Schedule cancelled; the release is returned as a plain draft.
Response fields
  • id integer optional The numeric ID of the release (a plain integer, e.g. 123 — not a prefixed string).
  • project_id integer optional ID of the project the release belongs to.
  • label string optional Version label of the release
  • summary string optional Brief summary of the release
  • description string optional Detailed description of the release
  • status string optional The publication status of the release. ‘draft’ releases are only visible to developers and can be edited freely before publishing. ‘published’ releases are visible to all project members and trigger notifications. ‘archived’ releases are hidden from testers and release selection forms.
    draft published archived
  • active boolean optional Deprecated Deprecated - use ‘status’ field instead. Returns true if status is ‘draft’ or ‘published’, false if ‘archived’. Maintained for backward compatibility.
  • release_type string optional The type of release. ‘regular’ for minor updates, ‘major’ for significant new features, ‘hotfix’ for critical bug fixes. This affects the notification style sent to players.
    regular major hotfix
  • download_link string optional nullable Single download URL for the release, stored verbatim (the download_link column). Null when no link is set. Note this is a singular string column — there is no per-platform download_links array.
  • platforms array[string] optional nullable The release’s platforms column, serialized as stored (a list of platform names, e.g. ["windows", "macos"]). May be null when unset.
  • dynamically_created boolean optional True when the release was auto-created (e.g. from a release_label on issue submission) rather than created explicitly through the releases UI/API.
  • auto_publish_at string date-time optional nullable When a scheduled release goes live. Only ever set on a draft; BetaHub publishes it within a minute of this time and clears the field. Null when the release is not scheduled.
  • auto_publish_announce boolean optional Whether a scheduled release notifies project members (e-mail, and the Discord releases channel if one is configured) when it goes live. Only meaningful while auto_publish_at is set.
  • published_at string date-time optional nullable When the release went live. Null for drafts. For releases published before this field existed it equals created_at.
  • created_at string date-time optional
  • updated_at string date-time optional
application/json
{
  "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
}
Forbidden. User must be a project developer or admin.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Release not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Unprocessable Entity. The release is not scheduled. The body is the flat-array form { "errors": ["<full message>"] }.
Response fields
  • error string optional Human-readable error message (shapes a and b). English, not localized, and not a stable contract — display it, do not parse it.
  • status object optional Present only in shape (b): a redundant copy of the HTTP status code as an integer (e.g. 422). Unreliable and often absent — rely on the HTTP status line instead.
  • errors object optional Shape (c). Either an object mapping attribute name → array of messages, or (on a few endpoints) a flat array of full-message strings.
  • message string optional
  • url string uri optional
application/json
{
  "errors": [
    "Release is not scheduled"
  ]
}

Game Facts

Export and import game facts for AI-powered features
Retrieves comprehensive game facts data for a project in JSON format. Game facts include information about the game’s mechanics, technical specifications, target audience, platforms, glossary terms, and other project-specific details that help with AI-powered issue categorization and context understanding.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/game_facts.json"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • description string optional Description of the game
  • genre string optional Game genre
  • target_audience string optional Target audience for the game
  • ui_ux_considerations string optional User interface and experience considerations
  • platforms array[string] optional Supported platforms
  • core_mechanics object optional
    • key_features array[string] optional Key game features
    • game_modes array[string] optional Available game modes
    • controls object optional Control scheme, split by input device. Each device entry is an open key -> value string map: the key is a free-form action name (e.g. “move”, “attack”) and the value is the binding description.
      • pc object optional PC control mappings as an open action -> binding string map (e.g. { “move”: “WASD”, “attack”: “Left Click” }).
        • «key» string optional
      • console object optional Console control mappings as an open action -> binding string map (e.g. { “move”: “Left Stick”, “attack”: “X Button” }).
        • «key» string optional
  • technical_specifications object optional
    • supported_platforms array[string] optional Technically supported platforms
    • minimum_system_requirements object optional Minimum system requirements as an open key -> value string map. Keys are free-form requirement names (e.g. “ram”, “cpu”, “gpu”) and values are their descriptions (e.g. { “ram”: “8GB”, “cpu”: “Intel i5” }).
      • «key» string optional
  • game_progression object optional
    • level_design string optional Level design information
    • progression_system string optional Character/game progression system
  • bug_reporting_guidelines object optional
    • critical_components array[string] optional Critical game components for bug reporting
    • non_critical_components array[string] optional Non-critical game components
    • known_bugs array[string] optional List of known bugs
  • glossary object optional
    • items array[object] optional Game items glossary
      • term string optional
      • definition string optional
    • characters array[object] optional Game characters glossary
      • term string optional
      • definition string optional
    • events array[object] optional Game events glossary
      • term string optional
      • definition string optional
    • locations array[object] optional Game locations glossary
      • term string optional
      • definition string optional
    • dlcs array[object] optional DLCs, expansions and add-ons (name as term, content as definition). May be absent on game facts saved before this category existed.
      • term string optional
      • definition string optional
    • other_terms array[object] optional Other game terms glossary
      • term string optional
      • definition string optional
  • save_load_system object optional
    • save_method string optional How the game saves data
    • known_issues array[string] optional Known save/load issues
  • multiplayer_online_features object optional
    • supported_modes array[string] optional Supported multiplayer modes
    • networking object optional
      • server_type string optional Type of server architecture
      • known_issues array[string] optional Known networking issues
  • localization object optional
    • supported_languages array[string] optional Supported languages
    • known_issues array[string] optional Known localization issues
  • project object optional
    • id string optional Project ID
    • name string optional Project name
  • meta object optional
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
application/json
{
  "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"
  }
}
Forbidden. User must be a project developer or admin.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Project not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
application/json
  • game_fact object optional Game facts payload. All fields are optional; only the sections you include are affected. Per-field length limits are enforced server-side and a 422 is returned if any limit is exceeded.
    • description string optional Description of the game (max 1000 characters)
      max length: 1000
    • genre string optional Game genre (max 100 characters)
      max length: 100
    • target_audience string optional Target audience for the game (max 300 characters)
      max length: 300
    • ui_ux_considerations string optional User interface and experience considerations
    • platforms array[string] optional Supported platforms (max 10 items)
    • core_mechanics object optional
      • key_features array[string] optional Key game features (each item max 500 characters)
        max length: 500
      • game_modes array[string] optional Available game modes (each item max 500 characters)
        max length: 500
      • controls object optional Control scheme, split by input device. Each device entry is an open key -> value string map: the key is a free-form action name (e.g. “move”, “attack”) and the value is the binding description (each value max 500 characters).
        • pc object optional PC control mappings as an open action -> binding string map (e.g. { “move”: “WASD”, “attack”: “Left Click” }).
          • «key» string optional
            max length: 500
        • console object optional Console control mappings as an open action -> binding string map (e.g. { “move”: “Left Stick”, “attack”: “X Button” }).
          • «key» string optional
            max length: 500
    • technical_specifications object optional
      • supported_platforms array[string] optional Technically supported platforms (each item max 100 characters)
        max length: 100
      • minimum_system_requirements object optional Minimum system requirements as an open key -> value string map. Keys are free-form requirement names (e.g. “ram”, “cpu”, “gpu”) and values are their descriptions (each value max 500 characters), e.g. { “ram”: “8GB”, “cpu”: “Intel i5” }.
        • «key» string optional
          max length: 500
    • game_progression object optional
      • level_design string optional Level design information (max 500 characters)
        max length: 500
      • progression_system string optional Character/game progression system (max 500 characters)
        max length: 500
    • bug_reporting_guidelines object optional
      • critical_components array[string] optional Critical game components for bug reporting (each item max 500 characters)
        max length: 500
      • non_critical_components array[string] optional Non-critical game components (each item max 500 characters)
        max length: 500
      • known_bugs array[string] optional List of known bugs (each item max 500 characters)
        max length: 500
    • glossary object optional
      • items array[object] optional Game items glossary (term and definition each max 1000 characters)
        • term string optional
          max length: 1000
        • definition string optional
          max length: 1000
      • characters array[object] optional Game characters glossary (term and definition each max 1000 characters)
        • term string optional
          max length: 1000
        • definition string optional
          max length: 1000
      • events array[object] optional Game events glossary (term and definition each max 1000 characters)
        • term string optional
          max length: 1000
        • definition string optional
          max length: 1000
      • locations array[object] optional Game locations glossary (term and definition each max 1000 characters)
        • term string optional
          max length: 1000
        • definition string optional
          max length: 1000
      • dlcs array[object] optional DLCs, expansions and add-ons (term and definition each max 1000 characters)
        • term string optional
          max length: 1000
        • definition string optional
          max length: 1000
      • other_terms array[object] optional Other game terms glossary (term and definition each max 1000 characters)
        • term string optional
          max length: 1000
        • definition string optional
          max length: 1000
    • save_load_system object optional
      • save_method string optional How the game saves data (max 500 characters)
        max length: 500
      • known_issues array[string] optional Known save/load issues (each item max 500 characters)
        max length: 500
    • multiplayer_online_features object optional
      • supported_modes array[string] optional Supported multiplayer modes (each item max 500 characters)
        max length: 500
      • networking object optional
        • server_type string optional Type of server architecture (max 500 characters)
          max length: 500
        • known_issues array[string] optional Known networking issues (each item max 500 characters)
          max length: 500
    • localization object optional
      • supported_languages array[string] optional Supported languages (each item max 100 characters)
        max length: 100
      • known_issues array[string] optional Known localization issues (each item max 300 characters)
        max length: 300
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
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"
      ]
    }
  }
}
Responses
Successful response
Response fields
  • description string optional Description of the game
  • genre string optional Game genre
  • target_audience string optional Target audience for the game
  • ui_ux_considerations string optional User interface and experience considerations
  • platforms array[string] optional Supported platforms
  • core_mechanics object optional
    • key_features array[string] optional Key game features
    • game_modes array[string] optional Available game modes
    • controls object optional Control scheme, split by input device. Each device entry is an open key -> value string map: the key is a free-form action name (e.g. “move”, “attack”) and the value is the binding description.
      • pc object optional PC control mappings as an open action -> binding string map (e.g. { “move”: “WASD”, “attack”: “Left Click” }).
        • «key» string optional
      • console object optional Console control mappings as an open action -> binding string map (e.g. { “move”: “Left Stick”, “attack”: “X Button” }).
        • «key» string optional
  • technical_specifications object optional
    • supported_platforms array[string] optional Technically supported platforms
    • minimum_system_requirements object optional Minimum system requirements as an open key -> value string map. Keys are free-form requirement names (e.g. “ram”, “cpu”, “gpu”) and values are their descriptions (e.g. { “ram”: “8GB”, “cpu”: “Intel i5” }).
      • «key» string optional
  • game_progression object optional
    • level_design string optional Level design information
    • progression_system string optional Character/game progression system
  • bug_reporting_guidelines object optional
    • critical_components array[string] optional Critical game components for bug reporting
    • non_critical_components array[string] optional Non-critical game components
    • known_bugs array[string] optional List of known bugs
  • glossary object optional
    • items array[object] optional Game items glossary
      • term string optional
      • definition string optional
    • characters array[object] optional Game characters glossary
      • term string optional
      • definition string optional
    • events array[object] optional Game events glossary
      • term string optional
      • definition string optional
    • locations array[object] optional Game locations glossary
      • term string optional
      • definition string optional
    • dlcs array[object] optional DLCs, expansions and add-ons (name as term, content as definition). May be absent on game facts saved before this category existed.
      • term string optional
      • definition string optional
    • other_terms array[object] optional Other game terms glossary
      • term string optional
      • definition string optional
  • save_load_system object optional
    • save_method string optional How the game saves data
    • known_issues array[string] optional Known save/load issues
  • multiplayer_online_features object optional
    • supported_modes array[string] optional Supported multiplayer modes
    • networking object optional
      • server_type string optional Type of server architecture
      • known_issues array[string] optional Known networking issues
  • localization object optional
    • supported_languages array[string] optional Supported languages
    • known_issues array[string] optional Known localization issues
  • project object optional
    • id string optional Project ID
    • name string optional Project name
  • meta object optional
    • created_at string date-time optional Creation timestamp
    • updated_at string date-time optional Last update timestamp
application/json
{
  "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"
  }
}
Forbidden. User must be a project developer or admin.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Project not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Unprocessable Entity. Validation errors in the provided data.
Response fields
  • errors array[string] optional
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
Request Body
multipart/form-data
  • game_fact[file] string binary optional Document to extract game facts from. Supported formats: PDF (.pdf), plain text (.txt), Markdown (.md). Max size 10 MB. Provide either this or game_fact[document].
  • game_fact[document] string optional Document contents pasted as raw text (100–100,000 characters). Provide either this or game_fact[file].
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "game_fact[file]": "string",
  "game_fact[document]": "string"
}
Responses
Extraction job enqueued. Returns the UUID of the background job that processes the document. Poll this job to determine completion.
Response fields
  • job_id string optional UUID of the enqueued background job.
application/json
{
  "job_id": "550e8400-e29b-41d4-a716-446655440000"
}
Forbidden. User must be a project developer or admin.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Project not found.
Response fields
  • error string optional
application/json
{
  "error": "string"
}
Unprocessable Entity. Returned when no file or text was provided, the file exceeds 10 MB, the file format is unsupported, the document is shorter than 100 characters, the document exceeds 100,000 characters, or text could not be extracted from the file. The error is returned as a single error string (note: unlike the PATCH endpoint, this endpoint does not return an errors array).
Response fields
  • error string optional
Examples
File Too Large
{
  "error": "File size exceeds maximum limit (10MB)"
}
Document Too Short
{
  "error": "Document is too short to get processed. Please provide some more details."
}
Document Too Long
{
  "error": "Document is too long. Maximum length is 100000 characters."
}
Missing Input
{
  "error": "Please upload a file or paste text content"
}
Unsupported Format
{
  "error": "Unsupported file format. Please upload PDF, TXT, or MD files only."
}

Playtime Sessions

Track user playtime sessions

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.

Path Parameters
Name Type Description
project_id required string
Request Body
application/json
cURL
curl \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{}' \
  "https://app.betahub.io/projects/123/playtime_sessions"
Ruby
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
Python
import requests

response = requests.post(
    "https://app.betahub.io/projects/123/playtime_sessions",
    json={}
)
print(response.json())
JavaScript
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();
Java
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());
Request Body
{}
Responses
Successful response
Response fields
  • id string uuid optional The newly generated playtime session ID.
application/json
{
  "id": "3f8a1c2e-6b4d-4e7a-9f1b-2c5d8e0a7b34"
}
Project not found. The project ID is invalid or does not exist.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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.

Path Parameters
Name Type Description
project_id required string
playtime_session_id required string
cURL
curl \
  -X PUT \
  "https://app.betahub.io/projects/123/playtime_sessions/123"
Ruby
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
Python
import requests

response = requests.put(
    "https://app.betahub.io/projects/123/playtime_sessions/123"
)
print(response.json())
JavaScript
const response = await fetch("https://app.betahub.io/projects/123/playtime_sessions/123", {
  method: "PUT"
});
const data = await response.json();
Java
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());
Responses
Successful response
Response fields
  • id string optional The playtime session ID, echoed back from the path parameter exactly as supplied by the caller.
application/json
{
  "id": "3f8a1c2e-6b4d-4e7a-9f1b-2c5d8e0a7b34"
}
Project not found. The project ID is invalid or does not exist.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}

Custom Fields

List custom field definitions for a project

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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Query Parameters
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)
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • custom_fields array[object] optional
    • id integer optional Custom field ID (only for regular authenticated users)
    • ident string optional Unique identifier used in API submissions (e.g. in issue creation)
    • name string optional Display name of the field
    • field_type string optional Type of the field. A closed set of five values: 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).
      text boolean single_select multi_select coordinates
    • required boolean optional Whether the field is required
    • tester_settable boolean optional Whether testers can set this field
    • tester_viewable boolean optional Whether testers can view this field (only for regular authenticated users)
    • options object optional Allowed choices for 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.
      • values array[string] optional The allowed values, for single_select / multi_select fields.
    • applies_to string optional Which entity type this field applies to
      issue feature_request ticket
    • created_at string date-time optional Only for regular authenticated users
    • updated_at string date-time optional Only for regular authenticated users
  • custom_issue_fields array[object] optional Backward-compatible alias for custom_fields. Only present when applies_to is “issue”.
    • id integer optional Custom field ID (only for regular authenticated users)
    • ident string optional Unique identifier used in API submissions (e.g. in issue creation)
    • name string optional Display name of the field
    • field_type string optional Type of the field. A closed set of five values: 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).
      text boolean single_select multi_select coordinates
    • required boolean optional Whether the field is required
    • tester_settable boolean optional Whether testers can set this field
    • tester_viewable boolean optional Whether testers can view this field (only for regular authenticated users)
    • options object optional Allowed choices for 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.
      • values array[string] optional The allowed values, for single_select / multi_select fields.
    • applies_to string optional Which entity type this field applies to
      issue feature_request ticket
    • created_at string date-time optional Only for regular authenticated users
    • updated_at string date-time optional Only for regular authenticated users
  • pagination object optional
    • current_page integer optional
    • total_pages integer optional
    • total_count integer optional
    • per_page integer optional
  • project_id integer optional
  • applies_to string optional
application/json
{
  "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"
}
Unauthorized. The request is not authenticated (e.g. an unauthenticated request to a non-public project).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. The principal lacks permission to view custom fields — e.g. a Personal Access Token without the project.taxonomy.manage scope.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Request Body
application/json
  • applies_to string optional
    issue feature_request ticket
    Default: issue
  • custom_field object required
    • name string required
    • field_type string required One of the field types the settings page offers (e.g. text, boolean, single_select).
    • required boolean optional Through a personal access token true is refused (422 required_field): a required field refuses every report without it, a game build’s included.
    • tester_settable boolean optional
    • tester_viewable boolean optional
    • options array[string] optional The choices of a select field.
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "applies_to": "issue",
  "custom_field": {
    "name": "string",
    "field_type": "string",
    "required": true,
    "tester_settable": true,
    "tester_viewable": true,
    "options": [
      "string"
    ]
  }
}
Responses
The field as saved, with its ident (the key the SDK sends).
Response fields
  • id integer optional Custom field ID (only for regular authenticated users)
  • ident string optional Unique identifier used in API submissions (e.g. in issue creation)
  • name string optional Display name of the field
  • field_type string optional Type of the field. A closed set of five values: 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).
    text boolean single_select multi_select coordinates
  • required boolean optional Whether the field is required
  • tester_settable boolean optional Whether testers can set this field
  • tester_viewable boolean optional Whether testers can view this field (only for regular authenticated users)
  • options object optional Allowed choices for 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.
    • values array[string] optional The allowed values, for single_select / multi_select fields.
  • applies_to string optional Which entity type this field applies to
    issue feature_request ticket
  • created_at string date-time optional Only for regular authenticated users
  • updated_at string date-time optional Only for regular authenticated users
application/json
{
  "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"
}
The user’s role may not manage custom fields, or the agent lacks “Read and work” there (consent says what to ask for).
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "error": "insufficient_scope",
  "required_scopes": [
    "org.projects.create"
  ],
  "consent": {
    "url": "https://example.com",
    "intent": "setup",
    "organization": {
      "id": "string",
      "name": "string"
    },
    "instructions": "https://example.com"
  }
}
Not saved (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.
Response fields
  • error string optional
  • errors array[string] optional
application/json
{
  "error": "string",
  "errors": [
    "string"
  ]
}
The coding agent reached its hourly limit on changes.
Response fields
  • error string required
    agent_write_cap
  • message string required
  • retry_after integer required Seconds until the next clock hour.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Query Parameters
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
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • field string optional The custom field ident that was aggregated.
  • results array[object] optional
    • value string optional The custom field value (e.g. a Roblox user id).
    • count integer optional Total occurrences across the requested types.
    • by_type object optional Per-type breakdown; always carries every type, zero when absent.
      • bugs integer optional
      • suggestions integer optional
application/json
{
  "field": "roblox_id",
  "results": [
    {
      "value": "123456789",
      "count": 42,
      "by_type": {
        "bugs": 30,
        "suggestions": 12
      }
    },
    {
      "value": "987654321",
      "count": 8,
      "by_type": {
        "bugs": 5,
        "suggestions": 3
      }
    }
  ]
}
Bad request. The required field parameter is missing.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Unauthorized. The request is not authenticated.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. The principal lacks developer-level access to the project.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}

Hosted Forms

Feedback forms players open from a link, and hubs that group them

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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://app.betahub.io/projects/123/feedback/forms.json"
Ruby
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
Python
import requests

response = requests.get(
    "https://app.betahub.io/projects/123/feedback/forms.json",
    headers={"Authorization": "Bearer YOUR_API_TOKEN"}
)
print(response.json())
JavaScript
const response = await fetch("https://app.betahub.io/projects/123/feedback/forms.json", {
  headers: {
    "Authorization": "Bearer YOUR_API_TOKEN"
  }
});
const data = await response.json();
Java
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());
Responses
The project’s hosted forms.
Response fields
  • forms array[object] optional
    • id integer optional
    • kind string optional
      bug suggestion ticket
    • public_access string optional Who may open the link.
      disabled sign_in_required anonymous_allowed
    • public_url string uri optional nullable The link to share; null while public_access is disabled.
    • edit_url string uri optional The form in the builder.
    • custom_title string optional nullable
    • custom_description string optional nullable
    • accent_color string optional nullable
    • force_theme string optional
      visitor_choice light dark
    • background_mode string optional
      fade_to_gradient fixed tinted_overlay
    • title_on_banner boolean optional
    • description_on_banner boolean optional
    • show_title boolean optional Whether the form asks for a title; otherwise BetaHub writes one.
    • contact_requirement string optional Whether a player must say who they are (an e-mail, a Discord account or a sign-in).
      optional required
    • custom_field_ids array[integer] optional
    • release_id integer optional nullable Bug forms only, the published release reports are filed under; null for the latest.
    • missing_module string optional nullable The module the form’s reports need, when it is off in the project (bugs, suggestions, tickets).
application/json
{
  "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"
    }
  ]
}
The user may not manage the project’s hosted forms.
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "error": "insufficient_scope",
  "required_scopes": [
    "org.projects.create"
  ],
  "consent": {
    "url": "https://example.com",
    "intent": "setup",
    "organization": {
      "id": "string",
      "name": "string"
    },
    "instructions": "https://example.com"
  }
}
Forms & Surveys is off in this project (module_disabled, with url).
Response fields
  • error string optional The messages below in one sentence, or module_disabled.
  • module string optional With module_disabled, the module to switch on (surveys).
  • message string optional
  • url string uri optional
  • errors array[string] optional Why the form was not saved, e.g. “The form must end with a description step.”
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Request Body
application/json
  • hosted_form object required A change applies only what is sent.
    • kind string optional Creating only; ignored on a change.
      bug suggestion ticket
    • public_access string optional
      disabled sign_in_required anonymous_allowed
      Default: disabled
    • custom_title string optional
    • custom_description string optional
    • accent_color string optional
    • force_theme string optional
      visitor_choice light dark
    • background_mode string optional
      fade_to_gradient fixed tinted_overlay
    • title_on_banner boolean optional
    • description_on_banner boolean optional
    • show_title boolean optional
    • contact_requirement string optional
      optional required
    • custom_field_ids array[integer] optional The whole list: fields of this project, for this kind of report, that testers can set.
    • release_id integer optional nullable
cURL
curl \
  -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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
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
  }
}
Responses
The hosted form as saved.
Response fields
  • id integer optional
  • kind string optional
    bug suggestion ticket
  • public_access string optional Who may open the link.
    disabled sign_in_required anonymous_allowed
  • public_url string uri optional nullable The link to share; null while public_access is disabled.
  • edit_url string uri optional The form in the builder.
  • custom_title string optional nullable
  • custom_description string optional nullable
  • accent_color string optional nullable
  • force_theme string optional
    visitor_choice light dark
  • background_mode string optional
    fade_to_gradient fixed tinted_overlay
  • title_on_banner boolean optional
  • description_on_banner boolean optional
  • show_title boolean optional Whether the form asks for a title; otherwise BetaHub writes one.
  • contact_requirement string optional Whether a player must say who they are (an e-mail, a Discord account or a sign-in).
    optional required
  • custom_field_ids array[integer] optional
  • release_id integer optional nullable Bug forms only, the published release reports are filed under; null for the latest.
  • missing_module string optional nullable The module the form’s reports need, when it is off in the project (bugs, suggestions, tickets).
application/json
{
  "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"
}
The user may not manage the project’s hosted forms, or the agent lacks the switch or the organization (consent says what to ask for).
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "error": "insufficient_scope",
  "required_scopes": [
    "org.projects.create"
  ],
  "consent": {
    "url": "https://example.com",
    "intent": "setup",
    "organization": {
      "id": "string",
      "name": "string"
    },
    "instructions": "https://example.com"
  }
}
Not saved, with the reason (errors); or Forms & Surveys is off in this project (module_disabled, with url).
Response fields
  • error string optional The messages below in one sentence, or module_disabled.
  • module string optional With module_disabled, the module to switch on (surveys).
  • message string optional
  • url string uri optional
  • errors array[string] optional Why the form was not saved, e.g. “The form must end with a description step.”
application/json
{
  "error": "string",
  "module": "string",
  "message": "string",
  "url": "https://example.com",
  "errors": [
    "string"
  ]
}
The coding agent reached its hourly limit on changes.
Response fields
  • error string required
    agent_write_cap
  • message string required
  • retry_after integer required Seconds until the next clock hour.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
id required integer The hosted form’s id.
Request Body
application/json
  • hosted_form object required A change applies only what is sent.
    • kind string optional Creating only; ignored on a change.
      bug suggestion ticket
    • public_access string optional
      disabled sign_in_required anonymous_allowed
      Default: disabled
    • custom_title string optional
    • custom_description string optional
    • accent_color string optional
    • force_theme string optional
      visitor_choice light dark
    • background_mode string optional
      fade_to_gradient fixed tinted_overlay
    • title_on_banner boolean optional
    • description_on_banner boolean optional
    • show_title boolean optional
    • contact_requirement string optional
      optional required
    • custom_field_ids array[integer] optional The whole list: fields of this project, for this kind of report, that testers can set.
    • release_id integer optional nullable
cURL
curl \
  -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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
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
  }
}
Responses
The hosted form as saved.
Response fields
  • id integer optional
  • kind string optional
    bug suggestion ticket
  • public_access string optional Who may open the link.
    disabled sign_in_required anonymous_allowed
  • public_url string uri optional nullable The link to share; null while public_access is disabled.
  • edit_url string uri optional The form in the builder.
  • custom_title string optional nullable
  • custom_description string optional nullable
  • accent_color string optional nullable
  • force_theme string optional
    visitor_choice light dark
  • background_mode string optional
    fade_to_gradient fixed tinted_overlay
  • title_on_banner boolean optional
  • description_on_banner boolean optional
  • show_title boolean optional Whether the form asks for a title; otherwise BetaHub writes one.
  • contact_requirement string optional Whether a player must say who they are (an e-mail, a Discord account or a sign-in).
    optional required
  • custom_field_ids array[integer] optional
  • release_id integer optional nullable Bug forms only, the published release reports are filed under; null for the latest.
  • missing_module string optional nullable The module the form’s reports need, when it is off in the project (bugs, suggestions, tickets).
application/json
{
  "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"
}
The user may not manage the project’s hosted forms, or the agent lacks the switch or the organization (consent says what to ask for).
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "error": "insufficient_scope",
  "required_scopes": [
    "org.projects.create"
  ],
  "consent": {
    "url": "https://example.com",
    "intent": "setup",
    "organization": {
      "id": "string",
      "name": "string"
    },
    "instructions": "https://example.com"
  }
}
Not saved, with the reason (errors); or Forms & Surveys is off in this project (module_disabled, with url).
Response fields
  • error string optional The messages below in one sentence, or module_disabled.
  • module string optional With module_disabled, the module to switch on (surveys).
  • message string optional
  • url string uri optional
  • errors array[string] optional Why the form was not saved, e.g. “The form must end with a description step.”
application/json
{
  "error": "string",
  "module": "string",
  "message": "string",
  "url": "https://example.com",
  "errors": [
    "string"
  ]
}
The coding agent reached its hourly limit on changes.
Response fields
  • error string required
    agent_write_cap
  • message string required
  • retry_after integer required Seconds until the next clock hour.
application/json
{
  "error": "agent_write_cap",
  "message": "string",
  "retry_after": 1800
}
No such hosted form in this project.
No such hosted form in this project.

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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://app.betahub.io/projects/123/feedback/portals.json"
Ruby
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
Python
import requests

response = requests.get(
    "https://app.betahub.io/projects/123/feedback/portals.json",
    headers={"Authorization": "Bearer YOUR_API_TOKEN"}
)
print(response.json())
JavaScript
const response = await fetch("https://app.betahub.io/projects/123/feedback/portals.json", {
  headers: {
    "Authorization": "Bearer YOUR_API_TOKEN"
  }
});
const data = await response.json();
Java
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());
Responses
The project’s hubs.
Response fields
  • hubs array[object] optional
    • id integer optional
    • mode string optional
      chooser switcher
    • public_access string optional
      disabled sign_in_required anonymous_allowed
    • public_url string uri optional nullable The link to share; null while public_access is disabled.
    • edit_url string uri optional
    • custom_title string optional nullable
    • custom_description string optional nullable
    • accent_color string optional nullable
    • force_theme string optional
      visitor_choice light dark
    • background_mode string optional
      fade_to_gradient fixed tinted_overlay
    • hosted_form_ids array[integer] optional The forms, in the order they show.
    • survey_ids array[integer] optional The surveys, after the forms.
application/json
{
  "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
      ]
    }
  ]
}
The user may not manage the project’s hubs.
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "error": "insufficient_scope",
  "required_scopes": [
    "org.projects.create"
  ],
  "consent": {
    "url": "https://example.com",
    "intent": "setup",
    "organization": {
      "id": "string",
      "name": "string"
    },
    "instructions": "https://example.com"
  }
}
Forms & Surveys is off in this project (module_disabled, with url).
Response fields
  • error string optional The messages below in one sentence, or module_disabled.
  • module string optional With module_disabled, the module to switch on (surveys).
  • message string optional
  • url string uri optional
  • errors array[string] optional Why the form was not saved, e.g. “The form must end with a description step.”
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Request Body
application/json
  • form_portal object required A change applies only what is sent; a list is the whole list.
    • mode string optional
      chooser switcher
    • public_access string optional
      disabled sign_in_required anonymous_allowed
      Default: disabled
    • custom_title string optional
    • custom_description string optional
    • accent_color string optional
    • force_theme string optional
      visitor_choice light dark
    • background_mode string optional
      fade_to_gradient fixed tinted_overlay
    • hosted_form_ids array[integer] optional
    • survey_ids array[integer] optional
cURL
curl \
  -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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
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
    ]
  }
}
Responses
The hub as saved.
Response fields
  • id integer optional
  • mode string optional
    chooser switcher
  • public_access string optional
    disabled sign_in_required anonymous_allowed
  • public_url string uri optional nullable The link to share; null while public_access is disabled.
  • edit_url string uri optional
  • custom_title string optional nullable
  • custom_description string optional nullable
  • accent_color string optional nullable
  • force_theme string optional
    visitor_choice light dark
  • background_mode string optional
    fade_to_gradient fixed tinted_overlay
  • hosted_form_ids array[integer] optional The forms, in the order they show.
  • survey_ids array[integer] optional The surveys, after the forms.
application/json
{
  "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
  ]
}
The user may not manage the project’s hubs, or the agent lacks the switch or the organization (consent says what to ask for).
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "error": "insufficient_scope",
  "required_scopes": [
    "org.projects.create"
  ],
  "consent": {
    "url": "https://example.com",
    "intent": "setup",
    "organization": {
      "id": "string",
      "name": "string"
    },
    "instructions": "https://example.com"
  }
}
Not saved, with the reason (errors); or Forms & Surveys is off in this project (module_disabled, with url).
Response fields
  • error string optional The messages below in one sentence, or module_disabled.
  • module string optional With module_disabled, the module to switch on (surveys).
  • message string optional
  • url string uri optional
  • errors array[string] optional Why the form was not saved, e.g. “The form must end with a description step.”
application/json
{
  "error": "string",
  "module": "string",
  "message": "string",
  "url": "https://example.com",
  "errors": [
    "string"
  ]
}
The coding agent reached its hourly limit on changes.
Response fields
  • error string required
    agent_write_cap
  • message string required
  • retry_after integer required Seconds until the next clock hour.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
id required integer The hub’s id.
Request Body
application/json
  • form_portal object required A change applies only what is sent; a list is the whole list.
    • mode string optional
      chooser switcher
    • public_access string optional
      disabled sign_in_required anonymous_allowed
      Default: disabled
    • custom_title string optional
    • custom_description string optional
    • accent_color string optional
    • force_theme string optional
      visitor_choice light dark
    • background_mode string optional
      fade_to_gradient fixed tinted_overlay
    • hosted_form_ids array[integer] optional
    • survey_ids array[integer] optional
cURL
curl \
  -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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
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
    ]
  }
}
Responses
The hub as saved.
Response fields
  • id integer optional
  • mode string optional
    chooser switcher
  • public_access string optional
    disabled sign_in_required anonymous_allowed
  • public_url string uri optional nullable The link to share; null while public_access is disabled.
  • edit_url string uri optional
  • custom_title string optional nullable
  • custom_description string optional nullable
  • accent_color string optional nullable
  • force_theme string optional
    visitor_choice light dark
  • background_mode string optional
    fade_to_gradient fixed tinted_overlay
  • hosted_form_ids array[integer] optional The forms, in the order they show.
  • survey_ids array[integer] optional The surveys, after the forms.
application/json
{
  "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
  ]
}
The user may not manage the project’s hubs, or the agent lacks the switch or the organization (consent says what to ask for).
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "error": "insufficient_scope",
  "required_scopes": [
    "org.projects.create"
  ],
  "consent": {
    "url": "https://example.com",
    "intent": "setup",
    "organization": {
      "id": "string",
      "name": "string"
    },
    "instructions": "https://example.com"
  }
}
Not saved, with the reason (errors); or Forms & Surveys is off in this project (module_disabled, with url).
Response fields
  • error string optional The messages below in one sentence, or module_disabled.
  • module string optional With module_disabled, the module to switch on (surveys).
  • message string optional
  • url string uri optional
  • errors array[string] optional Why the form was not saved, e.g. “The form must end with a description step.”
application/json
{
  "error": "string",
  "module": "string",
  "message": "string",
  "url": "https://example.com",
  "errors": [
    "string"
  ]
}
The coding agent reached its hourly limit on changes.
Response fields
  • error string required
    agent_write_cap
  • message string required
  • retry_after integer required Seconds until the next clock hour.
application/json
{
  "error": "agent_write_cap",
  "message": "string",
  "retry_after": 1800
}
No such hub in this project.
No such hub in this project.

Discord Forms

Build, change and switch the forms the Discord bot shows to players

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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://app.betahub.io/projects/123/discord/forms.json"
Ruby
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
Python
import requests

response = requests.get(
    "https://app.betahub.io/projects/123/discord/forms.json",
    headers={"Authorization": "Bearer YOUR_API_TOKEN"}
)
print(response.json())
JavaScript
const response = await fetch("https://app.betahub.io/projects/123/discord/forms.json", {
  headers: {
    "Authorization": "Bearer YOUR_API_TOKEN"
  }
});
const data = await response.json();
Java
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());
Responses
The project’s forms.
Response fields
  • forms array[object] optional
    • id integer optional The id to change the form with.
    • slug string optional Per-project handle the Discord bot refers to the form by.
    • kind string optional What a submission creates. Set when the form is created; it cannot change.
      bug suggestion ticket
    • name string optional
    • enabled boolean optional Only enabled forms render on Discord. New forms start switched off unless enabled is sent.
    • intro_message string optional nullable Shown to the player before the first step.
    • dedup_enabled boolean optional Whether the bot checks for duplicates before the report is sent.
    • url string uri optional The form’s builder, where the user previews and edits it.
    • default_form_setting string optional The Discord /set setting that makes this form its kind’s default, e.g. default_bug_form.
    • field_config object optional
      • steps array[object] optional
        • key string required Unique within the form; visible_if refers to steps by it.
        • type string required One choice, several choices, a short text or a long text.
          single multi short long
        • title string required
        • help string optional
        • required boolean optional
        • options array[object] optional For single and multi steps; Discord shows at most 25.
          max items: 25
          • value string required
          • label string required
          • emoji string optional
          • description string optional
        • display string optional How a choice step renders on Discord.
          buttons dropdown
          Default: buttons
        • custom_field_id integer optional Saves the answer in this custom field: a player-settable field of the form’s kind whose type holds the step (single_select for single, 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.
        • custom_field_ident string optional The same field by its ident (see listCustomFields); used when custom_field_id is absent. Every saved step that stores its answer carries both.
        • create_custom_field boolean optional On a 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.
        • is_description boolean optional Marks the last step, a text step, as the report’s description.
        • with_reproduction_steps boolean optional On a bug form’s description step, adds a second box for steps to reproduce.
        • min_length integer optional The description step’s minimum length; absent uses BetaHub’s default.
          min: 0 max: 4000
        • visible_if object optional Shows the step only when an earlier choice step was answered with one of in.
          • step string optional
          • in array[string] optional
application/json
{
  "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
        ]
      }
    }
  ]
}
The user may not manage the project’s forms.
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "error": "insufficient_scope",
  "required_scopes": [
    "org.projects.create"
  ],
  "consent": {
    "url": "https://example.com",
    "intent": "setup",
    "organization": {
      "id": "string",
      "name": "string"
    },
    "instructions": "https://example.com"
  }
}
Forms & Surveys is off in this project (module_disabled, with url).
Response fields
  • error string optional The messages below in one sentence, or module_disabled.
  • module string optional With module_disabled, the module to switch on (surveys).
  • message string optional
  • url string uri optional
  • errors array[string] optional Why the form was not saved, e.g. “The form must end with a description step.”
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Request Body
application/json
  • discord_form object required
    • kind string optional Creating only; ignored on a change.
      bug suggestion ticket
    • name string optional
    • enabled boolean optional
    • intro_message string optional
    • dedup_enabled boolean optional
    • field_config object optional The whole list of steps; a change replaces it. Leave it out to keep the steps.
      • steps array[object] optional
        • key string required Unique within the form; visible_if refers to steps by it.
        • type string required One choice, several choices, a short text or a long text.
          single multi short long
        • title string required
        • help string optional
        • required boolean optional
        • options array[object] optional For single and multi steps; Discord shows at most 25.
          max items: 25
          • value string required
          • label string required
          • emoji string optional
          • description string optional
        • display string optional How a choice step renders on Discord.
          buttons dropdown
          Default: buttons
        • custom_field_id integer optional Saves the answer in this custom field: a player-settable field of the form’s kind whose type holds the step (single_select for single, 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.
        • custom_field_ident string optional The same field by its ident (see listCustomFields); used when custom_field_id is absent. Every saved step that stores its answer carries both.
        • create_custom_field boolean optional On a 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.
        • is_description boolean optional Marks the last step, a text step, as the report’s description.
        • with_reproduction_steps boolean optional On a bug form’s description step, adds a second box for steps to reproduce.
        • min_length integer optional The description step’s minimum length; absent uses BetaHub’s default.
          min: 0 max: 4000
        • visible_if object optional Shows the step only when an earlier choice step was answered with one of in.
          • step string optional
          • in array[string] optional
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "discord_form": {
    "kind": "bug",
    "name": "string",
    "enabled": true,
    "intro_message": "string",
    "dedup_enabled": true,
    "field_config": {
      "steps": [
        {}
      ]
    }
  }
}
Responses
The form as saved, its steps cleaned up.
Response fields
  • id integer optional The id to change the form with.
  • slug string optional Per-project handle the Discord bot refers to the form by.
  • kind string optional What a submission creates. Set when the form is created; it cannot change.
    bug suggestion ticket
  • name string optional
  • enabled boolean optional Only enabled forms render on Discord. New forms start switched off unless enabled is sent.
  • intro_message string optional nullable Shown to the player before the first step.
  • dedup_enabled boolean optional Whether the bot checks for duplicates before the report is sent.
  • url string uri optional The form’s builder, where the user previews and edits it.
  • default_form_setting string optional The Discord /set setting that makes this form its kind’s default, e.g. default_bug_form.
  • field_config object optional
    • steps array[object] optional
      • key string required Unique within the form; visible_if refers to steps by it.
      • type string required One choice, several choices, a short text or a long text.
        single multi short long
      • title string required
      • help string optional
      • required boolean optional
      • options array[object] optional For single and multi steps; Discord shows at most 25.
        max items: 25
        • value string required
        • label string required
        • emoji string optional
        • description string optional
      • display string optional How a choice step renders on Discord.
        buttons dropdown
        Default: buttons
      • custom_field_id integer optional Saves the answer in this custom field: a player-settable field of the form’s kind whose type holds the step (single_select for single, 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.
      • custom_field_ident string optional The same field by its ident (see listCustomFields); used when custom_field_id is absent. Every saved step that stores its answer carries both.
      • create_custom_field boolean optional On a 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.
      • is_description boolean optional Marks the last step, a text step, as the report’s description.
      • with_reproduction_steps boolean optional On a bug form’s description step, adds a second box for steps to reproduce.
      • min_length integer optional The description step’s minimum length; absent uses BetaHub’s default.
        min: 0 max: 4000
      • visible_if object optional Shows the step only when an earlier choice step was answered with one of in.
        • step string optional
        • in array[string] optional
application/json
{
  "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": {}
      }
    ]
  }
}
The user may not manage the project’s forms, or the agent lacks “Read and work” there (consent says what to ask for).
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "error": "insufficient_scope",
  "required_scopes": [
    "org.projects.create"
  ],
  "consent": {
    "url": "https://example.com",
    "intent": "setup",
    "organization": {
      "id": "string",
      "name": "string"
    },
    "instructions": "https://example.com"
  }
}
The form was not saved (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).
Response fields
  • error string optional The messages below in one sentence, or module_disabled.
  • module string optional With module_disabled, the module to switch on (surveys).
  • message string optional
  • url string uri optional
  • errors array[string] optional Why the form was not saved, e.g. “The form must end with a description step.”
application/json
{
  "error": "string",
  "module": "string",
  "message": "string",
  "url": "https://example.com",
  "errors": [
    "string"
  ]
}
The coding agent reached its hourly limit on changes.
Response fields
  • error string required
    agent_write_cap
  • message string required
  • retry_after integer required Seconds until the next clock hour.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
form_id required integer The form’s id.
Request Body
application/json
  • discord_form object required
    • kind string optional Creating only; ignored on a change.
      bug suggestion ticket
    • name string optional
    • enabled boolean optional
    • intro_message string optional
    • dedup_enabled boolean optional
    • field_config object optional The whole list of steps; a change replaces it. Leave it out to keep the steps.
      • steps array[object] optional
        • key string required Unique within the form; visible_if refers to steps by it.
        • type string required One choice, several choices, a short text or a long text.
          single multi short long
        • title string required
        • help string optional
        • required boolean optional
        • options array[object] optional For single and multi steps; Discord shows at most 25.
          max items: 25
          • value string required
          • label string required
          • emoji string optional
          • description string optional
        • display string optional How a choice step renders on Discord.
          buttons dropdown
          Default: buttons
        • custom_field_id integer optional Saves the answer in this custom field: a player-settable field of the form’s kind whose type holds the step (single_select for single, 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.
        • custom_field_ident string optional The same field by its ident (see listCustomFields); used when custom_field_id is absent. Every saved step that stores its answer carries both.
        • create_custom_field boolean optional On a 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.
        • is_description boolean optional Marks the last step, a text step, as the report’s description.
        • with_reproduction_steps boolean optional On a bug form’s description step, adds a second box for steps to reproduce.
        • min_length integer optional The description step’s minimum length; absent uses BetaHub’s default.
          min: 0 max: 4000
        • visible_if object optional Shows the step only when an earlier choice step was answered with one of in.
          • step string optional
          • in array[string] optional
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "discord_form": {
    "kind": "bug",
    "name": "string",
    "enabled": true,
    "intro_message": "string",
    "dedup_enabled": true,
    "field_config": {
      "steps": [
        {}
      ]
    }
  }
}
Responses
The form as saved.
Response fields
  • id integer optional The id to change the form with.
  • slug string optional Per-project handle the Discord bot refers to the form by.
  • kind string optional What a submission creates. Set when the form is created; it cannot change.
    bug suggestion ticket
  • name string optional
  • enabled boolean optional Only enabled forms render on Discord. New forms start switched off unless enabled is sent.
  • intro_message string optional nullable Shown to the player before the first step.
  • dedup_enabled boolean optional Whether the bot checks for duplicates before the report is sent.
  • url string uri optional The form’s builder, where the user previews and edits it.
  • default_form_setting string optional The Discord /set setting that makes this form its kind’s default, e.g. default_bug_form.
  • field_config object optional
    • steps array[object] optional
      • key string required Unique within the form; visible_if refers to steps by it.
      • type string required One choice, several choices, a short text or a long text.
        single multi short long
      • title string required
      • help string optional
      • required boolean optional
      • options array[object] optional For single and multi steps; Discord shows at most 25.
        max items: 25
        • value string required
        • label string required
        • emoji string optional
        • description string optional
      • display string optional How a choice step renders on Discord.
        buttons dropdown
        Default: buttons
      • custom_field_id integer optional Saves the answer in this custom field: a player-settable field of the form’s kind whose type holds the step (single_select for single, 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.
      • custom_field_ident string optional The same field by its ident (see listCustomFields); used when custom_field_id is absent. Every saved step that stores its answer carries both.
      • create_custom_field boolean optional On a 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.
      • is_description boolean optional Marks the last step, a text step, as the report’s description.
      • with_reproduction_steps boolean optional On a bug form’s description step, adds a second box for steps to reproduce.
      • min_length integer optional The description step’s minimum length; absent uses BetaHub’s default.
        min: 0 max: 4000
      • visible_if object optional Shows the step only when an earlier choice step was answered with one of in.
        • step string optional
        • in array[string] optional
application/json
{
  "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": {}
      }
    ]
  }
}
As for creating.
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "error": "insufficient_scope",
  "required_scopes": [
    "org.projects.create"
  ],
  "consent": {
    "url": "https://example.com",
    "intent": "setup",
    "organization": {
      "id": "string",
      "name": "string"
    },
    "instructions": "https://example.com"
  }
}
No such form in this project.
No such form in this project.
The form was not saved (errors), or Forms & Surveys is off.
Response fields
  • error string optional The messages below in one sentence, or module_disabled.
  • module string optional With module_disabled, the module to switch on (surveys).
  • message string optional
  • url string uri optional
  • errors array[string] optional Why the form was not saved, e.g. “The form must end with a description step.”
application/json
{
  "error": "string",
  "module": "string",
  "message": "string",
  "url": "https://example.com",
  "errors": [
    "string"
  ]
}
The coding agent reached its hourly limit on changes.
Response fields
  • error string required
    agent_write_cap
  • message string required
  • retry_after integer required Seconds until the next clock hour.
application/json
{
  "error": "agent_write_cap",
  "message": "string",
  "retry_after": 1800
}

Invitations

Invite testers to a project by a link or by e-mail

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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Request Body
application/json
  • invitation object optional
    • expire_in integer optional How long the link works, in seconds; 0 never expires. The options the wizard offers.
      600 3600 21600 86400 604800 0
      Default: 604800
    • remaining_uses integer optional How many people the link lets in. Left out, no limit.
      min: 1
    • require_nda boolean optional Whether a tester accepts the project’s NDA on joining. Left out, required when the project has an NDA, as in the wizard. false on a project with an NDA needs a coding agent to have the switch for visibility, NDA and integrations (403 with consent otherwise).
    • role string optional Only tester. Any other role answers 422 role_not_allowed.
      tester
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "invitation": {
    "expire_in": 600,
    "remaining_uses": 0,
    "require_nda": true,
    "role": "tester"
  }
}
Responses
The link.
Response fields
  • url string uri optional The link to share with testers. Anyone holding it joins the project as a tester.
  • role string optional
    tester
  • expires_at string date-time optional nullable When the link stops working; null when it never does.
  • remaining_uses integer optional nullable
  • require_nda boolean optional
  • members_url string uri optional The project’s Members page, which lists pending invitations.
application/json
{
  "url": "https://example.com",
  "role": "tester",
  "expires_at": "2026-03-12T10:30:00Z",
  "remaining_uses": 0,
  "require_nda": true,
  "members_url": "https://example.com"
}
The user may not manage the project’s members, or the agent lacks “Read and work” there (consent says what to ask for).
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "error": "insufficient_scope",
  "required_scopes": [
    "org.projects.create"
  ],
  "consent": {
    "url": "https://example.com",
    "intent": "setup",
    "organization": {
      "id": "string",
      "name": "string"
    },
    "instructions": "https://example.com"
  }
}
A role other than tester (role_not_allowed, with the wizard’s url), or an invalid expire_in or remaining_uses.
Response fields
  • error string optional role_not_allowed, or why the request was refused (e.g. an invalid address or expire_in).
  • errors array[string] optional
  • url string uri optional With role_not_allowed, the invitation wizard, where the user invites a developer or support member.
  • message string optional
application/json
{
  "error": "string",
  "errors": [
    "string"
  ],
  "url": "https://example.com",
  "message": "string"
}
The coding agent reached its hourly limit on changes.
Response fields
  • error string required
    agent_write_cap
  • message string required
  • retry_after integer required Seconds until the next clock hour.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Request Body
application/json
  • emails array[string] required
    max items: 10
  • role string optional Only tester. Any other role answers 422 role_not_allowed.
    tester
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "emails": [
    "user@example.com"
  ],
  "role": "tester"
}
Responses
What was sent and skipped.
Response fields
  • sent array[string] optional The addresses BetaHub sent an invitation to.
  • skipped array[object] optional
    • email string optional
    • reason string optional
      already a member invitation already pending
  • remaining_today integer optional nullable How many more invitation e-mails the user’s tokens may send in the next 24 hours. null for a browser session, which has no such limit.
application/json
{
  "sent": [
    "user@example.com"
  ],
  "skipped": [
    {
      "email": "string",
      "reason": "already a member"
    }
  ],
  "remaining_today": 0
}
As for the link.
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "error": "insufficient_scope",
  "required_scopes": [
    "org.projects.create"
  ],
  "consent": {
    "url": "https://example.com",
    "intent": "setup",
    "organization": {
      "id": "string",
      "name": "string"
    },
    "instructions": "https://example.com"
  }
}
A role other than tester (role_not_allowed), no address, more than 10, or an invalid address; nothing was sent.
Response fields
  • error string optional role_not_allowed, or why the request was refused (e.g. an invalid address or expire_in).
  • errors array[string] optional
  • url string uri optional With role_not_allowed, the invitation wizard, where the user invites a developer or support member.
  • message string optional
application/json
{
  "error": "string",
  "errors": [
    "string"
  ],
  "url": "https://example.com",
  "message": "string"
}
The daily limit on invitation e-mails (email_invitation_limit, with remaining_today and Retry-After), or the coding agent’s hourly limit on changes (agent_write_cap).
Response fields
  • error string optional
    email_invitation_limit
  • remaining_today integer optional How many invitation e-mails the user’s tokens may still send now.
  • retry_after integer optional Seconds until the oldest e-mail of the last 24 hours stops counting. Also in Retry-After.
  • url string uri optional The invitation wizard, where the user invites people without this limit.
  • message string optional
application/json
{
  "error": "email_invitation_limit",
  "remaining_today": 0,
  "retry_after": 0,
  "url": "https://example.com",
  "message": "string"
}

NDA

Read a project’s NDA, add its first version and require it of new members

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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://app.betahub.io/projects/123/nda.json"
Ruby
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
Python
import requests

response = requests.get(
    "https://app.betahub.io/projects/123/nda.json",
    headers={"Authorization": "Bearer YOUR_API_TOKEN"}
)
print(response.json())
JavaScript
const response = await fetch("https://app.betahub.io/projects/123/nda.json", {
  headers: {
    "Authorization": "Bearer YOUR_API_TOKEN"
  }
});
const data = await response.json();
Java
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());
Responses
The NDA state.
Response fields
  • enabled boolean optional Whether the project’s NDA module is on.
  • required_on_join boolean optional Whether people who join must accept the NDA (“Require NDA for new members”).
  • current_version object optional nullable The latest NDA version; null when the project has none.
    • id integer optional
    • created_at string date-time optional
    • text boolean optional Whether the version has text.
    • pdf boolean optional Whether the version has a PDF.
  • url string uri optional The project’s NDA page.
application/json
{
  "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"
}
The user may not manage the project’s NDA.
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "error": "insufficient_scope",
  "required_scopes": [
    "org.projects.create"
  ],
  "consent": {
    "url": "https://example.com",
    "intent": "setup",
    "organization": {
      "id": "string",
      "name": "string"
    },
    "instructions": "https://example.com"
  }
}
The plan does not include NDAs (module_not_included).
Response fields
  • error string optional nda_version_exists, existing_members or module_not_included; otherwise why the version was not saved.
  • errors array[string] optional
  • url string uri optional The page where the user does it.
  • message string optional
  • modules array[object] optional With module_not_included.
    • name string optional
    • required_plan string optional
  • upgrade_url string uri optional nullable With module_not_included, for an organization admin.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Request Body
application/json
  • project_nda_version object optional
    • body string optional The NDA’s text, as the user gave it.
multipart/form-data
  • project_nda_version object optional
    • body string optional The NDA’s text, as the user gave it.
    • pdf string binary optional The NDA as a PDF file. A string is refused (422 invalid).
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "project_nda_version": {
    "body": "string"
  }
}
Responses
The NDA state with the new version.
Response fields
  • enabled boolean optional Whether the project’s NDA module is on.
  • required_on_join boolean optional Whether people who join must accept the NDA (“Require NDA for new members”).
  • current_version object optional nullable The latest NDA version; null when the project has none.
    • id integer optional
    • created_at string date-time optional
    • text boolean optional Whether the version has text.
    • pdf boolean optional Whether the version has a PDF.
  • url string uri optional The project’s NDA page.
application/json
{
  "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"
}
As for reading, or the agent lacks the switch (consent).
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "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.
Response fields
  • error string optional nda_version_exists, existing_members or module_not_included; otherwise why the version was not saved.
  • errors array[string] optional
  • url string uri optional The page where the user does it.
  • message string optional
  • modules array[object] optional With module_not_included.
    • name string optional
    • required_plan string optional
  • upgrade_url string uri optional nullable With module_not_included, for an organization admin.
application/json
{
  "error": "string",
  "errors": [
    "string"
  ],
  "url": "https://example.com",
  "message": "string",
  "modules": [
    {
      "name": "string",
      "required_plan": "string"
    }
  ],
  "upgrade_url": "https://example.com"
}
The coding agent reached its hourly limit on changes.
Response fields
  • error string required
    agent_write_cap
  • message string required
  • retry_after integer required Seconds until the next clock hour.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Request Body
application/json
  • nda_required_on_join boolean required
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "nda_required_on_join": true
}
Responses
The NDA state.
Response fields
  • enabled boolean optional Whether the project’s NDA module is on.
  • required_on_join boolean optional Whether people who join must accept the NDA (“Require NDA for new members”).
  • current_version object optional nullable The latest NDA version; null when the project has none.
    • id integer optional
    • created_at string date-time optional
    • text boolean optional Whether the version has text.
    • pdf boolean optional Whether the version has a PDF.
  • url string uri optional The project’s NDA page.
application/json
{
  "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"
}
As for adding a version.
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "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).
Response fields
  • error string optional nda_version_exists, existing_members or module_not_included; otherwise why the version was not saved.
  • errors array[string] optional
  • url string uri optional The page where the user does it.
  • message string optional
  • modules array[object] optional With module_not_included.
    • name string optional
    • required_plan string optional
  • upgrade_url string uri optional nullable With module_not_included, for an organization admin.
application/json
{
  "error": "string",
  "errors": [
    "string"
  ],
  "url": "https://example.com",
  "message": "string",
  "modules": [
    {
      "name": "string",
      "required_plan": "string"
    }
  ],
  "upgrade_url": "https://example.com"
}
The coding agent reached its hourly limit on changes.
Response fields
  • error string required
    agent_write_cap
  • message string required
  • retry_after integer required Seconds until the next clock hour.
application/json
{
  "error": "agent_write_cap",
  "message": "string",
  "retry_after": 1800
}

Log Redaction

The patterns that hide personal data in uploaded logs

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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://app.betahub.io/projects/123/log_redaction_patterns.json"
Ruby
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
Python
import requests

response = requests.get(
    "https://app.betahub.io/projects/123/log_redaction_patterns.json",
    headers={"Authorization": "Bearer YOUR_API_TOKEN"}
)
print(response.json())
JavaScript
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();
Java
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());
Responses
The patterns and the settings page.
Response fields
  • patterns array[object] optional
    • id integer optional
    • label string optional
    • pattern_type string optional
      predefined custom
    • key string optional nullable A predefined pattern’s key.
    • pattern string optional nullable A custom pattern’s glob.
    • enabled boolean optional
  • url string uri optional
application/json
{
  "patterns": [
    {
      "id": 0,
      "label": "string",
      "pattern_type": "predefined",
      "key": "string",
      "pattern": "string",
      "enabled": true
    }
  ],
  "url": "https://example.com"
}
The user’s role may not manage log redaction.
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Request Body
application/json
  • log_redaction_pattern object required
    • label string required
      max length: 100
    • pattern string required A glob, matched ignoring case. * 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.
      max length: 500
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "log_redaction_pattern": {
    "label": "string",
    "pattern": "string"
  }
}
Responses
The pattern as saved.
Response fields
  • id integer optional
  • label string optional
  • pattern_type string optional
    predefined custom
  • key string optional nullable A predefined pattern’s key.
  • pattern string optional nullable A custom pattern’s glob.
  • enabled boolean optional
application/json
{
  "id": 0,
  "label": "string",
  "pattern_type": "predefined",
  "key": "string",
  "pattern": "string",
  "enabled": true
}
As for listing, or the agent lacks “Read and work” (consent).
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "error": "insufficient_scope",
  "required_scopes": [
    "org.projects.create"
  ],
  "consent": {
    "url": "https://example.com",
    "intent": "setup",
    "organization": {
      "id": "string",
      "name": "string"
    },
    "instructions": "https://example.com"
  }
}
Not saved (errors), e.g. no label or no pattern.
Response fields
  • error string optional
  • errors array[string] optional
application/json
{
  "error": "string",
  "errors": [
    "string"
  ]
}
The coding agent reached its hourly limit on changes.
Response fields
  • error string required
    agent_write_cap
  • message string required
  • retry_after integer required Seconds until the next clock hour.
application/json
{
  "error": "agent_write_cap",
  "message": "string",
  "retry_after": 1800
}

Issue Statuses

List issue status definitions for a project

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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/issue_statuses.json"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • issue_statuses array[object] optional
    • key string optional Stable status key used when reading or setting an issue’s status. Every project is seeded with nine built-in keys: 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).
    • display_name string optional Human-readable display name shown in the UI.
    • behavior_category string optional Behavioral category the status maps to, used to group statuses by how BetaHub treats issues in them. Derived from the status’s internal behavior: active → in_progress, resolved → resolved, closed → closed_verified, hidden → hidden.
      in_progress resolved closed_verified hidden
    • system_status boolean optional True only when the status’s behavior is 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.
application/json
{
  "issue_statuses": [
    {
      "key": "in_progress",
      "display_name": "In Progress",
      "behavior_category": "in_progress",
      "system_status": true
    }
  ]
}
Unauthorized. Returned only when the request carries no authentication principal at all, or the Bearer token is itself invalid. A FormUser/game-SDK token authenticates as a limited principal and is instead rejected with 403.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. The principal lacks permission to view this project’s issue statuses — e.g. a Personal Access Token whose user does not hold the project.taxonomy.manage scope on the project.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Not Found. No project matches project_id, or the project has been removed.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}

Issue Tags

List issue tags for a project

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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Query Parameters
Name Type Description
page optional integer Page number for pagination (default: 1)
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "BetaHub-Project-ID: 123" \
  "https://app.betahub.io/projects/123/issue_tags.json?page=123"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • tags array[object] optional
    • id integer optional Tag ID
    • name string optional Tag name
    • color string optional Tag color as a lowercase 6-digit hex code (#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.
      pattern: ^#[a-f0-9]{6}$
    • description string optional nullable Tag description
    • parent_tag_id integer optional nullable ID of the parent tag (null for top-level tags)
    • tag_type string optional Taxonomy the tag belongs to. On the issue-tags endpoints this is always issue; feature_request tags are a separate taxonomy (Suggestions) not exposed here.
      issue feature_request
    • created_at string date-time optional
    • updated_at string date-time optional
    • sub_tags array[object] optional Child tags nested under this parent tag
      • id integer optional
      • name string optional
      • color string optional Lowercase 6-digit hex (#rrggbb) inherited from the parent tag.
        pattern: ^#[a-f0-9]{6}$
      • description string optional nullable
      • parent_tag_id integer optional ID of the parent tag this sub-tag belongs to.
      • tag_type string optional Always issue on this endpoint.
        issue feature_request
      • created_at string date-time optional
      • updated_at string date-time optional
  • project_id integer optional
  • pagination object optional
    • current_page integer optional
    • total_pages integer optional
    • total_count integer optional
    • per_page integer optional
application/json
{
  "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
  }
}
Unauthorized. The request carries no authentication principal at all (no Authorization header and no session).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. The caller does not hold the 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.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}

Sentiments

Read community sentiment analysis (overview, topics, AI insights, Steam posts) for a project

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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Query Parameters
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
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • date_range object optional The date range actually applied.
    • from string date optional
    • to string date optional
  • message_count integer optional Analysed messages in the range after filters.
  • average_rating number optional nullable Mean rating on the 1–5 scale, one decimal. null when there are no messages.
    min: 1 max: 5
  • categories array[object] optional Message count per sentiment category. Categories with zero messages are omitted, except that all six are listed (with 0) when there are no messages.
    • category string optional
      positive negative neutral toxic excited frustrated
    • count integer optional
  • top_words array[object] optional Up to 20 most frequent key-phrase words (lowercase, singular; stop words removed; “not” is joined to the next word), most frequent first. Computed from the newest 50,000 messages when there are more.
    • word string optional
    • count integer optional
  • trend object optional Per-bucket series. The range is split into at most 30 buckets of max(1, ceil(days / 30)) days each; every array has one entry per dates entry, in the same order.
    • dates array[string] optional Start date of each bucket.
    • message_count array[integer] optional
    • average_rating array[number] optional Mean rating (1–5, one decimal); null for an empty bucket.
    • net_sentiment array[number] optional (positive + excited − negative − frustrated − toxic) as a percentage of the bucket’s messages, −100 to 100, one decimal; null for an empty bucket.
    • frustration_share array[number] optional Share of frustrated, toxic and negative messages, 0 to 100, one decimal; null for an empty bucket.
    • categories object optional Message count per bucket for each category.
      • positive array[integer] optional
      • negative array[integer] optional
      • neutral array[integer] optional
      • toxic array[integer] optional
      • excited array[integer] optional
      • frustrated array[integer] optional
  • channels array[object] optional Every channel of the project (with 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.
    • value string optional Discord channel BetaHub id, or cf-<forum id> for a Steam sub-forum.
    • name string optional # <name> for Discord, Steam · <forum name> for Steam.
  • ai_summary string optional nullable Summary text of the latest general insight run (see 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.
  • report object optional nullable The saved report the response is limited to; null for the whole community.
    • id integer optional
    • name string optional
  • reports array[object] optional The project’s saved sentiment reports, oldest first. Pass an 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.
    • id integer optional
    • name string optional
    • active boolean optional
application/json
{
  "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
    }
  ]
}
Bad request, with an empty body (no JSON). A filter is invalid: unknown 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.
Bad request, with an empty body (no JSON). A filter is invalid: unknown `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.
Unauthorized. The request is not authenticated.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. The principal lacks the project.analytics.view scope, or the project’s plan does not include Sentiment Analysis (the example body).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "This project's plan does not include Sentiment Analysis."
}
Not found. The project does not exist or was removed, or report_id is not a saved report of this project.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Query Parameters
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.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • topic object optional nullable The requested topic; null for general insights.
    • id integer optional
    • title string optional
  • run object optional nullable The latest insight run; null when insights were never generated.
    • status string optional
      success empty failed
    • created_at string date-time optional
    • summary string optional nullable AI summary of the run.
    • empty_reason string optional nullable Why there are no insights; set only when status is empty or failed.
  • insights array[object] optional
    • id integer optional Pass as insight_id to the messages endpoint to list its evidence.
    • category string optional nullable Severity.
      info warning danger
    • phrase string optional The insight (the refined wording when available).
    • reasoning string optional nullable
    • confidence string optional nullable Refinement confidence; low insights are never returned.
      high medium
    • trend string optional nullable Matching messages in the 4 days before the run versus the 4 days before that: new when the earlier window had fewer than 3, otherwise ±20% separates increasing/decreasing from stable.
      new increasing stable decreasing
    • signal_strength number optional nullable Percentage (0–100, one decimal) of the project’s analysed messages in the 7 days before the run that match the insight.
    • matching_count integer optional nullable Number of those matching messages.
    • evidence_count integer optional Number of messages cited as evidence (any channel).
    • keywords array[string] optional Search keywords used to find the evidence; empty when unknown.
    • created_at string date-time optional
application/json
{
  "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"
    }
  ]
}
Bad request, with an empty body (no JSON). A message filter sent along is malformed (see the overview endpoint); filters are validated even though this endpoint ignores them. Checked before authentication.
Bad request, with an empty body (no JSON). A message filter sent along is malformed (see the overview endpoint); filters are validated even though this endpoint ignores them. Checked before authentication.
Unauthorized. The request is not authenticated.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. The principal lacks the project.analytics.view scope, or the project’s plan does not include Sentiment Analysis (the example body).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "This project's plan does not include Sentiment Analysis."
}
Not found. The project does not exist, topic_id is not a topic of this project, or report_id is not a saved report of this project.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Query Parameters
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
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • date_range object optional The date range actually applied.
    • from string date optional
    • to string date optional
  • total_topics_count integer optional Distinct topics with at least one mention in the range (not capped by limit).
  • topics array[object] optional Most-mentioned first, at most limit.
    • id integer optional
    • title string optional
    • mentions integer optional Messages about the topic in the range.
    • previous_mentions integer optional Messages about the topic in the preceding period of equal length.
    • trend string optional new when previous_mentions is 0; otherwise a change beyond ±10% is increasing/decreasing.
      new increasing stable decreasing
    • change_percentage number optional nullable Mentions change in percent, one decimal; null when previous_mentions is 0.
    • sentiment_distribution object optional Mentions per sentiment category; only categories that occur.
      • «key» integer optional
    • sentiment_percentages object optional The same as percentages of mentions, one decimal.
      • «key» number optional
    • average_rating number optional Mean rating on the 1–5 scale, two decimals.
    • previous_average_rating number optional nullable Previous-period mean rating; null when there were no previous mentions.
    • rating_change_percentage number optional nullable Rating change in percent, one decimal; null when there were no previous mentions.
application/json
{
  "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
    }
  ]
}
Bad request, with an empty body (no JSON). A filter is invalid (see the overview endpoint). Checked before authentication.
Bad request, with an empty body (no JSON). A filter is invalid (see the overview endpoint). Checked before authentication.
Unauthorized. The request is not authenticated.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. The principal lacks the project.analytics.view scope, or the project’s plan does not include Sentiment Analysis (the example body).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "This project's plan does not include Sentiment Analysis."
}
Not found. The project does not exist or was removed, or report_id is not a saved report of this project.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Query Parameters
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
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • messages array[object] optional
    • id integer optional
    • text string optional The post text.
    • category string optional
      positive negative neutral toxic excited frustrated
    • confidence number optional Classifier confidence for category.
    • key_phrases array[string] optional
    • explanation string optional Why the post got its category.
    • language string optional Detected language.
    • posted_at string date-time optional
    • channel object optional
      • value string optional cf-<forum id>, usable in channel_id[].
      • name string optional Steam · <forum name>.
    • topic object optional nullable The post’s topic; null when it has none.
      • id integer optional
      • title string optional
    • thread_url string optional nullable Steam thread URL, set only for a thread’s opening post whose thread is known; null for replies.
  • pagination object optional
    • current_page integer optional
    • total_pages integer optional Capped at 50; 0 when nothing matches.
    • total_count integer optional All matching posts, not capped.
    • per_page integer optional
application/json
{
  "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
  }
}
Bad request, with an empty body (no JSON). A filter is invalid (see the overview endpoint); validated even when insight_id makes it irrelevant. Checked before authentication.
Bad request, with an empty body (no JSON). A filter is invalid (see the overview endpoint); validated even when `insight_id` makes it irrelevant. Checked before authentication.
Unauthorized. The request is not authenticated.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. The principal lacks the project.analytics.view scope, or the project’s plan does not include Sentiment Analysis (the example body).
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "This project's plan does not include Sentiment Analysis."
}
Not found. The project does not exist, or insight_id / topic_id / report_id does not belong to this project.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "Not found"
}

Sentiment Checks

Ask questions about a period of community sentiment (did a fix land, how a release or campaign was received) and read the answers

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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Query Parameters
Name Type Description
page optional integer
min: 1
Default: 1
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://app.betahub.io/projects/123/sentiments/checks.json?page=1"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • checks array[object] optional
    • id string optional Obfuscated check id.
    • url string uri optional The check’s page in BetaHub.
    • title string optional nullable Short title the intake agent gives the check once it understands the question.
    • question string optional The question as asked.
    • kind string optional nullable 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.
      fix release campaign
    • status string optional 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.
      intake awaiting_input queued running completed failed cancelled
    • next_action string optional nullable What the check waits for. 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.
      wait answer confirm_or_revise
    • origin string optional automatic: a release report BetaHub started on its own, 7 days after a release.
      user automatic
    • verdict string optional nullable The answer in one word, once completed. Fix checks: 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.
    • verdict_label string optional nullable The verdict as the page shows it.
    • created_at string date-time optional
    • started_at string date-time optional nullable
    • completed_at string date-time optional nullable When the check finished, failed or was cancelled.
  • limits object optional The project’s limits on checks its team starts. Automatic release reports have their own limit and are not counted.
    • can_start boolean optional Whether POST checks.json would start a check now (plan and both limits).
    • feature_available boolean optional Whether the project’s plan includes Sentiment Analysis (Pro, Enterprise).
    • open_checks object optional Checks setting up, waiting for answers, queued or analysing. Finishing or cancelling one frees a slot.
      • count integer optional
      • max integer optional
    • started_in_last_24_hours object optional Checks started in the last 24 hours (a rolling window), cancelled ones included.
      • count integer optional
      • max integer optional
      • next_slot_at string date-time optional nullable When the count drops below max again; null while there is room.
  • pagination object optional
    • current_page integer optional
    • total_pages integer optional
    • total_count integer optional
    • per_page integer optional
application/json
{
  "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
  }
}
Unauthorized. Authentication required or invalid token provided.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. The principal lacks the project.analytics.view scope.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Not found. The project does not exist or was removed.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "Not found"
}
Starts a check from a question about a period of community sentiment (“did the grapple fix land?”, “was 1.5 received better than 1.4?”, “how did the summer sale go?”). The check is saved at once with status 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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Request Body
application/json
  • question string required
    max length: 1000
  • kind string optional Leave it out to let the intake agent decide from the question.
    fix release campaign
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "question": "Did the grapple fix land?",
  "kind": "fix"
}
Responses
The check was started.
Headers
  • Location string URL of the check’s JSON.
Response fields
  • id string optional Obfuscated check id.
  • url string uri optional The check’s page in BetaHub.
  • title string optional nullable Short title the intake agent gives the check once it understands the question.
  • question string optional The question as asked.
  • kind string optional nullable 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.
    fix release campaign
  • status string optional 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.
    intake awaiting_input queued running completed failed cancelled
  • next_action string optional nullable What the check waits for. 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.
    wait answer confirm_or_revise
  • origin string optional automatic: a release report BetaHub started on its own, 7 days after a release.
    user automatic
  • verdict string optional nullable The answer in one word, once completed. Fix checks: 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.
  • verdict_label string optional nullable The verdict as the page shows it.
  • created_at string date-time optional
  • started_at string date-time optional nullable
  • completed_at string date-time optional nullable When the check finished, failed or was cancelled.
  • pending_questions object optional nullable Present while next_action is answer.
    • intro string optional nullable
    • questions array[object] optional
      • id string optional Key to use in answers.
      • text string optional
      • type string optional 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.
        text date single_choice multi_choice release
      • why string optional nullable Why the agent asks.
      • options array[string] optional
      • suggested_answer string optional nullable What the agent found in the project’s data, if anything.
  • plan object optional nullable What the analysis will look at, once the agent has proposed it. Always has 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).
  • progress array[object] optional nullable The analysis steps in order, while queued or running.
    • name string optional
    • label string optional
    • status string optional
      pending running completed failed
  • result object optional nullable The report, once completed (not when declined). Its shape depends on the kind and mirrors the report page. Every kind has 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.
  • declined_reason string optional nullable Why the agent did not run the check (community messages cannot answer the question).
  • error string optional nullable Present when status is failed.
  • transcript array[object] optional The conversation with the intake agent, oldest first: question, questions, answers, plan, revision, confirmed and declined entries, each with role (user or agent), type and at.
application/json
{
  "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": [
    {}
  ]
}
Unauthorized. Authentication required or invalid token provided.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. The principal lacks the 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).
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "This project's plan does not include Sentiment Analysis."
}
Not found. The project does not exist or was removed.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "Not found"
}
The question is missing or longer than 1000 characters, or kind is not one of the kinds.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "kind must be one of fix, release, campaign, or left out."
}
A limit is reached. When the 24-hour limit is the reason, Retry-After gives the seconds until the next slot; an open-check slot frees when a check finishes or is cancelled.
Headers
  • Retry-After integer
Response fields
  • error string optional Stable code telling this limit from the request rate limits, which also answer 429.
    sentiment_check_limit
  • message string optional What to tell the user.
  • limits object optional The project’s limits on checks its team starts. Automatic release reports have their own limit and are not counted.
    • can_start boolean optional Whether POST checks.json would start a check now (plan and both limits).
    • feature_available boolean optional Whether the project’s plan includes Sentiment Analysis (Pro, Enterprise).
    • open_checks object optional Checks setting up, waiting for answers, queued or analysing. Finishing or cancelling one frees a slot.
      • count integer optional
      • max integer optional
    • started_in_last_24_hours object optional Checks started in the last 24 hours (a rolling window), cancelled ones included.
      • count integer optional
      • max integer optional
      • next_slot_at string date-time optional nullable When the count drops below max again; null while there is room.
application/json
{
  "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"
    }
  }
}
Returns the check with what it waits for (next_action): the agent’s questions, the proposed plan, the analysis progress, and once completed the verdict and the full result.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
check_id required string Obfuscated check id (chk-…), as returned in id.
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://app.betahub.io/projects/123/sentiments/checks/123.json"
Ruby
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
Python
import requests

response = requests.get(
    "https://app.betahub.io/projects/123/sentiments/checks/123.json",
    headers={"Authorization": "Bearer YOUR_API_TOKEN"}
)
print(response.json())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • id string optional Obfuscated check id.
  • url string uri optional The check’s page in BetaHub.
  • title string optional nullable Short title the intake agent gives the check once it understands the question.
  • question string optional The question as asked.
  • kind string optional nullable 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.
    fix release campaign
  • status string optional 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.
    intake awaiting_input queued running completed failed cancelled
  • next_action string optional nullable What the check waits for. 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.
    wait answer confirm_or_revise
  • origin string optional automatic: a release report BetaHub started on its own, 7 days after a release.
    user automatic
  • verdict string optional nullable The answer in one word, once completed. Fix checks: 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.
  • verdict_label string optional nullable The verdict as the page shows it.
  • created_at string date-time optional
  • started_at string date-time optional nullable
  • completed_at string date-time optional nullable When the check finished, failed or was cancelled.
  • pending_questions object optional nullable Present while next_action is answer.
    • intro string optional nullable
    • questions array[object] optional
      • id string optional Key to use in answers.
      • text string optional
      • type string optional 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.
        text date single_choice multi_choice release
      • why string optional nullable Why the agent asks.
      • options array[string] optional
      • suggested_answer string optional nullable What the agent found in the project’s data, if anything.
  • plan object optional nullable What the analysis will look at, once the agent has proposed it. Always has 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).
  • progress array[object] optional nullable The analysis steps in order, while queued or running.
    • name string optional
    • label string optional
    • status string optional
      pending running completed failed
  • result object optional nullable The report, once completed (not when declined). Its shape depends on the kind and mirrors the report page. Every kind has 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.
  • declined_reason string optional nullable Why the agent did not run the check (community messages cannot answer the question).
  • error string optional nullable Present when status is failed.
  • transcript array[object] optional The conversation with the intake agent, oldest first: question, questions, answers, plan, revision, confirmed and declined entries, each with role (user or agent), type and at.
application/json
{
  "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": [
    {}
  ]
}
Unauthorized. Authentication required or invalid token provided.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. The principal lacks the project.analytics.view scope.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Not found. The project does not exist, or the check is not one of its checks.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "Not found"
}
Answers the questions in pending_questions (while next_action is answer). Questions left out count as “Not sure”. The agent then continues: the check returns to intake.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
check_id required string Obfuscated check id (chk-…), as returned in id.
Request Body
application/json
  • answers object optional Keyed by question id. A string, or a list of strings for multi_choice; each at most 500 characters.
    • «key» object optional
  • note string optional Anything else the agent should know.
    max length: 1000
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "answers": {
    "fixed_on": "2026-09-18",
    "platform": [
      "PC",
      "PS5"
    ]
  },
  "note": "string"
}
Responses
The check after the action.
Response fields
  • id string optional Obfuscated check id.
  • url string uri optional The check’s page in BetaHub.
  • title string optional nullable Short title the intake agent gives the check once it understands the question.
  • question string optional The question as asked.
  • kind string optional nullable 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.
    fix release campaign
  • status string optional 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.
    intake awaiting_input queued running completed failed cancelled
  • next_action string optional nullable What the check waits for. 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.
    wait answer confirm_or_revise
  • origin string optional automatic: a release report BetaHub started on its own, 7 days after a release.
    user automatic
  • verdict string optional nullable The answer in one word, once completed. Fix checks: 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.
  • verdict_label string optional nullable The verdict as the page shows it.
  • created_at string date-time optional
  • started_at string date-time optional nullable
  • completed_at string date-time optional nullable When the check finished, failed or was cancelled.
  • pending_questions object optional nullable Present while next_action is answer.
    • intro string optional nullable
    • questions array[object] optional
      • id string optional Key to use in answers.
      • text string optional
      • type string optional 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.
        text date single_choice multi_choice release
      • why string optional nullable Why the agent asks.
      • options array[string] optional
      • suggested_answer string optional nullable What the agent found in the project’s data, if anything.
  • plan object optional nullable What the analysis will look at, once the agent has proposed it. Always has 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).
  • progress array[object] optional nullable The analysis steps in order, while queued or running.
    • name string optional
    • label string optional
    • status string optional
      pending running completed failed
  • result object optional nullable The report, once completed (not when declined). Its shape depends on the kind and mirrors the report page. Every kind has 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.
  • declined_reason string optional nullable Why the agent did not run the check (community messages cannot answer the question).
  • error string optional nullable Present when status is failed.
  • transcript array[object] optional The conversation with the intake agent, oldest first: question, questions, answers, plan, revision, confirmed and declined entries, each with role (user or agent), type and at.
application/json
{
  "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": [
    {}
  ]
}
Unauthorized. Authentication required or invalid token provided.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. The principal lacks the 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).
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "This project's plan does not include Sentiment Analysis."
}
Not found. The project does not exist, or the check is not one of its checks.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "Not found"
}
The check is not waiting for answers.
Response fields
  • error string optional Human-readable reason. English, not a stable contract.
  • status string optional The check’s current status.
  • next_action string optional nullable The check’s current next_action.
    wait answer confirm_or_revise
application/json
{
  "error": "This check is not waiting for answers.",
  "status": "awaiting_input",
  "next_action": "confirm_or_revise"
}
An answer is keyed by an id the check did not ask, is not text, or is too long.
Response fields
  • error string optional Human-readable reason. English, not a stable contract.
  • status string optional The check’s current status.
  • next_action string optional nullable The check’s current next_action.
    wait answer confirm_or_revise
application/json
{
  "error": "Unknown question ids: date. This check asks: fixed_on, platform.",
  "status": "awaiting_input",
  "next_action": "answer"
}
Confirms the proposed plan (while next_action is confirm_or_revise) and queues the analysis. It usually takes a few minutes.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
check_id required string Obfuscated check id (chk-…), as returned in id.
cURL
curl \
  -X POST \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://app.betahub.io/projects/123/sentiments/checks/123/confirm.json"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
The check after the action.
Response fields
  • id string optional Obfuscated check id.
  • url string uri optional The check’s page in BetaHub.
  • title string optional nullable Short title the intake agent gives the check once it understands the question.
  • question string optional The question as asked.
  • kind string optional nullable 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.
    fix release campaign
  • status string optional 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.
    intake awaiting_input queued running completed failed cancelled
  • next_action string optional nullable What the check waits for. 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.
    wait answer confirm_or_revise
  • origin string optional automatic: a release report BetaHub started on its own, 7 days after a release.
    user automatic
  • verdict string optional nullable The answer in one word, once completed. Fix checks: 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.
  • verdict_label string optional nullable The verdict as the page shows it.
  • created_at string date-time optional
  • started_at string date-time optional nullable
  • completed_at string date-time optional nullable When the check finished, failed or was cancelled.
  • pending_questions object optional nullable Present while next_action is answer.
    • intro string optional nullable
    • questions array[object] optional
      • id string optional Key to use in answers.
      • text string optional
      • type string optional 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.
        text date single_choice multi_choice release
      • why string optional nullable Why the agent asks.
      • options array[string] optional
      • suggested_answer string optional nullable What the agent found in the project’s data, if anything.
  • plan object optional nullable What the analysis will look at, once the agent has proposed it. Always has 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).
  • progress array[object] optional nullable The analysis steps in order, while queued or running.
    • name string optional
    • label string optional
    • status string optional
      pending running completed failed
  • result object optional nullable The report, once completed (not when declined). Its shape depends on the kind and mirrors the report page. Every kind has 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.
  • declined_reason string optional nullable Why the agent did not run the check (community messages cannot answer the question).
  • error string optional nullable Present when status is failed.
  • transcript array[object] optional The conversation with the intake agent, oldest first: question, questions, answers, plan, revision, confirmed and declined entries, each with role (user or agent), type and at.
application/json
{
  "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": [
    {}
  ]
}
Unauthorized. Authentication required or invalid token provided.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. The principal lacks the 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).
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "This project's plan does not include Sentiment Analysis."
}
Not found. The project does not exist, or the check is not one of its checks.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "Not found"
}
The check has no plan waiting for confirmation.
Response fields
  • error string optional Human-readable reason. English, not a stable contract.
  • status string optional The check’s current status.
  • next_action string optional nullable The check’s current next_action.
    wait answer confirm_or_revise
application/json
{
  "error": "There is no plan to confirm.",
  "status": "awaiting_input",
  "next_action": "answer"
}
Sends the proposed 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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
check_id required string Obfuscated check id (chk-…), as returned in id.
Request Body
application/json
  • text string required
    max length: 1000
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "text": "The fix shipped on Sep 20, not Sep 18."
}
Responses
The check after the action.
Response fields
  • id string optional Obfuscated check id.
  • url string uri optional The check’s page in BetaHub.
  • title string optional nullable Short title the intake agent gives the check once it understands the question.
  • question string optional The question as asked.
  • kind string optional nullable 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.
    fix release campaign
  • status string optional 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.
    intake awaiting_input queued running completed failed cancelled
  • next_action string optional nullable What the check waits for. 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.
    wait answer confirm_or_revise
  • origin string optional automatic: a release report BetaHub started on its own, 7 days after a release.
    user automatic
  • verdict string optional nullable The answer in one word, once completed. Fix checks: 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.
  • verdict_label string optional nullable The verdict as the page shows it.
  • created_at string date-time optional
  • started_at string date-time optional nullable
  • completed_at string date-time optional nullable When the check finished, failed or was cancelled.
  • pending_questions object optional nullable Present while next_action is answer.
    • intro string optional nullable
    • questions array[object] optional
      • id string optional Key to use in answers.
      • text string optional
      • type string optional 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.
        text date single_choice multi_choice release
      • why string optional nullable Why the agent asks.
      • options array[string] optional
      • suggested_answer string optional nullable What the agent found in the project’s data, if anything.
  • plan object optional nullable What the analysis will look at, once the agent has proposed it. Always has 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).
  • progress array[object] optional nullable The analysis steps in order, while queued or running.
    • name string optional
    • label string optional
    • status string optional
      pending running completed failed
  • result object optional nullable The report, once completed (not when declined). Its shape depends on the kind and mirrors the report page. Every kind has 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.
  • declined_reason string optional nullable Why the agent did not run the check (community messages cannot answer the question).
  • error string optional nullable Present when status is failed.
  • transcript array[object] optional The conversation with the intake agent, oldest first: question, questions, answers, plan, revision, confirmed and declined entries, each with role (user or agent), type and at.
application/json
{
  "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": [
    {}
  ]
}
Unauthorized. Authentication required or invalid token provided.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. The principal lacks the 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).
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "This project's plan does not include Sentiment Analysis."
}
Not found. The project does not exist, or the check is not one of its checks.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "Not found"
}
The check has no plan waiting for confirmation, or its plan was already changed 10 times (run it, or cancel the check).
Response fields
  • error string optional Human-readable reason. English, not a stable contract.
  • status string optional The check’s current status.
  • next_action string optional nullable The check’s current next_action.
    wait answer confirm_or_revise
application/json
{
  "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.
Response fields
  • error string optional Human-readable reason. English, not a stable contract.
  • status string optional The check’s current status.
  • next_action string optional nullable The check’s current next_action.
    wait answer confirm_or_revise
application/json
{
  "error": "string",
  "status": "awaiting_input",
  "next_action": "wait"
}
Cancels a check that has not finished, which frees an open-check slot (it still counts toward the 24-hour limit). A finished, failed or cancelled check is returned unchanged.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
check_id required string Obfuscated check id (chk-…), as returned in id.
cURL
curl \
  -X POST \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://app.betahub.io/projects/123/sentiments/checks/123/cancel.json"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
The check after the action.
Response fields
  • id string optional Obfuscated check id.
  • url string uri optional The check’s page in BetaHub.
  • title string optional nullable Short title the intake agent gives the check once it understands the question.
  • question string optional The question as asked.
  • kind string optional nullable 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.
    fix release campaign
  • status string optional 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.
    intake awaiting_input queued running completed failed cancelled
  • next_action string optional nullable What the check waits for. 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.
    wait answer confirm_or_revise
  • origin string optional automatic: a release report BetaHub started on its own, 7 days after a release.
    user automatic
  • verdict string optional nullable The answer in one word, once completed. Fix checks: 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.
  • verdict_label string optional nullable The verdict as the page shows it.
  • created_at string date-time optional
  • started_at string date-time optional nullable
  • completed_at string date-time optional nullable When the check finished, failed or was cancelled.
  • pending_questions object optional nullable Present while next_action is answer.
    • intro string optional nullable
    • questions array[object] optional
      • id string optional Key to use in answers.
      • text string optional
      • type string optional 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.
        text date single_choice multi_choice release
      • why string optional nullable Why the agent asks.
      • options array[string] optional
      • suggested_answer string optional nullable What the agent found in the project’s data, if anything.
  • plan object optional nullable What the analysis will look at, once the agent has proposed it. Always has 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).
  • progress array[object] optional nullable The analysis steps in order, while queued or running.
    • name string optional
    • label string optional
    • status string optional
      pending running completed failed
  • result object optional nullable The report, once completed (not when declined). Its shape depends on the kind and mirrors the report page. Every kind has 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.
  • declined_reason string optional nullable Why the agent did not run the check (community messages cannot answer the question).
  • error string optional nullable Present when status is failed.
  • transcript array[object] optional The conversation with the intake agent, oldest first: question, questions, answers, plan, revision, confirmed and declined entries, each with role (user or agent), type and at.
application/json
{
  "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": [
    {}
  ]
}
Unauthorized. Authentication required or invalid token provided.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. The principal lacks the 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).
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "This project's plan does not include Sentiment Analysis."
}
Not found. The project does not exist, or the check is not one of its checks.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "Not found"
}

Steam Discussions

Read the Steam discussions scanner (connected source, activity, scanned threads) for a project

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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Query Parameters
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.
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • source object optional
    • name string optional nullable Game name from its Steam Community Hub.
    • app_id string optional Steam app id.
    • hub_url string optional The game’s Steam discussions URL.
    • status string optional disconnected means an admin stopped the scanner; already imported data is kept.
      idle crawling blocked failed disconnected
    • last_crawl_at string date-time optional nullable
    • suggestion_mentions_threshold integer optional Threads asking for the same thing before a suggestion is created.
    • store_post_text boolean optional Whether post text is kept. When false, the sentiment messages endpoint lists none of this source’s posts.
  • range object optional The window activity covers.
    • key string optional
      d1 d7 d30 custom
    • from string date-time optional nullable
    • to string date-time optional
  • activity object optional Threads posted in the range, and what the scanner did with them. The outcome counts need not add up to threads (threads still pending, unlinked by a person, or counted as a mention of a waiting suggestion are not listed).
    • threads integer optional All threads posted in the range.
    • bugs integer optional Threads that created a new bug.
    • linked integer optional Threads added to an existing bug or suggestion.
    • suggestions integer optional Threads that created a new suggestion.
    • waiting integer optional Suggestions waiting for more mentions (first thread of each).
    • none integer optional Threads that produced nothing.
  • waiting_suggestions array[object] optional The 8 newest suggestions still waiting for more mentions, any age.
    • thread_id integer optional
    • title string optional The AI-generated title when present, otherwise the thread title.
    • url string optional Steam thread URL.
    • mentions integer optional Threads asking for it so far, this one included.
  • forums array[object] optional Every scanned sub-forum, by name.
    • id integer optional Forum id; forum_id on the threads endpoint.
    • name string optional
    • url string optional
    • channel_value string optional cf-<id>, the sentiment channel value for channel_id[].
    • last_24h object optional Threads posted in a fixed window, and how many of them are tied to a bug or suggestion (created or linked).
      • threads integer optional
      • bugs integer optional
      • suggestions integer optional
    • last_7d object optional Threads posted in a fixed window, and how many of them are tied to a bug or suggestion (created or linked).
      • threads integer optional
      • bugs integer optional
      • suggestions integer optional
    • newest_posted_at string date-time optional nullable
  • current_crawl object optional nullable The crawl in progress; null when none is running.
    • id integer optional
    • status string optional
      running finished blocked failed
    • started_at string date-time optional
    • finished_at string date-time optional nullable
    • pages_fetched integer optional
    • stats object optional Outcome counts so far. Keys appear only once counted, so a missing key means 0. Keys: threads_seen, new_threads, bugs_created, linked, suggestions_created, waiting, neither, skipped, errors, posts_ingested, deferred.
      • «key» integer optional
    • error string optional nullable Why the crawl stopped, when it did not finish normally.
  • crawl_history array[object] optional The 10 most recent crawls, newest first, including a running one.
    • id integer optional
    • status string optional
      running finished blocked failed
    • started_at string date-time optional
    • finished_at string date-time optional nullable
    • pages_fetched integer optional
    • stats object optional Outcome counts so far. Keys appear only once counted, so a missing key means 0. Keys: threads_seen, new_threads, bugs_created, linked, suggestions_created, waiting, neither, skipped, errors, posts_ingested, deferred.
      • «key» integer optional
    • error string optional nullable Why the crawl stopped, when it did not finish normally.
application/json
{
  "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
    }
  ]
}
Unauthorized. The request is not authenticated.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. The principal lacks the project.analytics.view scope, or the project’s plan does not include the Steam discussions scanner.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Not found. No Steam source is connected to this project.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Query Parameters
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
Header Parameters
Name Type Description
BetaHub-Project-ID required string BetaHub project ID, the same as the project_id
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
Successful response
Response fields
  • threads array[object] optional
    • id integer optional
    • external_id string optional Steam thread id.
    • title string optional Title as posted on Steam.
    • generated_title string optional nullable AI-generated title, when the thread was classified.
    • url string optional Steam thread URL.
    • forum object optional
      • id integer optional
      • name string optional
    • posted_at string date-time optional nullable
    • last_activity_at string date-time optional nullable
    • reply_count integer optional
    • pinned boolean optional
    • classification string optional
      unclassified bug suggestion neither skipped
    • classification_reason string optional nullable
    • confidence number optional nullable Classifier confidence.
    • outcome string optional 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.
      pending created linked waiting none unlinked
    • unlinked_at string date-time optional nullable
    • record object optional nullable The bug or suggestion the thread created or joined; null when none.
      • type string optional
        issue feature_request
      • id integer optional Database id.
      • scoped_id integer optional Per-project number. Present only when type is issue.
      • title string optional
      • url string optional Dashboard URL of the bug or suggestion.
  • pagination object optional
    • current_page integer optional
    • total_pages integer optional
    • total_count integer optional
    • per_page integer optional
application/json
{
  "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
  }
}
Unauthorized. The request is not authenticated.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Forbidden. The principal lacks the project.analytics.view scope, or the project’s plan does not include the Steam discussions scanner.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Not found. No Steam source is connected to this project.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "Steam discussions are not connected to this project."
}

Profile

View current user profile and roles

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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

This endpoint has no query parameters or request body.
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://app.betahub.io/profiles/me.json"
Ruby
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
Python
import requests

response = requests.get(
    "https://app.betahub.io/profiles/me.json",
    headers={"Authorization": "Bearer YOUR_API_TOKEN"}
)
print(response.json())
JavaScript
const response = await fetch("https://app.betahub.io/profiles/me.json", {
  headers: {
    "Authorization": "Bearer YOUR_API_TOKEN"
  }
});
const data = await response.json();
Java
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());
Responses
Successful response
Response fields
  • name string optional User display name
  • roles array[object] optional List of project roles assigned to the user
    • project object required

      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.

      • id integer int64 required Internal numeric database identifier of the project. Note this is the raw integer id, NOT the obfuscated pr-... project id used elsewhere in the API and UI.
      • name string required Project display name.
      • description string optional nullable Project description. May be null.
      • created_at string date-time optional When the project was created.
      • updated_at string date-time optional When the project was last updated.
    • role string required

      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.

application/json
{
  "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"
    }
  ]
}
Unauthorized. Authentication is required.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}

Support Knowledge

Ask questions and get AI-generated answers from the project’s knowledge base

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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://app.betahub.io/projects/123/support_knowledge_v2_documents.json"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Responses
The documents.
Response fields
  • documents array[object] optional
    • id integer optional
    • title string optional
    • source_type string optional
      static_file web_page support_ticket discord_answer issue_solution
    • source_url string optional nullable
    • characters integer optional The length of the document’s text.
    • created_at string date-time optional
    • updated_at string date-time optional
  • count integer optional Documents counted toward the plan’s limit.
  • limit integer optional
  • url string uri optional
application/json
{
  "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"
}
The user’s role may not manage Support Knowledge.
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Request Body
application/json
  • support_knowledge_v2_document object optional Text. Leave out source_type.
    • title string optional
    • content string optional
  • source_type string optional url to fetch a page.
    url
  • import_url string uri optional
  • import_title string optional
multipart/form-data
  • source_type string required
    file
  • file string binary required
  • title string optional Left out, the file’s name.
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "support_knowledge_v2_document": {
    "title": "string",
    "content": "string"
  },
  "source_type": "url",
  "import_url": "https://example.com",
  "import_title": "string"
}
Responses
Added (created true).
Response fields
  • id integer optional
  • title string optional
  • source_type string optional
    static_file web_page support_ticket discord_answer issue_solution
  • source_url string optional nullable
  • characters integer optional The length of the document’s text.
  • created_at string date-time optional
  • updated_at string date-time optional
  • created boolean optional True when the document is new, false when an existing one was updated.
application/json
{
  "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
}
Updated (created false).
Response fields
  • id integer optional
  • title string optional
  • source_type string optional
    static_file web_page support_ticket discord_answer issue_solution
  • source_url string optional nullable
  • characters integer optional The length of the document’s text.
  • created_at string date-time optional
  • updated_at string date-time optional
  • created boolean optional True when the document is new, false when an existing one was updated.
application/json
{
  "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
}
As for listing, or the agent lacks “Read and work” (consent).
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "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.
Response fields
  • error string optional
  • errors array[string] optional
  • url string optional nullable
  • upgrade_url string optional nullable
  • message string optional
application/json
{
  "error": "string",
  "errors": [
    "string"
  ],
  "url": "string",
  "upgrade_url": "string",
  "message": "string"
}
The coding agent reached its hourly limit on changes.
Response fields
  • error string required
    agent_write_cap
  • message string required
  • retry_after integer required Seconds until the next clock hour.
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://app.betahub.io/projects/123/support_knowledge_settings.json"
Ruby
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
Python
import requests

response = requests.get(
    "https://app.betahub.io/projects/123/support_knowledge_settings.json",
    headers={"Authorization": "Bearer YOUR_API_TOKEN"}
)
print(response.json())
JavaScript
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();
Java
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());
Responses
The settings.
Response fields
  • support_knowledge_personality string optional nullable Replaces the answer length and tone when set.
    max length: 500
  • support_knowledge_response_length string optional
    concise standard detailed
  • support_knowledge_response_tone string optional
    formal friendly casual
  • support_knowledge_footer_text string optional nullable Added as written to the bot’s answers.
  • support_knowledge_footer_on_answer boolean optional
  • support_knowledge_footer_on_no_answer boolean optional
  • support_knowledge_include_source_links boolean optional
  • support_knowledge_detect_bug_reports boolean optional
  • support_knowledge_detect_suggestions boolean optional
  • support_time_saved_per_interaction_minutes integer optional
  • support_knowledge_engine string optional Changed only in BetaHub.
    v1 v2
application/json
{
  "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"
}
The user’s role may not manage Support Knowledge.
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "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 required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
project_id required string
Request Body
application/json
  • project object required
    • support_knowledge_personality string optional nullable Replaces the answer length and tone when set.
      max length: 500
    • support_knowledge_response_length string optional
      concise standard detailed
    • support_knowledge_response_tone string optional
      formal friendly casual
    • support_knowledge_footer_text string optional nullable Added as written to the bot’s answers.
    • support_knowledge_footer_on_answer boolean optional
    • support_knowledge_footer_on_no_answer boolean optional
    • support_knowledge_include_source_links boolean optional
    • support_knowledge_detect_bug_reports boolean optional
    • support_knowledge_detect_suggestions boolean optional
    • support_time_saved_per_interaction_minutes integer optional
    • support_knowledge_engine string optional Changed only in BetaHub.
      v1 v2
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
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"
  }
}
Responses
The settings as saved.
Response fields
  • support_knowledge_personality string optional nullable Replaces the answer length and tone when set.
    max length: 500
  • support_knowledge_response_length string optional
    concise standard detailed
  • support_knowledge_response_tone string optional
    formal friendly casual
  • support_knowledge_footer_text string optional nullable Added as written to the bot’s answers.
  • support_knowledge_footer_on_answer boolean optional
  • support_knowledge_footer_on_no_answer boolean optional
  • support_knowledge_include_source_links boolean optional
  • support_knowledge_detect_bug_reports boolean optional
  • support_knowledge_detect_suggestions boolean optional
  • support_time_saved_per_interaction_minutes integer optional
  • support_knowledge_engine string optional Changed only in BetaHub.
    v1 v2
application/json
{
  "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"
}
As for reading, or the agent lacks “Read and work” (consent).
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "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).
Response fields
  • error string optional
  • errors array[string] optional
application/json
{
  "error": "string",
  "errors": [
    "string"
  ]
}
The coding agent reached its hourly limit on changes.
Response fields
  • error string required
    agent_write_cap
  • message string required
  • retry_after integer required Seconds until the next clock hour.
application/json
{
  "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).

Path Parameters
Name Type Description
project_id required string Project ID (e.g., pr-1234567)
Request Body
application/json
  • query string required The question to ask the knowledge base.
  • user object optional Optional user identification for interaction tracking. When provided, an interaction record is created for analytics and knowledge gap detection.
    • discord_id string optional Discord user ID.
    • username string optional Display name of the user.
  • response_length string optional Override the project’s default response length. Controls how verbose the AI response is.
    concise standard detailed
  • response_tone string optional Override the project’s default response tone. Controls the formality of the AI response.
    formal friendly casual
  • personality string optional Free-text style instructions for the AI (max 500 characters). When provided, this takes precedence over response_length and response_tone.
    max length: 500
  • include_source_links boolean optional Override the project’s default source links setting. When true, the AI includes links to source documents in its response. Only applies to web page documents that have URLs.
  • strict_classification boolean optional

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

    Default: false
cURL
curl \
  -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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
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
}
Responses
Successful response with AI-generated answer
Response fields
  • query string optional The original query.
  • answer string optional nullable The AI-generated answer, or null if no answer was found.
  • has_answer boolean optional Whether the knowledge base had relevant information to answer the query.
  • classification string optional nullable The auto-detected classification of the query (V1 engine only). Possible values: support_issue, gameplay_question, bug_report, neither.
  • classification_reasoning string optional nullable Reasoning behind the classification decision (V1 engine only).
  • sources array[object] optional Knowledge base sources used to generate the answer.
    • id integer optional
    • name string optional
    • type string optional nullable Source type (V1 engine only, e.g., technical, gameplay).
    • url string optional nullable
  • support_knowledge_interaction_id string optional nullable Obfuscated ID of the interaction record created for this query. Only present when user data was provided and an answer was found.
  • footer string optional nullable Optional footer text configured by the project.
  • skip_reason string optional nullable Reason why the query was skipped without searching the knowledge base. Possible values: not_support_or_gameplay, no_technical_sources, no_gameplay_sources, no_v2_documents.
  • canned_response_id integer optional nullable ID of the matched canned response, if any.
  • canned_response_match_type string optional nullable How the canned response was matched. Possible values: question_similarity, rule_based.
  • tool_calls array[object] optional nullable Agent decision flow (V2 engine only). Shows the search, grep, and read operations the AI agent performed to find the answer.
    • name string optional
    • input object optional
    • iteration integer optional The agent loop iteration number during which this tool call was made.
  • limit_reached boolean optional Present and true when the organization has reached its monthly support knowledge request limit.
  • limit integer optional nullable The organization’s monthly request limit. Present when limit_reached is true.
  • requests_remaining integer optional nullable Number of requests remaining (0 when limit reached). Present when limit_reached is true.
  • reset_at string date-time optional nullable When the request counter resets. Present when limit_reached is true.
application/json
{
  "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"
}
The auth token lacks the Can search knowledge base permission, belongs to a different project than the one in the URL, or has exceeded its daily search limit.
Response fields
  • error string optional
application/json
{
  "error": "Permission denied or rate limit exceeded"
}
Validation error (invalid style parameters)
Response fields
  • error string optional
application/json
{
  "error": "Invalid response_length. Valid values: concise, standard, detailed"
}

Comments

View comment details
Returns detailed information about a specific comment, including the comment body, author, and the parent entity it belongs to.
Authorization required

Authorization header for API access. Supports multiple authentication methods:

  1. Anonymous access: FormUser anonymous - for public operations
  2. Token-based access: FormUser tkn-{token} - for authenticated operations with legacy tokens
  3. Token with JWT: FormUser tkn-{token},{jwt_token} - user identification with JWT token (legacy)
  4. Personal Access Tokens: Bearer YOUR_TOKEN_HERE - recommended for API integrations

Validation 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.
  • Invalid identifiers do not cause HTTP errors; they fall back to anonymous authentication for graceful degradation.

Personal Access Tokens

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

Path Parameters
Name Type Description
id required integer The comment ID
cURL
curl \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://app.betahub.io/comments/123.json"
Ruby
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
Python
import requests

response = requests.get(
    "https://app.betahub.io/comments/123.json",
    headers={"Authorization": "Bearer YOUR_API_TOKEN"}
)
print(response.json())
JavaScript
const response = await fetch("https://app.betahub.io/comments/123.json", {
  headers: {
    "Authorization": "Bearer YOUR_API_TOKEN"
  }
});
const data = await response.json();
Java
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());
Responses
Successful response
Response fields
  • id integer optional Comment ID
  • body string optional Comment body text
  • created_at string date-time optional
  • updated_at string date-time optional
  • solution boolean optional Whether this comment is marked as a solution
  • private_comment boolean optional Whether this is a private (internal) comment
  • user object optional
    • id integer optional
    • name string optional
    • discord_username string optional Present only if the user has a Discord username
  • commentable object optional The parent entity this comment belongs to
    • id integer optional
    • type string optional Polymorphic type (e.g. “Issue”, “FeatureRequest”, “Ticket”)
application/json
{
  "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"
  }
}
Forbidden. User does not have permission to view this comment.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}
Comment not found.
Response fields
  • error string optional Human-readable error message. English, not localized, and not a stable contract.
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "error": "string",
  "status": {}
}

Submission Tokens

Generate single-use JWT tokens for tamper-proof submissions

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.

Authorization required
Personal Access Token with developer access to the project. Format: Bearer pat-YOUR_TOKEN
Path Parameters
Name Type Description
project_id required string
Request Body
application/json
  • email string email optional Player’s email address to embed in the token. When the token is used in a submission, this email is attached to the report as the reporter’s contact.
  • custom object optional

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

    • «key» string optional
  • expires_in integer optional Token lifetime in seconds. Default: 86400 (24 hours). Valid range: 1 to 2592000 (30 days). Values outside this range are reset to the 24-hour default.
    Default: 86400
cURL
curl \
  -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"
Ruby
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
Python
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())
JavaScript
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();
Java
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());
Request Body
{
  "email": "player@example.com",
  "custom": {
    "platform": "windows",
    "build_number": "2024.3.1"
  },
  "expires_in": 86400
}
Responses
Submission token generated successfully.
Response fields
  • token string required Signed JWT token to include in submission requests.
  • expires_at string date-time required ISO 8601 timestamp when the token expires.
application/json
{
  "token": "eyJhbGciOiJIUzI1NiJ9.eyJwcm9qZWN0X2lkIjoxLCJqdGkiOiI...",
  "expires_at": "2026-03-27T16:00:00Z"
}
Not authenticated. Provide a valid Personal Access Token in the Authorization: Bearer header.
Not authenticated. Provide a valid Personal Access Token in the `Authorization: Bearer` header.
Not authorized. The PAT user must have developer or admin access to the project.
Not authorized. The PAT user must have developer or admin access to the project.
Project not found.
Project not found.

Authentication

Introspect and verify authentication tokens

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:

  • Personal Access Token — Bearer pat-... (or the raw pat-... value)
  • Project Auth Token — Bearer tkn-... (or the raw tkn-... value)
  • JWT — a three-part dotted token. The JWT branch recognizes ONLY JWTs that carry a 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.

Authorization required
The token to verify. Accepts Bearer <token> or the bare token string. If absent, the token parameter is used instead.
Query Parameters
Name Type Description
token optional string The token to verify, as an alternative to the Authorization header. Ignored when the header is present.
cURL
curl \
  -X POST \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://app.betahub.io/auth/verify?token=example"
Ruby
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
Python
import requests

response = requests.post(
    "https://app.betahub.io/auth/verify?token=example",
    headers={"Authorization": "Bearer YOUR_API_TOKEN"}
)
print(response.json())
JavaScript
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();
Java
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());
Responses
The token is valid. The payload varies by token_type.
Response fields
  • valid boolean optional
  • token_type string optional
  • user object optional The user the PAT authenticates as.
    • id integer optional
    • email string optional
    • name string optional
  • token_name string optional Human-readable name of the token.
  • expires_at string date-time optional nullable Expiry timestamp, or null if the token never expires.
  • last_used_at string date-time optional nullable
  • created_at string date-time optional
  • scopes array[string] optional nullable Scope keys the token is limited to. The token can do only what both its scopes and its user allow. Null for an unrestricted token, which acts with all of its user’s permissions.
  • profile string optional Preset the token was created from, or legacy for a token not created from a preset. Whether the token is restricted is given by scopes.
    legacy setup_ephemeral ops_durable
  • project object optional The single project this token is scoped to.
    • id integer optional
    • name string optional
    • slug string optional Obfuscated project id (e.g. pr-5632787018).
  • permissions object optional Boolean permission flags carried by the token.
    • can_create_bug_report boolean optional
    • can_create_feature_request boolean optional
    • can_create_ticket boolean optional
    • can_read_release_list boolean optional
    • can_create_release boolean optional
  • rate_limits object optional Per-IP daily submission caps configured on the token.
    • bug_reports_per_day integer optional
    • feature_requests_per_day integer optional
    • tickets_per_day integer optional
  • issued_at string date-time optional nullable Token issue time (from the iat claim), or null when absent.
Examples
Personal Access Token
{
  "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"
}
Project Auth Token
{
  "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"
}
Jwt
{
  "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"
}
The token is missing, invalid, or expired.
Response fields
  • valid boolean optional
  • error string optional
Examples
Invalid
{
  "valid": false,
  "error": "Invalid or expired token"
}
Missing
{
  "valid": false,
  "error": "Token is required"
}

Device Authorization

OAuth-2.0-device-style handshake for headless clients to obtain a user-scoped JWT

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:

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

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

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

Request Body
application/json
  • request_id string uuid optional Client-generated UUID identifying this authorization request. Must be unique. Used verbatim in the authorize/poll/approve URLs.
  • entity_kind string required Required. A short machine identifier for the kind of client requesting access (e.g. game_client, launcher). Shown to the user on the approval screen.
  • entity_name string required Required. A human-readable name for the requesting client, shown to the user on the approval screen.
cURL
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"
Ruby
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
Python
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())
JavaScript
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();
Java
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 Body
{
  "request_id": "0f6c9b3e-4a1d-4b2c-9c8e-1234567890ab",
  "entity_kind": "game_client",
  "entity_name": "My Game (Steam build)"
}
Responses
Authorization request created. The client should now start polling.
Response fields
  • status string optional
application/json
{
  "status": "created"
}
The request could not be created (e.g. missing entity_kind / entity_name, or a duplicate request_id).
Response fields
  • status string optional
  • errors array[string] optional
application/json
{
  "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.
Path Parameters
Name Type Description
request_id required string The UUID supplied when the request was created.
cURL
curl \
  "https://app.betahub.io/device_auth/123/poll"
Ruby
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
Python
import requests

response = requests.get(
    "https://app.betahub.io/device_auth/123/poll"
)
print(response.json())
JavaScript
const response = await fetch("https://app.betahub.io/device_auth/123/poll");
const data = await response.json();
Java
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());
Responses
The current state of the request. pending, approved, or expired.
Response fields
  • status string optional
    pending approved expired
  • token string optional The user-scoped JWT. Present only when status is approved.
  • user_name string optional The approving user’s display name — their name, or their Discord username, falling back to their raw email address when no name/Discord name is set. It is a single value, NOT a combined “Name " string. Present only when `status` is `approved`.
Examples
Pending
{
  "status": "pending"
}
Approved
{
  "status": "approved",
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "user_name": "Jane Player"
}
Expired
{
  "status": "expired"
}
No authorization request exists for this request_id.
Response fields
  • status string optional
application/json
{
  "status": "not_found"
}

Crash Reports

Ingest Unreal Engine crash reports via path-token authentication

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

Path Parameters
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).
Request Body
application/octet-stream
cURL
curl \
  -X POST \
  "https://app.betahub.io/crashes/unreal/example"
Ruby
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
Python
import requests

response = requests.post(
    "https://app.betahub.io/crashes/unreal/example"
)
print(response.json())
JavaScript
const response = await fetch("https://app.betahub.io/crashes/unreal/example", {
  method: "POST"
});
const data = await response.json();
Java
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());
Request Body
"string"
Responses
Accepted. The crash report was stored and queued for asynchronous processing. The response body is empty.
Accepted. The crash report was stored and queued for asynchronous processing. The response body is empty.
Unauthorized. The path token is invalid, unknown, or lacks the can_report_crash permission. Empty body.
Unauthorized. The path token is invalid, unknown, or lacks the `can_report_crash` permission. Empty body.
Payload Too Large. The compressed body exceeds the 50 MB limit. Empty body.
Payload Too Large. The compressed body exceeds the 50 MB limit. Empty body.
Too Many Requests. The token’s per-IP crash-report rate limit was exceeded. Empty body.
Too Many Requests. The token's per-IP crash-report rate limit was exceeded. Empty body.
Internal Server Error. The report could not be stored for processing. Empty body.
Internal Server Error. The report could not be stored for processing. Empty body.

Coding Agents

Connect a coding agent through the user’s browser, and let it report dead ends
Markdown a coding agent follows to connect to the user’s account and set up a project: the device flow, where to keep the token, the setup endpoints, what to do when stuck. Its API URLs point at the host that serves it. Public; an agent may send its token, even an expired or revoked one.
This endpoint has no query parameters or request body.
cURL
curl \
  "https://app.betahub.io/agents/setup.md"
Ruby
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
Python
import requests

response = requests.get(
    "https://app.betahub.io/agents/setup.md"
)
print(response.json())
JavaScript
const response = await fetch("https://app.betahub.io/agents/setup.md");
const data = await response.json();
Java
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());
Responses
The instructions.
text/markdown
"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.

Request Body
application/json
  • agent_name string required Shown to the user on the consent page, labelled as given by the agent, and used as the token’s name. Name the product and the machine, e.g. “Claude Code (MacBook)”.
    max length: 100
  • intent string required 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.
    connect setup work players exposure
  • organization_id string optional With 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
curl \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
  "agent_name": "string",
  "intent": "connect",
  "organization_id": "org-1234567890"
}' \
  "https://app.betahub.io/agent_auth"
Ruby
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
Python
import requests

response = requests.post(
    "https://app.betahub.io/agent_auth",
    json={
      "agent_name": "string",
      "intent": "connect",
      "organization_id": "org-1234567890"
    }
)
print(response.json())
JavaScript
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();
Java
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());
Request Body
{
  "agent_name": "string",
  "intent": "connect",
  "organization_id": "org-1234567890"
}
Responses
Started.
Response fields
  • device_code string required Secret. Keep it to the agent; never print or log it.
  • user_code string required Eight consonants in two groups, e.g. QTHP-MDBG. The user compares it on the consent page.
  • verification_uri string uri required
  • verification_uri_complete string uri required Open this in the user’s browser.
  • expires_in integer required
  • interval integer required Seconds between polls.
application/json
{
  "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).
Response fields
  • error string optional
    unknown_intent agent_token_required already_connected unknown_organization invalid_request
  • intents array[string] optional
  • messages array[string] optional
application/json
{
  "error": "unknown_intent",
  "intents": [
    "string"
  ],
  "messages": [
    "string"
  ]
}
Poll every interval seconds until the user decides. An approved request answers once; later polls get expired_token.
Request Body
application/json
  • device_code string required
cURL
curl \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
  "device_code": "string"
}' \
  "https://app.betahub.io/agent_auth/token"
Ruby
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
Python
import requests

response = requests.post(
    "https://app.betahub.io/agent_auth/token",
    json={
      "device_code": "string"
    }
)
print(response.json())
JavaScript
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();
Java
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());
Request Body
{
  "device_code": "string"
}
Responses
Approved.
Response fields
  • access_token string optional The new pat-... token. Store it in the user-level MCP config, never in the repository.
  • token_type string required
    Bearer
  • profile string required
    agent
  • expires_at string date-time required Moves 90 days ahead on every use.
  • scopes array[string] required Every key the token holds now, setup keys included.
  • write_organizations array[object] optional Where the token’s write keys work; empty for a read-only agent.
    • id string optional
    • name string optional
  • setup object optional nullable The live setup, or null after a connect consent.
    • project object optional nullable The project picked on the consent; null when the agent creates one.
      • id string optional
      • name string optional
    • organization object optional nullable Where a new project goes; null for a new organization.
      • id string optional
      • name string optional
    • expires_at string date-time optional When the setup keys end, unless the first report through the agent’s SDK token ends them sooner.
application/json
{
  "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"
  }
}
Not (or no longer) approved.
Response fields
  • error string required 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.
    authorization_pending slow_down access_denied expired_token invalid_grant
application/json
{
  "error": "authorization_pending"
}
For something BetaHub has but neither the agent nor the docs knew how to reach, or anything that leaves the user with nothing to go on. Free text, read by the BetaHub team. Any personal access token, whatever keys it holds; at most 10 notes an hour for one user’s agents together. Tell the user what you sent.
Request Body
application/json
  • message string required Plain words: what the agent tried, what it needed, what happened. No tokens, passwords or personal data.
    max length: 5000
cURL
curl \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
  "message": "string"
}' \
  "https://app.betahub.io/agent_feedback"
Ruby
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
Python
import requests

response = requests.post(
    "https://app.betahub.io/agent_feedback",
    json={
      "message": "string"
    }
)
print(response.json())
JavaScript
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();
Java
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());
Request Body
{
  "message": "string"
}
Responses
Received.
Response fields
  • received boolean optional
  • message string optional
application/json
{
  "received": true,
  "message": "string"
}
personal_access_token_required: no token was sent.
`personal_access_token_required`: no token was sent.
invalid_feedback with messages: an empty or overlong message.
`invalid_feedback` with `messages`: an empty or overlong message.
too_many_feedbacks: the hourly cap is reached.
`too_many_feedbacks`: the hourly cap is reached.

Agent Setup

What a connected coding agent calls to set up a project during its setup consent
Each organization’s plan, the active-project limit, which modules the plan includes, and for an admin the upgrade page. Needs org.read.
This endpoint has no query parameters or request body.
cURL
curl \
  "https://app.betahub.io/organizations.json"
Ruby
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
Python
import requests

response = requests.get(
    "https://app.betahub.io/organizations.json"
)
print(response.json())
JavaScript
const response = await fetch("https://app.betahub.io/organizations.json");
const data = await response.json();
Java
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());
Responses
The organizations.
Response fields
  • organizations array[object] optional
    • id string optional Obfuscated organization ID (org-...)
    • name string optional
    • admin boolean optional Whether the token’s user administers it. Only an admin can create a project in it.
    • plan string optional
    • projects object optional
      • active integer optional
      • limit integer optional nullable Active projects the plan allows; null for no limit.
      • room boolean optional Whether one more project can be active: below the limit, or at it while an unused demo project would give up its slot.
    • modules array[object] optional
      • name string optional
      • included boolean optional Whether the plan includes the module.
      • required_plan string optional nullable The cheapest plan that includes it; null when included.
    • features array[object] optional Plan features beyond project modules.
      • name string optional integrations: issue-tracker integrations (Jira, GitHub, …). steam_discussions: the Steam discussions scanner.
        integrations steam_discussions
      • included boolean optional
      • required_plan string optional nullable The cheapest plan that includes it; null when included.
    • active_projects array[object] optional nullable For an admin of an organization without room for another active project, the projects that count toward the limit; null otherwise. Each edit_url opens the project’s Actions card, where the user deactivates it to free a slot.
      • id string optional
      • name string optional
      • edit_url string uri optional The project’s edit page at its Actions card (#project-actions), where Deactivate is.
    • upgrade_url string uri optional nullable The page where an admin starts a trial or changes plan; null for others.
application/json
{
  "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"
    }
  ]
}
An expired or revoked agent token.
Response fields
  • error string required
    token_expired token_revoked
  • message string required
  • connect object required
    • url string uri optional The start endpoint, POST /agent_auth.
    • instructions string uri optional /agents/setup.md
application/json
{
  "error": "token_expired",
  "message": "This agent token expired after going unused. Connect again.",
  "connect": {
    "url": "https://example.com",
    "instructions": "https://example.com"
  }
}
Missing org.read.
Response fields
  • error string required
    insufficient_scope
  • required_scopes array[string] required nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
application/json
{
  "error": "insufficient_scope",
  "required_scopes": [
    "org.projects.create"
  ],
  "consent": {
    "url": "https://example.com",
    "intent": "setup",
    "organization": {
      "id": "string",
      "name": "string"
    },
    "instructions": "https://example.com"
  }
}
Needs the 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.
Request Body
application/json
  • project object required
    • name string required
    • description string optional
  • organization_id string optional Optional. An agent token creates the project where the user’s consent said; naming another organization answers 422 organization_not_in_consent.
cURL
curl \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
  "project": {
    "name": "string",
    "description": "string"
  },
  "organization_id": "string"
}' \
  "https://app.betahub.io/project_bootstraps.json"
Ruby
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
Python
import requests

response = requests.post(
    "https://app.betahub.io/project_bootstraps.json",
    json={
      "project": {
        "name": "string",
        "description": "string"
      },
      "organization_id": "string"
    }
)
print(response.json())
JavaScript
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();
Java
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());
Request Body
{
  "project": {
    "name": "string",
    "description": "string"
  },
  "organization_id": "string"
}
Responses
Created.
Response fields
  • project object optional
    • id string optional
    • name string optional
    • url string uri optional
  • organization object optional
    • id string optional
    • name string optional
  • deactivated_demos array[object] optional The demo projects BetaHub deactivated so that this one could be active; empty while the plan had a free slot. Only a demo nobody uses gives up its slot.
    • id string optional
    • name string optional
    • url string uri optional
application/json
{
  "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.
`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.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
Response fields
  • error string optional
    active_projects_limit_reached
  • upgrade_url string uri optional nullable
  • active_projects array[object] optional
    • id string optional
    • name string optional
    • edit_url string uri optional The project’s edit page at its Actions card (#project-actions), where Deactivate is.
  • help_url string uri optional
  • organization object optional nullable
    • id string optional
    • name string optional
  • messages array[string] optional
application/json
{
  "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"
  ]
}
Additive: the listed modules join those already on. A module outside the plan is refused, never switched on; one already on is left as it is, so the project’s modules can be sent back whole. Needs the project.features.enable_free setup key bound to this project. Personal Access Tokens only.
Path Parameters
Name Type Description
project_id required string
Request Body
application/json
  • modules array[string] required
cURL
curl \
  -X PATCH \
  -H "Content-Type: application/json" \
  -d '{
  "modules": [
    "bugs",
    "suggestions"
  ]
}' \
  "https://app.betahub.io/projects/123/free_features"
Ruby
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
Python
import requests

response = requests.patch(
    "https://app.betahub.io/projects/123/free_features",
    json={
      "modules": [
        "bugs",
        "suggestions"
      ]
    }
)
print(response.json())
JavaScript
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();
Java
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());
Request Body
{
  "modules": [
    "bugs",
    "suggestions"
  ]
}
Responses
The project’s modules now.
Response fields
  • modules array[string] optional
application/json
{
  "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.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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).
`unknown_module` (with `modules`), `no_organization`, or `module_not_included` (with `modules`: name and `required_plan`, and `upgrade_url` for an admin).
A project auth token that can only submit reports, so it belongs in the game’s config. One per agent token and project: a repeat call returns the same token with 200. The first report through it ends the agent’s setup. Needs the project.api_tokens.create setup key bound to this project.
Path Parameters
Name Type Description
project_id required string
cURL
curl \
  -X POST \
  "https://app.betahub.io/projects/123/sdk_token"
Ruby
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
Python
import requests

response = requests.post(
    "https://app.betahub.io/projects/123/sdk_token"
)
print(response.json())
JavaScript
const response = await fetch("https://app.betahub.io/projects/123/sdk_token", {
  method: "POST"
});
const data = await response.json();
Java
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());
Responses
Created.
Response fields
  • token string optional tkn-...
  • name string optional
application/json
{
  "token": "string",
  "name": "string"
}
The token this agent created earlier.
The token this agent created earlier.
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.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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": {}
}
“Share with Finance”: mails finance_email a link to start the plan’s checkout; the user is copied. Org admins only, the organization the setup is bound to only, at most 3 active requests per organization. Needs the org.checkout.share setup key.
Path Parameters
Name Type Description
organization_id required string Obfuscated organization ID (org-...)
Request Body
application/json
  • plan string required
  • finance_email string email required
cURL
curl \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
  "plan": "pro",
  "finance_email": "user@example.com"
}' \
  "https://app.betahub.io/organizations/123/checkout_shares.json"
Ruby
require "net/http"
require "json"

uri = URI("https://app.betahub.io/organizations/123/checkout_shares.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 = {
  "plan": "pro",
  "finance_email": "user@example.com"
}

response = http.request(request)
puts response.body
Python
import requests

response = requests.post(
    "https://app.betahub.io/organizations/123/checkout_shares.json",
    json={
      "plan": "pro",
      "finance_email": "user@example.com"
    }
)
print(response.json())
JavaScript
const response = await fetch("https://app.betahub.io/organizations/123/checkout_shares.json", {
  method: "POST",
  headers: {
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "plan": "pro",
    "finance_email": "user@example.com"
  })
});
const data = await response.json();
Java
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("https://app.betahub.io/organizations/123/checkout_shares.json"))
    .header("Content-Type", "application/json")
    .POST(HttpRequest.BodyPublishers.ofString("{\"plan\":\"pro\",\"finance_email\":\"user@example.com\"}"))
    .build();
HttpResponse<String> response = client.send(
    request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
Request Body
{
  "plan": "pro",
  "finance_email": "user@example.com"
}
Responses
Sent.
Response fields
  • plan string optional
  • finance_email string optional
  • expires_at string date-time optional
application/json
{
  "plan": "string",
  "finance_email": "string",
  "expires_at": "2026-03-12T10:30:00Z"
}
insufficient_scope: missing the key. A policy refusal (not an admin, or not the setup’s organization) is the generic {error} body.
Response fields
  • error string optional
    insufficient_scope
  • required_scopes array[string] optional nullable The missing keys, or null when no key grants the action to a token.
  • consent object optional
    • url string uri optional The start endpoint, POST /agent_auth.
    • intent string optional 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.
      setup work players exposure
    • organization object optional The organization where a write key was refused: an agent token makes changes only in the organizations the user picked. The user ticks it on the consent page. Given only for an organization the user works in (not only tests); elsewhere there is no consent. An agent that makes changes elsewhere gets work first.
      • id string optional
      • name string optional
    • instructions string uri optional /agents/setup.md
  • status object optional Optional and unreliable. When the shared 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.
application/json
{
  "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_plan (with plans), already_on_paid_plan (with upgrade_url), too_many_active_requests, or invalid_request (with messages).
`unknown_plan` (with `plans`), `already_on_paid_plan` (with `upgrade_url`), `too_many_active_requests`, or `invalid_request` (with `messages`).