Office hours: Build your self-driving GTM engine·Oct 29, 9:00am PT, onlineRegister→
Cargo
  • PrimitivesData ModelsYour companies, contacts and deals, merged from every sourceContextWhat your team knows, as files every agent readsTerritoriesWho sells where, defined onceMailboxesMailboxes in your reps' names, warmed up and kept under limitsToolsThe actions your agents, plays and reps callAgentsAI that researches, decides and writes, reading your contextPlaysWorkflows that run on a trigger or a schedule, with retriesAppsInternal apps for your reps, hosted on Cargo
    Add-onsChrome ExtensionSell faster, right in your browserButtonTrigger AI agents inside your CRMFormTurn any tool into an embeddable formSlackTag Cargo in Slack. It does the GTM workGitHubPlan on every pull request, deploy on merge
    MoreProjectsDefine your entire GTM in codeCLIUse Cargo from your terminalMCPUse Cargo from Claude and ChatGPTDeveloper resourcesCargo API docs, OpenAPI spec, auth docs, webhooks, MCP serverAPI ReferenceExplore the Cargo APIDocumentationLearn how to use CargoIntegrationsConnected to your entire GTM stack
  • VeriffHow Veriff replaced MuleSoft with Cargo under NetSuite, Stripe and SalesforceAugmentHow Augment Code routes developer sign-ups to reps in under an hourWeights & BiasesHow Weights & Biases ships a new purchase signal in 2 days on CargoSee all
  • Pricing
  • Cookbooks
  • Blog
Sign in

Cargo auth docs

The Cargo auth docs explain how to obtain the one credential that unlocks the REST API, the CLI, Cargo projects, the agent skills, and MCP.

There is one credential. Sign in once; nothing else needs configuring.

npm install -g @cargo-ai/cli
cargo-ai login --email you@company.com

A new account gets 100 free credits for its first month, with no card. --email mails a one-time code and creates the account and a workspace on first use.

Methods

You areUseBrowser
An agent, a sandbox, CI, any shellcargo-ai login --email you@company.comno
An agent signing in as its own AgentIDcargo-ai login --agentidthe AgentID page, not the Cargo app
A person at a workstationcargo-ai login --oauthyes
CI with a token already issuedcargo-ai login --token <token> or CARGO_API_TOKENno

In an agent or sandbox shell with no terminal to prompt at, the first --email call sends the code and exits. Re-run it with --code.

cargo-ai login --agentid is the path for an agent that should sign in as its own AgentMail inbox rather than as a person’s address. The command prints an Auth0 URL and waits for the redirect. Open that URL once. A second visit starts a different sign-in. It does not open the Cargo app. When AgentID shows an auth token, approve it within 5 minutes with agentmail inboxes authorize --inbox-id <inbox> --auth-token <token> --accept-disclosure true.

Calling the API

curl https://api.getcargo.io/v1/storage/models/list \
  -H "Authorization: Bearer $CARGO_API_TOKEN"

OAuth

Authorization-server metadata (RFC 8414) is at https://auth.getcargo.io/.well-known/oauth-authorization-server. Device code, authorization code with PKCE (S256), registration, and revocation are advertised there.

The product MCP server at https://mcp.getcargo.io challenges with OAuth and publishes protected-resource metadata. See Cargo MCP server.

Machine-readable walkthrough

The step-by-step agent walkthrough — Discover, Pick a method, Register, Claim, Use, Revocation — is https://www.getcargo.ai/auth.md. Fetch that file when you need the WorkOS auth.md shape rather than this summary.

Related

  • Cargo API docs
  • Cargo OpenAPI spec
  • Versioning and deprecation: https://docs.getcargo.ai/api-reference/versioning

Build the self-driving GTM engine

Your coding agents build it on Cargo.Or our team builds, operates and improves it with you.

Start building
Cargo
Backed byY CombinatorSOC 2 Type IICertified
LinkedinX

Product

Data ModelsContextTerritoriesMailboxesToolsAI AgentsPlaysAppsIntegrationsPricing

Add-ons

Chrome extensionButtonFormSlackGitHub

Build

DocsDeveloper resourcesCargo API docsCargo OpenAPI specCargo auth docsCargo webhooksCargo MCP serverProjectsClaude CodeCodexCursorAll coding agents

Resources

ReportsBlogCustomer storiesCookbooksEnrichmentRoutingSignalsScoringCRM hygieneAd audiencesGTM skillsGTM EngineeringGlossaryCompareCargo x ClayCargo x WorkatoCargo x n8nCargo x DeeplineCargo x DefaultCargo x LeanDataCargo x UnifyCargo x ValleyCargo x GojiberryCargo x PhantomBusterCargo x ZapierCargo x ApolloCargo x Chili PiperCargo x Common RoomCargo x MakeCargo x Tray.io

Company

ManifestoCommunityEventsJobsPartners DirectoryPartner Program

Legal

SecurityTerms of servicePrivacy PolicyRefundsDPASupport
© 2026 Cargo
 ////////    ///////    ////////     ////////    ///////
///         ///   ///   ///   ///   ///         ///   ///
///         ///   ///   ///   ///   ///         ///   ///
///         /////////   ////////    ///  ////   ///   ///
///         ///   ///   /// ///     ///   ///   ///   ///
///         ///   ///   ///  ///    ///   ///   ///   ///
 ////////   ///   ///   ///   ///    ///////     ///////

$ npm install -g @cargo-ai/cli