TrigCode AI
    TemplatesShowcasePricing
    Help center

    Getting started

    Welcome to TrigCodeBuild your first appChoose an app typeWrite effective promptsNavigate the TrigCode workspace

    Building and editing

    Understand the build lifecycleEdit an app with conversationPreview and test your appWork with code and filesUse checkpoints and rollbackOrganize work with projects and templatesUse reference images and app secrets

    Export and deploy

    Export source codeConnect GitHub, GitLab, or BitbucketDeploy on TrigCodeDeploy to external providersPreview mobile apps and build an APKConnect a custom domain

    Plans, credits, and account

    Plans and feature accessCredits and action costsBilling, renewals, and plan changesAccount and security settings

    Teams and enterprise

    Teams workspacesRoles, budgets, and governanceConfigure SSO and SCIMShared prompts, usage, and audit history

    API and automation

    API authentication and scopesAPI task referenceAPI organization resource referenceReceive signed webhooks

    Troubleshooting

    Troubleshoot builds and editsTroubleshoot previewsTroubleshoot deployments and domainsTroubleshoot billing and creditsGet support
    Help/API and automation/API authentication and scopes

    API and automation

    API authentication and scopes

    8 min readReviewed 9 September 2026

    Create an organization API key and understand authentication, scopes, limits, and envelopes.

    On this pageAvailabilityAuthenticate requestsAvailable scopesRate limits, pagination, and errors

    Availability

    The public REST API is available to active Teams and Enterprise workspaces. Owners or administrators with member-management authority create keys in workspace settings. Each plaintext key is displayed once; TrigCode stores only its hash.

    Base URL

    All public API endpoints use https://trigcode.com/api/v1. Internal browser endpoints under /api are not a supported customer API.

    Authenticate requests

    • Send the key in the Authorization header using the Bearer scheme.
    • Never put it in a query string, browser bundle, prompt, repository, or log.
    • Keys can expire or be revoked and stop working immediately.
    • An organization can keep up to 20 active keys.
    Requestbash
    curl https://trigcode.com/api/v1/org \
    +  -H 'Authorization: Bearer tck_live_REPLACE_WITH_YOUR_KEY'

    Available scopes

    ScopeAllows
    tasks:readList and read organization tasks and generated files.
    tasks:writeCreate and start organization-funded builds.
    tasks:exportDownload a task source archive.
    projects:readList organization projects.
    usage:readRead organization profile and credit usage.
    members:readList organization members and roles.

    Rate limits, pagination, and errors

    • Each key is limited to 120 requests per minute on the current single-instance service.
    • List endpoints accept page (1-based) and per_page (1–100, default 25).
    • Successful JSON responses use { data, meta? }.
    • JSON errors use { error: { code, message } }.
    • A 429 response can include Retry-After in seconds.
    Error envelopejson
    {
      "error": {
        "code": "insufficient_scope",
        "message": "This key is missing the required scope: tasks:write"
      }
    }
    Still need help?Open a support ticket from your workspace or contact the TrigCode team.
    Contact support

    Related guides

    API task referenceCreate builds, list tasks, poll status, read files, and download exports through API v1.API organization resource referenceReference the organization, projects, usage, and members endpoints.Receive signed webhooksSubscribe an HTTPS endpoint, verify signatures, deduplicate deliveries, and handle retries.
    NextAPI task reference

    On this page

    AvailabilityAuthenticate requestsAvailable scopesRate limits, pagination, and errors
    TrigCode AI

    Bring your ideas to life with AI.
    Build, refine, and make them yours.

    Start building

    Product

    • AI app builder
    • Templates
    • Showcase
    • Pricing
    • Teams & enterprise

    Build

    • Websites
    • Web apps
    • Mobile apps
    • Games
    • Dashboards
    • CRM
    • SaaS
    • Scheduling
    • AI assistants

    Resources

    • Help center
    • Building guides
    • Compare builders
    • Vibe coding explained
    • What you can build

    Company

    • About TrigCode
    • Contact us
    • Trust & security
    • Get support

    © 2026 THS CyberSecure Private Limited.All rights reserved.

    Privacy policyTerms of service