# GetSales auth.md

The steps an agent, or the human behind it, follows to get working credentials for GetSales, plus the machine-readable discovery documents. GetSales is LinkedIn and email outreach for agencies and GTM teams in one app, running on the sender profiles your team or your clients own. Backends work it through a REST API, and AI agents through MCP tools that drive the workspace.

## Two servers during the transition

GetSales is moving from its current app to a new product, and the switch of the MCP address is staged (decided 2026-10-17). Until most clients are on the new product, both servers answer, on two addresses:

| | The current app | The new product |
|---|---|---|
| MCP server | `https://mcp.getsales.io` (JSON-RPC over HTTP POST to `/` or `/mcp`, ten toolsets) | `https://mcp2.getsales.io/mcp/public` (four meta-tools, `list_toolsets`, `search_tools`, `describe_tool` and `call_tool`, over the tool groups of the workspace), from the new product's release |
| REST API | `https://amazing.getsales.io` (per-area path prefixes, for example `/leads/api/...`) | `https://api2.getsales.io/<service>/v1/api/...` with five services: `playtables`, `unibox`, `signals`, `id`, `integrations` |
| API reference | `https://api.getsales.io/` | `https://docs.getsales.io/` (one document per service, generated from the same schemas the MCP tools use) |
| Authorization server | `https://mcp.getsales.io` is its own issuer | `https://app.getsales.io/id/v1` (the issuer has a path, so its RFC 8414 document lives at the root-inserted form listed below) |
| API key | Workspace Settings, API Keys, in the current app | Settings, API keys, in the new app (`https://app.getsales.io`): a `gs_live_...` key |

Later the new server takes `https://mcp.getsales.io` and the current one moves to a legacy address. This file changes on that day, and the help centre says so two weeks ahead.

## Discovery documents

- The current app's authorization server (RFC 8414): `https://mcp.getsales.io/.well-known/oauth-authorization-server`, and its protected resource (RFC 9728): `https://mcp.getsales.io/.well-known/oauth-protected-resource`.
- The new product's authorization server (RFC 8414): `https://app.getsales.io/.well-known/oauth-authorization-server/id/v1`, and the new server's protected resource (RFC 9728): `https://mcp2.getsales.io/.well-known/oauth-protected-resource`.
- Site summary for language models: `https://getsales.io/llms.txt`
- The homepage as markdown: `https://getsales.io/home.md`, also what `https://getsales.io/` answers to a request with `Accept: text/markdown`
- The APIs (RFC 9727): `https://getsales.io/.well-known/api-catalog`, the five services' OpenAPI documents and the new MCP server
- The new MCP server's card: `https://getsales.io/.well-known/mcp/server-card.json`
- The agent skill for working in GetSales over MCP: `https://getsales.io/.well-known/agent-skills/index.json`
- Everything above in one catalog: `https://getsales.io/.well-known/ai-catalog.json`

`getsales.io` serves no copy of an authorization server's document. Its `/.well-known/oauth-authorization-server` answers with a 302 to the current app's document on `https://mcp.getsales.io`, which is the server at the main address today. On the swap day it moves to the new product's. The reason it is a redirect and not a copy: RFC 8414 section 3.3 requires the `issuer` in the metadata to be identical to the issuer the well-known URI was built from, and a copy served from `getsales.io` fails that check at the URL it is served from however accurate its contents are. Its `/.well-known/oauth-protected-resource` is the brand domain's own (RFC 9728): the resource `https://getsales.io`, whose authorization servers are the two above, the new product's first. A client connecting to an MCP server follows that server's own resource document instead, named in the `WWW-Authenticate` header of its 401.

## Path 1: an API key, for REST and for headless MCP clients

1. A human signs up for GetSales (`https://app.getsales.io/signup` for the new product, `https://getsales.io/book-a-demo/` for a demo first, and the current app's sign-in at `https://amazing.getsales.io/login/`) and connects the sender profiles the team owns.
2. In the app, open Settings, then API keys, and create a key. It is shown once, so copy it then and keep it secret.
3. Send it on every call: `Authorization: Bearer gs_live_...`. The key carries its own workspace and permissions.

The same key authenticates the new MCP server as a plain bearer, which is how a CI job, a server or an agent runtime with no browser connects (`claude mcp add --transport http getsales https://mcp2.getsales.io/mcp/public --header "Authorization: Bearer gs_live_..."`). Pick one mode per connection: a client that attaches a key and also runs OAuth overwrites the OAuth token on every request.

The endpoint list, request shapes and response schemas are in the reference. This file does not duplicate them.

## Path 2: OAuth 2.1, for interactive MCP clients

**The new product.** The authorization server is `https://app.getsales.io/id/v1`. Public clients only: PKCE with `S256` is required and `token_endpoint_auth_methods_supported` is `none`, so there is no client secret to hold.

1. Register a client. RFC 7591 dynamic registration is open, no initial access token needed: `POST https://app.getsales.io/id/v1/oauth/register` with your `redirect_uris`. The response carries your `client_id`.
2. Send the user to `https://app.getsales.io/id/v1/oauth/authorize` with `response_type=code` and an `S256` `code_challenge`. The authorization server hands the browser to the GetSales consent screen (`https://app.getsales.io/oauth/consent`): the user signs in with their GetSales account, picks the workspaces the client may act in and clicks Allow. That approval is what binds the client to the user's workspaces. A freshly registered client can do nothing until it happens.
3. Exchange the code at `POST https://app.getsales.io/id/v1/oauth/token` with `grant_type=authorization_code` and the `code_verifier`. You get an access token (one workspace, one hour) and a refresh token.
4. Call the MCP server with `Authorization: Bearer <access_token>`. On a 401, follow the `resource_metadata` URL in the `WWW-Authenticate` header per RFC 9728.
5. Refresh with `grant_type=refresh_token`. Another of the user's workspaces is a token exchange (`grant_type=urn:ietf:params:oauth:grant-type:token-exchange` with `target_team_sid`), or the facade's `team_sid` argument on a call. Revoke at `POST https://app.getsales.io/id/v1/oauth/revoke`, which always answers 200 per RFC 7009.

The scopes are the product's permission tokens (`can_view_playtables`, `can_manage_workflows`, ...), listed as `scopes_supported` in the metadata document. A client that asks for none is shown the whole catalog on the consent screen. Treat access tokens as opaque strings: the metadata document advertises no `jwks_uri`, so the token format is not part of the contract.

**The current app.** The authorization server is `https://mcp.getsales.io` and it is its own issuer: `POST https://mcp.getsales.io/oauth/register`, `https://mcp.getsales.io/oauth/authorize`, `POST https://mcp.getsales.io/oauth/token`, `POST https://mcp.getsales.io/oauth/revoke`, with PKCE `S256`, public clients and the one scope `mcp:full`. The user signs in with their normal GetSales email and password on that server's own page.

### In an MCP client with a connector UI

Add a custom connector with the URL (`https://mcp2.getsales.io/mcp/public` for the new product, `https://mcp.getsales.io` for the current app), then click Connect. The client registers itself, you sign in on the GetSales consent screen, and the connector activates. Your password never reaches the client. In Claude that is Settings, then Connectors, then Add custom connector.

## What the MCP tools cover

The new server's public address lists four meta-tools: `list_toolsets` is the map of the tool groups, `search_tools` finds a tool by what it does (with `detail: "full"`, its whole definition), `describe_tool` gives one definition, and `call_tool` runs a tool by name. The groups are named by what they belong to, 19 on that address on 2026-11-07: the tables (`playtables.tables`, `playtables.columns`, `playtables.rows`, `playtables.crm`, `playtables.sources`, `playtables.workflows`, `playtables.workflow-records`), the team inbox with the AI SDR's drafts and tasks (`inbox`), the sender profiles, their variables and what each one did (`sender-profiles`), the AI SDR and what it knows (`ai-sdr.agents`, `ai-sdr.training`), website visits, profile views and plays (`signals`), and the workspace's Settings and Admin panels (`workspace.team`, `workspace.access`, `workspace.billing`, `workspace.website-tracking`, `workspace.integrations`, `workspace.webhooks`, `workspace.whitelabel`). This address drives the workspace and never acts on a channel: messages are sent and drafts approved in the app, where a sender profile's LinkedIn account and mailboxes are connected too. Every tool is one public API route with the same schema. A tool the server marks dangerous (`list_toolsets` with `include_tools: true` shows which), such as one that deletes or cancels something, merges two threads, rotates a site or ingest key, changes a subscription or a webhook, or publishes or resumes a workflow, answers a preview and a `commit_token` first, and runs when the same call comes back with the token. A paid table run starts on its first call, so `estimate_credits` prices it before.

The current app's server lists its own mounted toolsets at `GET https://mcp.getsales.io/`, unauthenticated. Ten were mounted on 2026-10-10: `account`, `analytics`, `automations`, `crm`, `enrichment`, `import-export`, `inbox`, `integrations`, `senders`, `tasks`.

## agent_auth

The `agent_auth` block for the new product, for tooling that looks for one. It is stated here rather than inside a metadata document on this host, because this host serves no OAuth metadata of its own:

```json
{
  "skill": "https://getsales.io/auth.md",
  "register_uri": "https://app.getsales.io/id/v1/oauth/register",
  "identity_types_supported": ["anonymous"],
  "anonymous": {
    "credential_types_supported": ["oauth2_authorization_code"],
    "claim_uri": "https://app.getsales.io/id/v1/oauth/authorize"
  }
}
```

The same block for the current app has `https://mcp.getsales.io/oauth/register` and `https://mcp.getsales.io/oauth/authorize`. Registration is anonymous on both: no identity assertion is required to register a client. The credential becomes usable through the authorization code grant once a user claims the client on the consent screen at `claim_uri`.

## Pacing

Outbound activity runs inside per-sender-profile limits, warm-up curves and schedules, and those are enforced on the server, not in the client. An agent does not send faster by calling more often. The new server also limits a workspace to 600 calls and 120 writes a minute and answers a `429` with `retry_after`, and a `422` names the field and the rule. Do not hard-retry a 4xx.

## References

- API reference: `https://docs.getsales.io/` (the new product), `https://api.getsales.io/` (the current app)
- Help centre: `https://help.getsales.io/`
- Book a demo: `https://getsales.io/book-a-demo/`

## Not affiliated with LinkedIn

GetSales is an independent product and is not affiliated with, endorsed by, or sponsored by LinkedIn Corporation. LinkedIn and the LinkedIn logo are trademarks of LinkedIn Corporation. Use of GetSales is at your own risk and subject to the applicable third-party platform terms.
