ALTITUDE Developers

ALTITUDE API

Connect your website, your other apps, your scripts and your AI assistants to an ALTITUDE workspace. Add and update leads and contacts, move leads through your sales pipeline, list your website forms, manage task boards and tasks, book and manage visits on your schedule, and get a webhook the moment something happens.

REST base URL
https://app.runaltitude.com/api/v1
MCP server
https://app.runaltitude.com/api/mcp
OpenAPI 3.1
/api/v1/openapi.json (import into Postman, Insomnia or a code generator)

Quick start

  1. Make a key. In ALTITUDE, an owner or admin opens Settings → API & AI connections, picks a name, the permissions it needs and an expiry, and copies the key. It starts with alt_live_ and is shown once.
  2. Check it works.
    curl https://app.runaltitude.com/api/v1/me \
      -H "Authorization: Bearer $ALTITUDE_KEY"
  3. Add a lead (for example from your website or an ad form). It lands in your sales pipeline and runs your automations, like a lead added in the app.
    curl -X POST https://app.runaltitude.com/api/v1/leads \
      -H "Authorization: Bearer $ALTITUDE_KEY" -H "Content-Type: application/json" \
      -d '{"name":"Dana Ruiz","email":"dana@example.com","phone":"636-555-0142","notes":"Roof leak over the garage","externalId":"wix-entry-1042"}'
  4. Or create a task board and add tasks.
    curl -X POST https://app.runaltitude.com/api/v1/task-pipelines \
      -H "Authorization: Bearer $ALTITUDE_KEY" -H "Content-Type: application/json" \
      -d '{"name":"Launch","key":"launch","columns":["Backlog",{"name":"Doing","tone":"warn"},{"name":"Done","tone":"good"}]}'
    
    curl -X POST https://app.runaltitude.com/api/v1/tasks \
      -H "Authorization: Bearer $ALTITUDE_KEY" -H "Content-Type: application/json" \
      -d '{"pipeline":"launch","tasks":[{"externalId":"launch-1","title":"Write brand brief","column":"Backlog","priority":"high","dueAt":"2026-11-15"}]}'

The same call in JavaScript:

const res = await fetch("https://app.runaltitude.com/api/v1/tasks", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.ALTITUDE_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ pipeline: "launch", tasks: [{ externalId: "launch-2", title: "Book photographer" }] }),
});
if (!res.ok) throw new Error((await res.json()).error.message);
console.log((await res.json()).summary);

API keys and scopes

Send the key on every request as Authorization: Bearer alt_live_… (or X-API-Key). Keys are never accepted in a URL.

  • A key belongs to one workspace. It can never see or change another workspace's data.
  • A key acts as the person who made it, narrowed to its scopes. Their role still applies: a view-only member's key can only read, pipelines and boards hidden from them stay hidden from the key, and a key made by a team member (not an owner or admin) can only change leads assigned to them or to nobody.
  • If that person leaves the workspace, their keys stop working and are revoked.
  • Keys can expire after 30, 90 or 365 days, and can be revoked at once. Creating and revoking are in the Activity log.
  • A workspace can have 25 active keys.
ScopeAllows
tasks:readSee task boards and tasks.
tasks:writeAdd, change and move tasks. Includes tasks:read.
pipelines:writeCreate task boards and columns. Needs a key made by an owner or admin. Includes tasks:read.
contacts:readSee contacts.
contacts:writeAdd and change contacts. Includes contacts:read.
leads:readSee leads, sales pipelines and forms.
leads:writeAdd, change and move leads. Includes leads:read.
invoices:readSee invoices and payments.
invoices:writeCreate, send and void invoices, and record payments. Needs a key made by an owner or admin. Includes invoices:read.
estimates:readSee estimates.
estimates:writeCreate, send and convert estimates. Needs a key made by an owner or admin. Includes estimates:read.
income:readSee money coming in. Needs a key made by an owner or admin.
income:writeRecord sales, fees and refunds. Needs a key made by an owner or admin. Includes income:read.
orders:readSee orders. Needs a key made by an owner or admin.
orders:writeSend in orders, refunds and tracking. Needs a key made by an owner or admin. Includes orders:read.
products:readSee products for sale, with prices and stock.
schedule:readSee visits, open times and bookable services.
schedule:writeBook, move, change and cancel visits. Includes schedule:read.
webhooks:manageManage webhooks. Needs a key made by an owner or admin.

Keeping keys safe

A key is as powerful as the person who made it, within its scopes. Treat it like a password.

  • Server side only. Never put a key in a website, a browser extension, a mobile app or anything you ship to customers. Anyone can read those. For websites, use the form embed code or call the API from your site's server side (see Websites, Wix and forms).
  • Least access. Give each key only the scopes it needs, and use one key per tool so you can revoke one without breaking the others.
  • Store it in a secret manager or environment variable, never in code or a shared doc. Keys start with alt_live_, so secret scanners can spot one that slips into a repository.
  • Set an expiry for anything temporary, and revoke a key straight away if it may have leaked.

On our side:

  • Only a SHA-256 hash of each key is stored. Nobody at ALTITUDE can read a key after it's made.
  • Every query is limited to the key's workspace, which comes from the key itself and never from the request.
  • All traffic is HTTPS only. Responses are never cached.
  • Repeated requests with wrong keys from one address are slowed down.

Requests and responses

  • Send and receive JSON (UTF-8). Request bodies can be up to 1 MB.
  • Ids are UUIDs. Times are ISO 8601 in UTC, like 2026-11-15T17:00:00.000Z.
  • dueAt takes a date (2026-11-15, stored as noon UTC) or a date-time with Z or an offset. On invoices, and for expiresAt on estimates, it is a calendar day: the date as you wrote it is kept, stored as noon UTC, and any time or offset is dropped.
  • Wherever a board, pipeline, column or stage is named you can pass its id, key or name. Names match without regard to case.
  • Lead and contact lists can be filtered with updatedSince, so a sync only fetches what changed.
  • Contact phone numbers are stored as +1XXXXXXXXXX. Lead phone numbers are kept as you send them.
  • Lists return nextCursor. Pass it back as cursor for the next page; it is null on the last one.

Errors

Every error has the same shape, with a message written for people (and AI assistants) to act on:

{
  "error": {
    "code": "forbidden",
    "message": "This API key doesn't have the tasks:write permission."
  }
}
CodeStatusMeaning
invalid_request400A field is missing or has the wrong type. The message names it.
unauthorized401No key, or the key is wrong, revoked or expired.
subscription_required402The workspace's ALTITUDE plan isn't active.
forbidden403The key doesn't have the scope, or the person who made it isn't allowed (for example a view-only member).
not_found404No such board, column, task, pipeline, stage, lead, contact, invoice, estimate or webhook that this key can see. Pipelines hidden from the key's creator count as not found.
conflict409Something changed at the same moment (retry the request), an externalId or limit is already taken, or an invoice or estimate isn't in a status that allows it, like changing one that was sent (the message says which).
payload_too_large413The body is over 1 MB. Send fewer items per call.
rate_limited429Too many requests. Wait for the number of seconds in Retry-After.
not_processed503The request ran out of time before this task was saved. Nothing was written; send it again.
server_error500Something went wrong on our side. Retry with backoff.

Rate limits

Each key can make 120 requests a minute. In a batch, every 10 tasks count as one request, in an MCP request every message counts as one, and a webhook test counts as five. Over the limit you get 429 rate_limited with a Retry-After header in seconds. Wait that long, then retry.

No duplicates with externalId

Give each task, lead and contact an externalId: your own id for it (a form entry id, an order number, a customer id from another app), up to 200 characters and unique in the workspace. Sending the same one again never makes a second copy, so a script, a Zap or an AI can safely retry or re-run.

  • By default (ifExists: "skip") the existing task comes back as existing, untouched, so edits people made in the app are kept.
  • With ifExists: "update" the fields you send are applied and it comes back as updated.
  • Find one by your id with GET /tasks?externalId=…, GET /leads?externalId=… or GET /contacts?externalId=….
  • No id of your own? Look the person up first with GET /contacts?email=… or GET /leads?phone=….

Creating a board is safe to repeat too: the same key returns the existing board and adds any columns it's missing.

Endpoint reference

Workspace

GET/meany

Check a key

The workspace this key belongs to, its scopes and who it acts as. Any valid key can call it.

Response

{
  "workspace": {
    "id": "11b2710e-0000-4000-8000-000000000000",
    "name": "Acme Roofing"
  },
  "apiKey": {
    "id": "c0ffee00-0000-4000-8000-000000000000",
    "scopes": [
      "tasks:read",
      "tasks:write"
    ]
  },
  "actingAs": {
    "profileId": "a1b2c3d4-0000-4000-8000-000000000000",
    "role": "admin"
  }
}
GET/team-memberstasks:read

List team members

Everyone signed in to the workspace, with their email. Use the email as assigneeEmail on a task. Needs tasks:read.

Response

{
  "members": [
    {
      "id": "a1b2c3d4-0000-4000-8000-000000000000",
      "name": "Sam Lee",
      "email": "sam@acmeroofing.com",
      "role": "admin"
    }
  ]
}

Task boards

GET/task-pipelinestasks:read

List task boards

Every task board the key's creator can see, with columns in order. Needs tasks:read.

Response

{
  "pipelines": [
    {
      "id": "2c406850-2383-46c7-82ef-cc72d1765ceb",
      "key": "launch",
      "name": "Launch",
      "columns": [
        {
          "id": "6f1c1a8e-3f0b-4c55-9a59-0f8f6b1f2a01",
          "key": "backlog",
          "name": "Backlog",
          "tone": "neutral",
          "position": 0
        },
        {
          "id": "6f1c1a8e-3f0b-4c55-9a59-0f8f6b1f2a02",
          "key": "doing",
          "name": "Doing",
          "tone": "warn",
          "position": 1
        },
        {
          "id": "6f1c1a8e-3f0b-4c55-9a59-0f8f6b1f2a03",
          "key": "done",
          "name": "Done",
          "tone": "good",
          "position": 2
        }
      ],
      "createdAt": "2026-10-31T15:00:00.000Z"
    }
  ]
}
POST/task-pipelinespipelines:write

Create a task board

Creates a board. Safe to repeat: sending the same key (or the same name when no key is given) returns the existing board and adds any listed columns it is missing. Default columns are To do, In progress and Done. Needs pipelines:write and an owner or admin key.

Request body

{
  "name": "Launch",
  "key": "launch",
  "columns": [
    "Backlog",
    {
      "name": "Doing",
      "tone": "warn"
    },
    {
      "name": "Done",
      "tone": "good"
    }
  ]
}

Response

{
  "pipeline": {
    "id": "2c406850-2383-46c7-82ef-cc72d1765ceb",
    "key": "launch",
    "name": "Launch",
    "columns": [
      {
        "id": "6f1c1a8e-3f0b-4c55-9a59-0f8f6b1f2a01",
        "key": "backlog",
        "name": "Backlog",
        "tone": "neutral",
        "position": 0
      },
      {
        "id": "6f1c1a8e-3f0b-4c55-9a59-0f8f6b1f2a02",
        "key": "doing",
        "name": "Doing",
        "tone": "warn",
        "position": 1
      },
      {
        "id": "6f1c1a8e-3f0b-4c55-9a59-0f8f6b1f2a03",
        "key": "done",
        "name": "Done",
        "tone": "good",
        "position": 2
      }
    ],
    "createdAt": "2026-10-31T15:00:00.000Z"
  },
  "created": true,
  "columnsAdded": []
}
GET/task-pipelines/{board}tasks:read

Get a task board

ParameterInDescription
boardpathThe board's id, key or name (names match without regard to case).

Response

{
  "pipeline": {
    "id": "2c406850-2383-46c7-82ef-cc72d1765ceb",
    "key": "launch",
    "name": "Launch",
    "columns": [
      {
        "id": "6f1c1a8e-3f0b-4c55-9a59-0f8f6b1f2a01",
        "key": "backlog",
        "name": "Backlog",
        "tone": "neutral",
        "position": 0
      },
      {
        "id": "6f1c1a8e-3f0b-4c55-9a59-0f8f6b1f2a02",
        "key": "doing",
        "name": "Doing",
        "tone": "warn",
        "position": 1
      },
      {
        "id": "6f1c1a8e-3f0b-4c55-9a59-0f8f6b1f2a03",
        "key": "done",
        "name": "Done",
        "tone": "good",
        "position": 2
      }
    ],
    "createdAt": "2026-10-31T15:00:00.000Z"
  }
}
POST/task-pipelines/{board}/columnspipelines:write

Add a column

Adds a column. If a column with that name exists it is returned unchanged (200). Needs pipelines:write.

ParameterInDescription
boardpathThe board's id, key or name (names match without regard to case).

Request body

{
  "name": "Review",
  "tone": "warn",
  "position": 2
}

Tasks

GET/taskstasks:read

List tasks

Open tasks, oldest first, on boards the key can see. Page with nextCursor. Needs tasks:read.

ParameterInDescription
pipelinequeryBoard id, key or name.
columnqueryColumn id, key or name. Needs pipeline.
externalIdqueryFind the task with your own id.
includeCompletedquery
limitquery
cursorquerynextCursor from the previous page.

Response

{
  "tasks": [
    {
      "id": "9b1d7e2a-5a3c-4c8e-8d3f-1f2e3d4c5b6a",
      "externalId": "launch-1",
      "pipelineId": "2c406850-2383-46c7-82ef-cc72d1765ceb",
      "columnId": "6f1c1a8e-3f0b-4c55-9a59-0f8f6b1f2a01",
      "title": "Write brand brief",
      "description": "One page. Tone, audience, three competitors.",
      "dueAt": "2026-11-15T12:00:00.000Z",
      "priority": "high",
      "assigneeId": null,
      "leadId": null,
      "completed": false,
      "completedAt": null,
      "createdAt": "2026-10-31T15:01:00.000Z",
      "updatedAt": "2026-10-31T15:01:00.000Z"
    }
  ],
  "nextCursor": null
}
POST/taskstasks:write

Create tasks

Send one task, or { tasks: [...] } for up to 100. A task whose externalId already exists is skipped (status "existing"), or updated with ifExists: "update". Every 10 tasks in a batch count as one request toward the rate limit. Needs tasks:write.

ParameterInDescription
ifExistsquery One of skip, update.

Request body

{
  "pipeline": "launch",
  "tasks": [
    {
      "externalId": "launch-1",
      "title": "Write brand brief",
      "column": "Backlog",
      "priority": "high",
      "dueAt": "2026-11-15"
    }
  ]
}

Response

{
  "results": [
    {
      "index": 0,
      "status": "created",
      "task": {
        "id": "9b1d7e2a-5a3c-4c8e-8d3f-1f2e3d4c5b6a",
        "externalId": "launch-1",
        "pipelineId": "2c406850-2383-46c7-82ef-cc72d1765ceb",
        "columnId": "6f1c1a8e-3f0b-4c55-9a59-0f8f6b1f2a01",
        "title": "Write brand brief",
        "description": "One page. Tone, audience, three competitors.",
        "dueAt": "2026-11-15T12:00:00.000Z",
        "priority": "high",
        "assigneeId": null,
        "leadId": null,
        "completed": false,
        "completedAt": null,
        "createdAt": "2026-10-31T15:01:00.000Z",
        "updatedAt": "2026-10-31T15:01:00.000Z"
      }
    }
  ],
  "summary": {
    "created": 1,
    "updated": 0,
    "existing": 0,
    "failed": 0
  }
}
GET/tasks/{id}tasks:read

Get a task

ParameterInDescription
idpathTask id.

Response

{
  "task": {
    "id": "9b1d7e2a-5a3c-4c8e-8d3f-1f2e3d4c5b6a",
    "externalId": "launch-1",
    "pipelineId": "2c406850-2383-46c7-82ef-cc72d1765ceb",
    "columnId": "6f1c1a8e-3f0b-4c55-9a59-0f8f6b1f2a01",
    "title": "Write brand brief",
    "description": "One page. Tone, audience, three competitors.",
    "dueAt": "2026-11-15T12:00:00.000Z",
    "priority": "high",
    "assigneeId": null,
    "leadId": null,
    "completed": false,
    "completedAt": null,
    "createdAt": "2026-10-31T15:01:00.000Z",
    "updatedAt": "2026-10-31T15:01:00.000Z"
  }
}
PATCH/tasks/{id}tasks:write

Update, move or complete a task

Send only the fields to change. null clears description, dueAt, assignee and leadId. Move with column (and pipeline to change boards). Needs tasks:write.

ParameterInDescription
idpathTask id.

Request body

{
  "column": "Doing",
  "priority": "urgent"
}
DELETE/tasks/{id}tasks:write

Delete a task

Owners and admins can delete any task; other keys only tasks their creator made. Needs tasks:write.

ParameterInDescription
idpathTask id.

Leads

GET/pipelinesleads:read

List sales pipelines

Sales pipelines the key's creator can see, with stages in order, plus the workspace's archive reasons and whether each counts as won or lost. Needs leads:read.

Response

{
  "pipelines": [
    {
      "id": "5d0f4a1e-2222-4c55-9a59-0f8f6b1f2a00",
      "key": "sales",
      "name": "Sales",
      "stages": [
        {
          "id": "0a7e0b52-1111-4c55-9a59-0f8f6b1f2a01",
          "key": "New",
          "name": "New",
          "position": 0
        },
        {
          "id": "0a7e0b52-1111-4c55-9a59-0f8f6b1f2a02",
          "key": "Quoted",
          "name": "Quoted",
          "position": 1
        },
        {
          "id": "0a7e0b52-1111-4c55-9a59-0f8f6b1f2a03",
          "key": "Scheduled",
          "name": "Scheduled",
          "position": 2
        }
      ],
      "createdAt": "2026-01-10T15:00:00.000Z"
    }
  ],
  "archiveReasons": [
    {
      "label": "Sale Completed",
      "outcome": "won"
    },
    {
      "label": "Went with competitor",
      "outcome": "lost"
    }
  ]
}
GET/leadsleads:read

List leads

Open leads, newest first, in pipelines the key's creator can see. Needs leads:read.

ParameterInDescription
pipelinequeryPipeline id, key or name.
stagequeryStage id, key or name (needs pipeline).
assigneeIdqueryTeam member id.
emailqueryExact email (any case).
phonequeryPhone number; matches the last 10 digits.
externalIdqueryYour own id.
qquerySearch name, company and email.
limitqueryHow many to return (1 to 100, default 50).
cursorquerynextCursor from the previous page.
updatedSincequeryOnly rows changed at or after this ISO date-time. Handy for syncing.
includeArchivedquerytrue to include archived rows.

Response

{
  "leads": [
    {
      "id": "7e3b9c10-3333-4c8e-8d3f-1f2e3d4c5b6a",
      "externalId": "wix-entry-1042",
      "pipelineId": "5d0f4a1e-2222-4c55-9a59-0f8f6b1f2a00",
      "stageId": "0a7e0b52-1111-4c55-9a59-0f8f6b1f2a01",
      "name": "Dana Ruiz",
      "company": "",
      "email": "dana@example.com",
      "phone": "(636) 555-0142",
      "notes": "Roof leak over the garage. Wants a quote this week.",
      "value": 4500,
      "priority": "high",
      "tags": [
        "roof repair"
      ],
      "address": {
        "street": "12 Oak St",
        "city": "St. Charles",
        "state": "MO",
        "zip": "63301"
      },
      "assigneeId": null,
      "contactId": null,
      "source": {
        "type": "api",
        "id": "c0ffee00-0000-4000-8000-000000000000"
      },
      "utm": {
        "source": "google",
        "medium": "cpc",
        "campaign": "fall-roofing",
        "term": null,
        "content": null
      },
      "score": 62,
      "archived": false,
      "archivedAt": null,
      "archiveReason": null,
      "lastTouchAt": "2026-10-31T15:01:00.000Z",
      "createdAt": "2026-10-31T15:01:00.000Z",
      "updatedAt": "2026-10-31T15:01:00.000Z"
    }
  ],
  "nextCursor": null
}
POST/leadsleads:write

Add a lead

Adds a lead, like a website form entry or an ad lead. It goes to the default sales pipeline's first stage unless you name others, and runs the same automations, workflows and webhooks as a lead added in the app. Send an externalId so retries never make a duplicate. Needs leads:write.

Request body

{
  "name": "Dana Ruiz",
  "email": "dana@example.com",
  "phone": "(636) 555-0142",
  "notes": "Roof leak over the garage.",
  "externalId": "wix-entry-1042",
  "utm": {
    "source": "google",
    "medium": "cpc",
    "campaign": "fall-roofing"
  }
}

Response

{
  "status": "created",
  "lead": {
    "id": "7e3b9c10-3333-4c8e-8d3f-1f2e3d4c5b6a",
    "externalId": "wix-entry-1042",
    "pipelineId": "5d0f4a1e-2222-4c55-9a59-0f8f6b1f2a00",
    "stageId": "0a7e0b52-1111-4c55-9a59-0f8f6b1f2a01",
    "name": "Dana Ruiz",
    "company": "",
    "email": "dana@example.com",
    "phone": "(636) 555-0142",
    "notes": "Roof leak over the garage. Wants a quote this week.",
    "value": 4500,
    "priority": "high",
    "tags": [
      "roof repair"
    ],
    "address": {
      "street": "12 Oak St",
      "city": "St. Charles",
      "state": "MO",
      "zip": "63301"
    },
    "assigneeId": null,
    "contactId": null,
    "source": {
      "type": "api",
      "id": "c0ffee00-0000-4000-8000-000000000000"
    },
    "utm": {
      "source": "google",
      "medium": "cpc",
      "campaign": "fall-roofing",
      "term": null,
      "content": null
    },
    "score": 62,
    "archived": false,
    "archivedAt": null,
    "archiveReason": null,
    "lastTouchAt": "2026-10-31T15:01:00.000Z",
    "createdAt": "2026-10-31T15:01:00.000Z",
    "updatedAt": "2026-10-31T15:01:00.000Z"
  }
}
GET/leads/{id}leads:read

Get a lead

ParameterInDescription
idpathLead id.

Response

{
  "lead": {
    "id": "7e3b9c10-3333-4c8e-8d3f-1f2e3d4c5b6a",
    "externalId": "wix-entry-1042",
    "pipelineId": "5d0f4a1e-2222-4c55-9a59-0f8f6b1f2a00",
    "stageId": "0a7e0b52-1111-4c55-9a59-0f8f6b1f2a01",
    "name": "Dana Ruiz",
    "company": "",
    "email": "dana@example.com",
    "phone": "(636) 555-0142",
    "notes": "Roof leak over the garage. Wants a quote this week.",
    "value": 4500,
    "priority": "high",
    "tags": [
      "roof repair"
    ],
    "address": {
      "street": "12 Oak St",
      "city": "St. Charles",
      "state": "MO",
      "zip": "63301"
    },
    "assigneeId": null,
    "contactId": null,
    "source": {
      "type": "api",
      "id": "c0ffee00-0000-4000-8000-000000000000"
    },
    "utm": {
      "source": "google",
      "medium": "cpc",
      "campaign": "fall-roofing",
      "term": null,
      "content": null
    },
    "score": 62,
    "archived": false,
    "archivedAt": null,
    "archiveReason": null,
    "lastTouchAt": "2026-10-31T15:01:00.000Z",
    "createdAt": "2026-10-31T15:01:00.000Z",
    "updatedAt": "2026-10-31T15:01:00.000Z"
  }
}
PATCH/leads/{id}leads:write

Update or move a lead

Send only the fields to change. Move it with stage (a stage of its own pipeline). Owner and admin keys can change any lead; other keys only leads assigned to their creator or to nobody. Needs leads:write.

ParameterInDescription
idpathLead id.

Request body

{
  "stage": "Quoted",
  "value": 5200
}
POST/leads/{id}/archiveleads:write

Close a lead as won or lost

Archives the lead with one of the workspace's archive reasons (GET /pipelines lists them). Sends lead.archived and lead.won or lead.lost webhooks. Needs leads:write.

ParameterInDescription
idpathLead id.

Request body

{
  "reason": "Sale Completed"
}
POST/leads/stepsleads:write

Record a signup step

Records that a lead reached a step, such as each step of a signup. A step is a stage of the lead's pipeline, by key or name. The lead only moves forward: a step it's already at or past is kept in its history without moving it, and an archived lead stays put. The customer isn't emailed about the move. A forward move sends the lead.stage_changed webhook and starts sequences triggered by "A lead reaches a signup step", like "Nudge people who stall at a signup step", which can send lead.stalled. Send an externalId (your own id for this step) so a retry never records it twice. Needs leads:write.

Request body

{
  "leadExternalId": "adv_8812",
  "step": "payment_added",
  "occurredAt": "2026-11-03T15:04:00Z",
  "externalId": "adv_8812:payment_added"
}
GET/leads/{id}/stepsleads:read

A lead's signup steps

Every step recorded for the lead, oldest first, with whether each one moved it. Pass nextCursor back as cursor for the next page. Needs leads:read.

ParameterInDescription
idpathLead id.
limitqueryHow many to return (1 to 500, default 100).
cursorquerynextCursor from the previous page.

Contacts

GET/contactscontacts:read

List contacts

Contacts, newest first. Look someone up by email or phone before adding them. Needs contacts:read.

ParameterInDescription
emailqueryExact email (any case).
phonequeryPhone number (10 or more digits).
externalIdqueryYour own id.
qquerySearch name, company, email and phone.
limitqueryHow many to return (1 to 100, default 50).
cursorquerynextCursor from the previous page.
updatedSincequeryOnly rows changed at or after this ISO date-time. Handy for syncing.
includeArchivedquerytrue to include archived rows.

Response

{
  "contacts": [
    {
      "id": "3f2a1b0c-4444-4c8e-8d3f-1f2e3d4c5b6a",
      "externalId": "qb-cust-88",
      "name": "Dana Ruiz",
      "email": "dana@example.com",
      "phone": "+16365550142",
      "company": null,
      "status": "Customer",
      "notes": null,
      "source": "api",
      "archived": false,
      "archivedAt": null,
      "lastContactedAt": null,
      "createdAt": "2026-10-31T15:01:00.000Z",
      "updatedAt": "2026-10-31T15:01:00.000Z"
    }
  ],
  "nextCursor": null
}
POST/contactscontacts:write

Add a contact

Adds a contact. US phone numbers are stored as +1XXXXXXXXXX. Send an externalId (for example your accounting app's customer id) so retries never make a duplicate. Needs contacts:write.

Request body

{
  "name": "Dana Ruiz",
  "email": "dana@example.com",
  "phone": "636-555-0142",
  "externalId": "qb-cust-88"
}

Response

{
  "status": "created",
  "contact": {
    "id": "3f2a1b0c-4444-4c8e-8d3f-1f2e3d4c5b6a",
    "externalId": "qb-cust-88",
    "name": "Dana Ruiz",
    "email": "dana@example.com",
    "phone": "+16365550142",
    "company": null,
    "status": "Customer",
    "notes": null,
    "source": "api",
    "archived": false,
    "archivedAt": null,
    "lastContactedAt": null,
    "createdAt": "2026-10-31T15:01:00.000Z",
    "updatedAt": "2026-10-31T15:01:00.000Z"
  }
}
GET/contacts/{id}contacts:read

Get a contact

ParameterInDescription
idpathContact id.

Response

{
  "contact": {
    "id": "3f2a1b0c-4444-4c8e-8d3f-1f2e3d4c5b6a",
    "externalId": "qb-cust-88",
    "name": "Dana Ruiz",
    "email": "dana@example.com",
    "phone": "+16365550142",
    "company": null,
    "status": "Customer",
    "notes": null,
    "source": "api",
    "archived": false,
    "archivedAt": null,
    "lastContactedAt": null,
    "createdAt": "2026-10-31T15:01:00.000Z",
    "updatedAt": "2026-10-31T15:01:00.000Z"
  }
}
PATCH/contacts/{id}contacts:write

Update a contact

Send only the fields to change; null clears email, phone, company, status and notes. Needs contacts:write.

ParameterInDescription
idpathContact id.

Request body

{
  "status": "Customer"
}

Website forms

GET/formsleads:read

List website forms

Published forms with their link, the code to paste into Wix, WordPress or any site, and their questions. Needs leads:read.

Invoices

GET/invoicesinvoices:read

List invoices

Invoices, newest first, with customer, line items and totals. status=overdue gives sent invoices past their due date; paidSince gives invoices paid at or after a time (for bookkeeping syncs). Needs invoices:read.

ParameterInDescription
statusquerydraft, sent, paid, void or overdue. One of draft, sent, paid, void, overdue.
leadIdqueryInvoices for this lead.
contactIdqueryInvoices for this contact (directly, or through its lead).
externalIdqueryYour own id.
qquerySearch invoice number, customer name and email.
paidSincequeryOnly invoices paid at or after this ISO date-time.
limitqueryHow many to return (1 to 100, default 50).
cursorquerynextCursor from the previous page.
updatedSincequeryOnly rows changed at or after this ISO date-time. Handy for syncing.

Response

{
  "invoices": [
    {
      "id": "4b5c6d7e-7777-4c8e-8d3f-1f2e3d4c5b6a",
      "number": "INV-1042",
      "status": "sent",
      "overdue": false,
      "externalId": "shop-order-5521",
      "leadId": "7e3b9c10-3333-4c8e-8d3f-1f2e3d4c5b6a",
      "contactId": null,
      "appointmentId": null,
      "estimateId": null,
      "recurringScheduleId": null,
      "customer": {
        "name": "Dana Ruiz",
        "email": "dana@example.com",
        "phone": "(636) 555-0142",
        "address": {
          "street": "12 Oak St",
          "line2": null,
          "city": "St. Charles",
          "state": "MO",
          "zip": "63301",
          "country": null
        },
        "addressText": "12 Oak St\nSt. Charles, MO 63301"
      },
      "currency": "USD",
      "subtotalCents": 450000,
      "discountCents": 0,
      "taxCents": 0,
      "processingFeeCents": 0,
      "depositCreditCents": 0,
      "totalCents": 450000,
      "issuedAt": "2026-11-01T12:00:00.000Z",
      "dueAt": "2026-11-15T12:00:00.000Z",
      "sentAt": "2026-11-01T15:02:00.000Z",
      "paidAt": null,
      "paymentReference": null,
      "paymentLinkUrl": "https://app.runaltitude.com/pay/…",
      "notes": "Thanks for choosing us.",
      "lineItems": [
        {
          "id": "1c2d3e4f-6666-4c8e-8d3f-1f2e3d4c5b01",
          "description": "Roof repair, garage",
          "quantity": 1,
          "unitAmountCents": 420000,
          "lineTotalCents": 420000
        },
        {
          "id": "1c2d3e4f-6666-4c8e-8d3f-1f2e3d4c5b02",
          "description": "Gutter guard (per foot)",
          "quantity": 40,
          "unitAmountCents": 750,
          "lineTotalCents": 30000
        }
      ],
      "discounts": [],
      "createdAt": "2026-11-01T15:01:00.000Z",
      "updatedAt": "2026-11-01T15:02:00.000Z"
    }
  ],
  "nextCursor": null
}
POST/invoicesinvoices:write

Create an invoice

Creates a draft. Bill a lead or contact (their name, email, phone and address fill in) or describe the customer. Tax comes from the workspace's invoice settings and totals are always worked out by ALTITUDE. send: true also emails or texts it with a pay link; if that fails the draft is still made and sendError says why. Send an externalId (your order or job id) so retries never make a duplicate. Needs invoices:write (an owner or admin's key).

Request body

{
  "leadId": "7e3b9c10-3333-4c8e-8d3f-1f2e3d4c5b6a",
  "externalId": "shop-order-5521",
  "dueAt": "2026-11-15",
  "lineItems": [
    {
      "description": "Roof repair, garage",
      "unitAmountCents": 420000
    },
    {
      "description": "Gutter guard (per foot)",
      "quantity": 40,
      "unitAmountCents": 750
    }
  ],
  "send": true
}

Response

{
  "status": "created",
  "invoice": {
    "id": "4b5c6d7e-7777-4c8e-8d3f-1f2e3d4c5b6a",
    "number": "INV-1042",
    "status": "sent",
    "overdue": false,
    "externalId": "shop-order-5521",
    "leadId": "7e3b9c10-3333-4c8e-8d3f-1f2e3d4c5b6a",
    "contactId": null,
    "appointmentId": null,
    "estimateId": null,
    "recurringScheduleId": null,
    "customer": {
      "name": "Dana Ruiz",
      "email": "dana@example.com",
      "phone": "(636) 555-0142",
      "address": {
        "street": "12 Oak St",
        "line2": null,
        "city": "St. Charles",
        "state": "MO",
        "zip": "63301",
        "country": null
      },
      "addressText": "12 Oak St\nSt. Charles, MO 63301"
    },
    "currency": "USD",
    "subtotalCents": 450000,
    "discountCents": 0,
    "taxCents": 0,
    "processingFeeCents": 0,
    "depositCreditCents": 0,
    "totalCents": 450000,
    "issuedAt": "2026-11-01T12:00:00.000Z",
    "dueAt": "2026-11-15T12:00:00.000Z",
    "sentAt": "2026-11-01T15:02:00.000Z",
    "paidAt": null,
    "paymentReference": null,
    "paymentLinkUrl": "https://app.runaltitude.com/pay/…",
    "notes": "Thanks for choosing us.",
    "lineItems": [
      {
        "id": "1c2d3e4f-6666-4c8e-8d3f-1f2e3d4c5b01",
        "description": "Roof repair, garage",
        "quantity": 1,
        "unitAmountCents": 420000,
        "lineTotalCents": 420000
      },
      {
        "id": "1c2d3e4f-6666-4c8e-8d3f-1f2e3d4c5b02",
        "description": "Gutter guard (per foot)",
        "quantity": 40,
        "unitAmountCents": 750,
        "lineTotalCents": 30000
      }
    ],
    "discounts": [],
    "createdAt": "2026-11-01T15:01:00.000Z",
    "updatedAt": "2026-11-01T15:02:00.000Z"
  }
}
GET/invoices/{id}invoices:read

Get an invoice

ParameterInDescription
idpathInvoice id.

Response

{
  "invoice": {
    "id": "4b5c6d7e-7777-4c8e-8d3f-1f2e3d4c5b6a",
    "number": "INV-1042",
    "status": "sent",
    "overdue": false,
    "externalId": "shop-order-5521",
    "leadId": "7e3b9c10-3333-4c8e-8d3f-1f2e3d4c5b6a",
    "contactId": null,
    "appointmentId": null,
    "estimateId": null,
    "recurringScheduleId": null,
    "customer": {
      "name": "Dana Ruiz",
      "email": "dana@example.com",
      "phone": "(636) 555-0142",
      "address": {
        "street": "12 Oak St",
        "line2": null,
        "city": "St. Charles",
        "state": "MO",
        "zip": "63301",
        "country": null
      },
      "addressText": "12 Oak St\nSt. Charles, MO 63301"
    },
    "currency": "USD",
    "subtotalCents": 450000,
    "discountCents": 0,
    "taxCents": 0,
    "processingFeeCents": 0,
    "depositCreditCents": 0,
    "totalCents": 450000,
    "issuedAt": "2026-11-01T12:00:00.000Z",
    "dueAt": "2026-11-15T12:00:00.000Z",
    "sentAt": "2026-11-01T15:02:00.000Z",
    "paidAt": null,
    "paymentReference": null,
    "paymentLinkUrl": "https://app.runaltitude.com/pay/…",
    "notes": "Thanks for choosing us.",
    "lineItems": [
      {
        "id": "1c2d3e4f-6666-4c8e-8d3f-1f2e3d4c5b01",
        "description": "Roof repair, garage",
        "quantity": 1,
        "unitAmountCents": 420000,
        "lineTotalCents": 420000
      },
      {
        "id": "1c2d3e4f-6666-4c8e-8d3f-1f2e3d4c5b02",
        "description": "Gutter guard (per foot)",
        "quantity": 40,
        "unitAmountCents": 750,
        "lineTotalCents": 30000
      }
    ],
    "discounts": [],
    "createdAt": "2026-11-01T15:01:00.000Z",
    "updatedAt": "2026-11-01T15:02:00.000Z"
  }
}
PATCH/invoices/{id}invoices:write

Change a draft invoice

Send only the fields to change. lineItems replaces all of the lines. Sent, paid and void invoices can't be changed (409). Needs invoices:write.

ParameterInDescription
idpathInvoice id.

Request body

{
  "dueAt": "2026-11-20",
  "notes": "Net 15"
}
DELETE/invoices/{id}invoices:write

Delete an unsent invoice

Deletes a draft, or one voided before it was ever sent. Anything the customer may have received can only be voided. Needs invoices:write.

ParameterInDescription
idpathInvoice id.
POST/invoices/{id}/sendinvoices:write

Send an invoice

Emails or texts a draft to the customer (by the workspace's notification settings) with a pay link, and sends the invoice.sent webhook. Needs invoices:write.

ParameterInDescription
idpathInvoice id.
POST/invoices/{id}/voidinvoices:write

Void an invoice

Voids a draft or sent invoice so it can't be paid. Paid invoices are refunded in Stripe instead. Repeating it is safe. Needs invoices:write.

ParameterInDescription
idpathInvoice id.
GET/invoices/{id}/paymentsinvoices:read

List an invoice's payments

Online payments (Stripe, Square) that took money or are still clearing, and the payment recorded by hand if there was one. Needs invoices:read.

ParameterInDescription
idpathInvoice id.
POST/invoices/{id}/paymentsinvoices:write

Record a payment

Marks a sent invoice paid for a payment made outside ALTITUDE (cash, check, bank transfer). Any open online checkout for it is closed first so the customer can't pay twice. Sends the invoice.paid webhook. Only full payments for now: amountCents, if sent, must equal the total. Needs invoices:write.

ParameterInDescription
idpathInvoice id.

Request body

{
  "method": "check",
  "reference": "1187",
  "paidAt": "2026-11-03"
}

Estimates

GET/estimatesestimates:read

List estimates

Estimates, newest first. status=expired gives sent estimates past expiresAt (and status=sent leaves those out). Needs estimates:read.

ParameterInDescription
statusquerydraft, sent, accepted, declined, expired or converted. One of draft, sent, accepted, declined, expired, converted.
leadIdqueryEstimates for this lead.
contactIdqueryEstimates for this contact.
externalIdqueryYour own id.
qquerySearch estimate number, customer name and email.
limitqueryHow many to return (1 to 100, default 50).
cursorquerynextCursor from the previous page.
updatedSincequeryOnly rows changed at or after this ISO date-time. Handy for syncing.

Response

{
  "estimates": [
    {
      "id": "5c6d7e8f-8888-4c8e-8d3f-1f2e3d4c5b6a",
      "number": "EST-0311",
      "status": "sent",
      "displayStatus": "sent",
      "externalId": null,
      "leadId": "7e3b9c10-3333-4c8e-8d3f-1f2e3d4c5b6a",
      "contactId": null,
      "appointmentId": null,
      "invoiceId": null,
      "customer": {
        "name": "Dana Ruiz",
        "email": "dana@example.com",
        "phone": "(636) 555-0142",
        "address": {
          "street": "12 Oak St",
          "line2": null,
          "city": "St. Charles",
          "state": "MO",
          "zip": "63301",
          "country": null
        },
        "addressText": "12 Oak St\nSt. Charles, MO 63301"
      },
      "currency": "USD",
      "subtotalCents": 450000,
      "discountCents": 0,
      "taxCents": 0,
      "totalCents": 450000,
      "expiresAt": "2026-11-30T12:00:00.000Z",
      "sentAt": "2026-11-01T15:02:00.000Z",
      "acceptedAt": null,
      "declinedAt": null,
      "convertedAt": null,
      "notes": null,
      "terms": "50% deposit before work starts.",
      "lineItems": [
        {
          "id": "1c2d3e4f-6666-4c8e-8d3f-1f2e3d4c5b01",
          "description": "Roof repair, garage",
          "quantity": 1,
          "unitAmountCents": 420000,
          "lineTotalCents": 420000
        },
        {
          "id": "1c2d3e4f-6666-4c8e-8d3f-1f2e3d4c5b02",
          "description": "Gutter guard (per foot)",
          "quantity": 40,
          "unitAmountCents": 750,
          "lineTotalCents": 30000
        }
      ],
      "discounts": [],
      "createdAt": "2026-11-01T15:01:00.000Z",
      "updatedAt": "2026-11-01T15:02:00.000Z"
    }
  ],
  "nextCursor": null
}
POST/estimatesestimates:write

Create an estimate

Creates a draft estimate, like an invoice. send: true emails or texts it so the customer can accept it in their portal. externalId and ifExists work as for invoices. Needs estimates:write (an owner or admin's key).

Request body

{
  "leadId": "7e3b9c10-3333-4c8e-8d3f-1f2e3d4c5b6a",
  "expiresAt": "2026-11-30",
  "lineItems": [
    {
      "description": "Roof repair, garage",
      "unitAmountCents": 420000
    }
  ]
}

Response

{
  "status": "created",
  "estimate": {
    "id": "5c6d7e8f-8888-4c8e-8d3f-1f2e3d4c5b6a",
    "number": "EST-0311",
    "status": "sent",
    "displayStatus": "sent",
    "externalId": null,
    "leadId": "7e3b9c10-3333-4c8e-8d3f-1f2e3d4c5b6a",
    "contactId": null,
    "appointmentId": null,
    "invoiceId": null,
    "customer": {
      "name": "Dana Ruiz",
      "email": "dana@example.com",
      "phone": "(636) 555-0142",
      "address": {
        "street": "12 Oak St",
        "line2": null,
        "city": "St. Charles",
        "state": "MO",
        "zip": "63301",
        "country": null
      },
      "addressText": "12 Oak St\nSt. Charles, MO 63301"
    },
    "currency": "USD",
    "subtotalCents": 450000,
    "discountCents": 0,
    "taxCents": 0,
    "totalCents": 450000,
    "expiresAt": "2026-11-30T12:00:00.000Z",
    "sentAt": "2026-11-01T15:02:00.000Z",
    "acceptedAt": null,
    "declinedAt": null,
    "convertedAt": null,
    "notes": null,
    "terms": "50% deposit before work starts.",
    "lineItems": [
      {
        "id": "1c2d3e4f-6666-4c8e-8d3f-1f2e3d4c5b01",
        "description": "Roof repair, garage",
        "quantity": 1,
        "unitAmountCents": 420000,
        "lineTotalCents": 420000
      },
      {
        "id": "1c2d3e4f-6666-4c8e-8d3f-1f2e3d4c5b02",
        "description": "Gutter guard (per foot)",
        "quantity": 40,
        "unitAmountCents": 750,
        "lineTotalCents": 30000
      }
    ],
    "discounts": [],
    "createdAt": "2026-11-01T15:01:00.000Z",
    "updatedAt": "2026-11-01T15:02:00.000Z"
  }
}
GET/estimates/{id}estimates:read

Get an estimate

ParameterInDescription
idpathEstimate id.

Response

{
  "estimate": {
    "id": "5c6d7e8f-8888-4c8e-8d3f-1f2e3d4c5b6a",
    "number": "EST-0311",
    "status": "sent",
    "displayStatus": "sent",
    "externalId": null,
    "leadId": "7e3b9c10-3333-4c8e-8d3f-1f2e3d4c5b6a",
    "contactId": null,
    "appointmentId": null,
    "invoiceId": null,
    "customer": {
      "name": "Dana Ruiz",
      "email": "dana@example.com",
      "phone": "(636) 555-0142",
      "address": {
        "street": "12 Oak St",
        "line2": null,
        "city": "St. Charles",
        "state": "MO",
        "zip": "63301",
        "country": null
      },
      "addressText": "12 Oak St\nSt. Charles, MO 63301"
    },
    "currency": "USD",
    "subtotalCents": 450000,
    "discountCents": 0,
    "taxCents": 0,
    "totalCents": 450000,
    "expiresAt": "2026-11-30T12:00:00.000Z",
    "sentAt": "2026-11-01T15:02:00.000Z",
    "acceptedAt": null,
    "declinedAt": null,
    "convertedAt": null,
    "notes": null,
    "terms": "50% deposit before work starts.",
    "lineItems": [
      {
        "id": "1c2d3e4f-6666-4c8e-8d3f-1f2e3d4c5b01",
        "description": "Roof repair, garage",
        "quantity": 1,
        "unitAmountCents": 420000,
        "lineTotalCents": 420000
      },
      {
        "id": "1c2d3e4f-6666-4c8e-8d3f-1f2e3d4c5b02",
        "description": "Gutter guard (per foot)",
        "quantity": 40,
        "unitAmountCents": 750,
        "lineTotalCents": 30000
      }
    ],
    "discounts": [],
    "createdAt": "2026-11-01T15:01:00.000Z",
    "updatedAt": "2026-11-01T15:02:00.000Z"
  }
}
PATCH/estimates/{id}estimates:write

Change a draft estimate

Send only the fields to change. lineItems replaces all of the lines. Needs estimates:write.

ParameterInDescription
idpathEstimate id.

Request body

{
  "terms": "Price good for 30 days."
}
DELETE/estimates/{id}estimates:write

Delete an unsent estimate

ParameterInDescription
idpathEstimate id.
POST/estimates/{id}/sendestimates:write

Send an estimate

Emails or texts a draft estimate to the customer and sends the estimate.sent webhook. Needs estimates:write.

ParameterInDescription
idpathEstimate id.
POST/estimates/{id}/acceptestimates:write

Record that it was accepted

For a customer who said yes outside the portal (by phone, email, in person). Sends estimate.approved. Needs estimates:write.

ParameterInDescription
idpathEstimate id.
POST/estimates/{id}/declineestimates:write

Record that it was declined

Sends estimate.declined. Needs estimates:write.

ParameterInDescription
idpathEstimate id.
POST/estimates/{id}/convertestimates:write

Turn it into an invoice

Makes a draft invoice from an accepted estimate, with the same lines and discounts. Repeating it returns the same invoice. Needs estimates:write and invoices:write.

ParameterInDescription
idpathEstimate id.

Money in

GET/incomeincome:read

List sales

Sales, newest first. from and to are calendar days in the workspace's time zone, both included. Needs income:read (an owner or admin's key).

ParameterInDescription
sourcequeryWhere it was paid. One of stripe, apple, google, manual, altitude_invoice, email, order.
bucketqueryWhich bucket (one of your money-in group keys).
externalIdqueryYour own id for the sale.
leadIdquerySales linked to this lead.
contactIdquerySales linked to this contact.
fromqueryFirst day, like 2026-11-01.
toqueryLast day, like 2026-11-30.
updatedSincequeryOnly sales changed at or after this date-time.
limitquery1 to 100. Default 50.
cursorquerynextCursor from the previous page.

Response

{
  "transactions": [
    {
      "id": "5a1e0000-0000-4000-8000-000000000000",
      "source": "apple",
      "status": "confirmed",
      "bucket": "subscriptions",
      "externalId": "2000000812345678",
      "occurredOn": "2026-11-02",
      "occurredAt": "2026-11-02T17:30:00.000Z",
      "amountCents": 3999,
      "feeCents": 600,
      "refundedCents": 0,
      "returnFeeCents": 0,
      "netCents": 3399,
      "refundedAt": null,
      "currency": "USD",
      "description": "Premium yearly",
      "customerName": null,
      "customerEmail": null,
      "leadId": null,
      "contactId": null,
      "metadata": {
        "productId": "premium_yearly"
      },
      "createdAt": "2026-11-02T17:30:05.000Z",
      "updatedAt": "2026-11-02T17:30:05.000Z"
    }
  ],
  "nextCursor": null
}
POST/incomeincome:write

Record a sale

Records one sale. externalId is required for stripe, apple and google (the charge or payment intent id, the App Store transactionId, the Google Play orderId), so sending it again never counts it twice: with ifExists skip (the default) the stored sale comes back, with update it's changed to what you sent, which is how to send a refund or a late fee. occurredAt or occurredOn is required. Don't send payments on ALTITUDE invoices; they're counted already. Needs income:write (an owner or admin's key).

Request body

{
  "source": "apple",
  "bucket": "subscriptions",
  "externalId": "2000000812345678",
  "amountCents": 3999,
  "feeCents": 600,
  "occurredAt": "2026-11-02T17:30:00Z",
  "description": "Premium yearly",
  "metadata": {
    "productId": "premium_yearly"
  }
}

Response

{
  "status": "created",
  "transaction": {
    "id": "5a1e0000-0000-4000-8000-000000000000",
    "source": "apple",
    "status": "confirmed",
    "bucket": "subscriptions",
    "externalId": "2000000812345678",
    "occurredOn": "2026-11-02",
    "occurredAt": "2026-11-02T17:30:00.000Z",
    "amountCents": 3999,
    "feeCents": 600,
    "refundedCents": 0,
    "returnFeeCents": 0,
    "netCents": 3399,
    "refundedAt": null,
    "currency": "USD",
    "description": "Premium yearly",
    "customerName": null,
    "customerEmail": null,
    "leadId": null,
    "contactId": null,
    "metadata": {
      "productId": "premium_yearly"
    },
    "createdAt": "2026-11-02T17:30:05.000Z",
    "updatedAt": "2026-11-02T17:30:05.000Z"
  }
}
POST/income/batchincome:write

Record many sales

Up to 100 sales in one call, each handled like POST /income and reported on its own (one bad item doesn't stop the rest). Counts toward the rate limit as 1 request per 10 sales. Needs income:write.

Request body

{
  "ifExists": "update",
  "transactions": [
    {
      "source": "stripe",
      "bucket": "sales",
      "externalId": "ch_3Qx0000000000000",
      "amountCents": 49900,
      "feeCents": 1477,
      "occurredAt": "2026-11-02T15:04:00Z"
    }
  ]
}
GET/income/summaryincome:read

Totals per bucket

Gross, fees, refunds and net for a date range, overall and per bucket (every money-in group of the workspace). Leave from and to out for all time. Needs income:read.

ParameterInDescription
fromqueryFirst day, like 2026-11-01.
toqueryLast day, like 2026-11-30.
sourcequeryOnly sales from this source. One of stripe, apple, google, manual, altitude_invoice, email, order.
GET/income/{id}income:read

Get a sale

Needs income:read.

ParameterInDescription
idpathSale id.
PATCH/income/{id}income:write

Update a sale

Change the bucket, amounts, date, customer, links or metadata. For a refund send the new refundedCents total (refundedAt defaults to now). source and externalId can't change, and sales ALTITUDE recorded for its own invoices can't be changed here. Needs income:write.

ParameterInDescription
idpathSale id.

Request body

{
  "refundedCents": 3999
}
DELETE/income/{id}income:write

Delete a sale

For a sale recorded by mistake. A real refund is an update to refundedCents instead. Needs income:write.

ParameterInDescription
idpathSale id.

Orders

GET/ordersorders:read

List orders

Orders, newest first. from and to are calendar days in the workspace's time zone, both included. Needs orders:read (an owner or admin's key).

ParameterInDescription
externalIdqueryYour own id for the order.
fromqueryFirst day, like 2026-11-01.
toqueryLast day, like 2026-11-30.
updatedSincequeryOnly orders changed at or after this date-time.
paymentStatusqueryOnly orders with this payment status. One of pending, paid, canceled.
fulfillmentStatusqueryOnly orders with this fulfillment status. One of unfulfilled, in_production, shipped, delivered, on_hold, canceled, failed.
limitquery1 to 200. Default 50.
offsetqueryHow many to skip.
POST/ordersorders:write

Send an order

Saves one order. externalId (your own order id), orderNumber, placedAt and totalCents are required. Sending the same externalId again never adds a second order: with ifExists skip (the default) the stored order comes back, with update it's changed to what you sent. Needs orders:write (an owner or admin's key).

Request body

{
  "externalId": "web_10786",
  "orderNumber": "10786",
  "channel": "Website",
  "placedAt": "2026-11-23T17:30:00Z",
  "customer": {
    "name": "Sam Rivera",
    "email": "sam@example.com"
  },
  "shipTo": {
    "name": "Sam Rivera",
    "line1": "12 Elm St",
    "city": "Washington",
    "state": "MO",
    "zip": "63090",
    "country": "US"
  },
  "items": [
    {
      "name": "Snow Day Hoodie",
      "variant": "Navy / L",
      "sku": "SDH-NAVY-L",
      "quantity": 1,
      "unitPriceCents": 3499
    }
  ],
  "shippingCents": 715,
  "taxCents": 290,
  "totalCents": 4504,
  "paymentStatus": "paid",
  "paymentMethod": "Card",
  "stripePaymentIntentId": "pi_3Qx0000000000000",
  "fulfillmentService": "Printful"
}
POST/orders/batchorders:write

Send many orders

Up to 100 orders in one call (for bringing in past orders), each handled like POST /orders and reported on its own. Counts toward the rate limit as 1 request per 10 orders. Needs orders:write.

GET/orders/{id}orders:read

Get an order

Needs orders:read.

ParameterInDescription
idpathOrder id.
PATCH/orders/{id}orders:write

Update an order

Send only what changed. A refund is the new refundedCents total, tax included (refundedAt defaults to now). shipments replaces the list. A paid order can't go back to pending or canceled; refund it instead. externalId and currency can't change. Needs orders:write.

ParameterInDescription
idpathOrder id.

Request body

{
  "fulfillmentStatus": "shipped",
  "shipments": [
    {
      "carrier": "USPS",
      "trackingNumber": "9400100000000000000000",
      "trackingUrl": "https://tools.usps.com/go/TrackConfirmAction?tLabels=9400100000000000000000"
    }
  ]
}

Products

GET/productsproducts:read

List products for sale

Active products with their active variants, in the order set on the Products page. With channelId, only what is listed on that sales channel, with its price overrides and stock rules. available is how many can be sold now when the variant counts stock (null when it doesn't, like made-to-order items). Needs products:read.

ParameterInDescription
channelIdqueryA sales channel id, like your website channel.
handlequeryThe product's web address name, like storm-chaser-hoodie.
updatedSincequeryOnly products changed at or after this date-time.
limitquery1 to 200. Default 50.
offsetqueryHow many to skip.
GET/products/{id}products:read

Get a product

One active product by its id or its web address name (handle). Needs products:read.

ParameterInDescription
idpathThe product's id or handle.
channelIdqueryA sales channel id, for that channel's prices and stock rules.

Schedule

GET/appointmentsschedule:read

List visits

Visits that overlap from..to, earliest first. The window defaults to the next 31 days and can be at most 93 days. Needs schedule:read.

ParameterInDescription
fromqueryStart of the window (ISO date-time). Defaults to now.
toqueryEnd of the window (ISO date-time). Defaults to 31 days after from.
assignedToqueryVisits for this team member (id or email).
leadIdqueryVisits for this lead.
contactIdqueryVisits for this contact.
statusqueryscheduled, completed or canceled. One of scheduled, completed, canceled.
limitquery1 to 500, default 100.
cursorquerynextCursor from the previous page.

Response

{
  "appointments": [
    {
      "id": "7b8c9d0e-6666-4c8e-8d3f-1f2e3d4c5b6a",
      "title": "Roof inspection",
      "notes": "Gate code 4411",
      "type": "service",
      "status": "scheduled",
      "startsAt": "2026-11-12T15:00:00.000Z",
      "endsAt": "2026-11-12T16:00:00.000Z",
      "assignedTo": {
        "id": "3c4d5e6f-1111-4c8e-8d3f-1f2e3d4c5b6a",
        "name": "Sam Rivera"
      },
      "lead": {
        "id": "7e3b9c10-3333-4c8e-8d3f-1f2e3d4c5b6a",
        "name": "Dana Ruiz",
        "email": "dana@example.com",
        "phone": "(636) 555-0142"
      },
      "contact": null,
      "location": {
        "addressLine1": "412 Oak St",
        "addressLine2": null,
        "city": "St. Louis",
        "state": "MO",
        "postalCode": "63110",
        "country": "US",
        "lat": null,
        "lng": null
      },
      "meetingUrl": null,
      "bookingServiceId": null,
      "createdAt": "2026-11-10T14:00:00.000Z",
      "updatedAt": "2026-11-10T14:00:00.000Z"
    }
  ],
  "nextCursor": null,
  "from": "2026-11-10T00:00:00.000Z",
  "to": "2026-12-11T00:00:00.000Z"
}
POST/appointmentsschedule:write

Add a visit

Adds a visit at any time, like adding one on the schedule in the app. Warnings (double booked, time off, outside working hours) come back with it and never block the save. The customer's confirmation follows your settings in Admin, Notifications. To book an open time the way your booking page does, use POST /bookings. Needs schedule:write.

Request body

{
  "title": "Roof inspection",
  "startsAt": "2026-11-12T15:00:00Z",
  "durationMinutes": 60,
  "assignedTo": "sam@example.com",
  "leadId": "7e3b9c10-3333-4c8e-8d3f-1f2e3d4c5b6a"
}

Response

{
  "appointment": {
    "id": "7b8c9d0e-6666-4c8e-8d3f-1f2e3d4c5b6a",
    "title": "Roof inspection",
    "notes": "Gate code 4411",
    "type": "service",
    "status": "scheduled",
    "startsAt": "2026-11-12T15:00:00.000Z",
    "endsAt": "2026-11-12T16:00:00.000Z",
    "assignedTo": {
      "id": "3c4d5e6f-1111-4c8e-8d3f-1f2e3d4c5b6a",
      "name": "Sam Rivera"
    },
    "lead": {
      "id": "7e3b9c10-3333-4c8e-8d3f-1f2e3d4c5b6a",
      "name": "Dana Ruiz",
      "email": "dana@example.com",
      "phone": "(636) 555-0142"
    },
    "contact": null,
    "location": {
      "addressLine1": "412 Oak St",
      "addressLine2": null,
      "city": "St. Louis",
      "state": "MO",
      "postalCode": "63110",
      "country": "US",
      "lat": null,
      "lng": null
    },
    "meetingUrl": null,
    "bookingServiceId": null,
    "createdAt": "2026-11-10T14:00:00.000Z",
    "updatedAt": "2026-11-10T14:00:00.000Z"
  },
  "warnings": []
}
GET/appointments/{id}schedule:read

Get a visit

ParameterInDescription
idpathVisit id.

Response

{
  "appointment": {
    "id": "7b8c9d0e-6666-4c8e-8d3f-1f2e3d4c5b6a",
    "title": "Roof inspection",
    "notes": "Gate code 4411",
    "type": "service",
    "status": "scheduled",
    "startsAt": "2026-11-12T15:00:00.000Z",
    "endsAt": "2026-11-12T16:00:00.000Z",
    "assignedTo": {
      "id": "3c4d5e6f-1111-4c8e-8d3f-1f2e3d4c5b6a",
      "name": "Sam Rivera"
    },
    "lead": {
      "id": "7e3b9c10-3333-4c8e-8d3f-1f2e3d4c5b6a",
      "name": "Dana Ruiz",
      "email": "dana@example.com",
      "phone": "(636) 555-0142"
    },
    "contact": null,
    "location": {
      "addressLine1": "412 Oak St",
      "addressLine2": null,
      "city": "St. Louis",
      "state": "MO",
      "postalCode": "63110",
      "country": "US",
      "lat": null,
      "lng": null
    },
    "meetingUrl": null,
    "bookingServiceId": null,
    "createdAt": "2026-11-10T14:00:00.000Z",
    "updatedAt": "2026-11-10T14:00:00.000Z"
  }
}
PATCH/appointments/{id}schedule:write

Change a visit

Move a visit, change who does it, the customer, details or status. Sending only startsAt keeps the visit's length. The customer hears about a new time or a cancel unless notifyCustomer is false. A canceled visit can't be changed. Needs schedule:write.

ParameterInDescription
idpathVisit id.

Request body

{
  "startsAt": "2026-11-13T15:00:00Z"
}
POST/appointments/{id}/cancelschedule:write

Cancel a visit

Cancels a visit. The customer gets the cancel notice unless notifyCustomer is false. Safe to repeat. Needs schedule:write.

ParameterInDescription
idpathVisit id.
POST/appointments/{id}/completeschedule:write

Mark a visit done

Marks a visit done and runs the same follow-ups as the app, like the review request. Safe to repeat. Needs schedule:write.

ParameterInDescription
idpathVisit id.

Online booking

GET/booking/servicesschedule:read

List bookable services

The services customers can book, your business's time zone, and whether online booking can take a visit right now (gaps says what's missing). Needs schedule:read.

Response

{
  "bookingOn": true,
  "gaps": [],
  "timezone": "America/Chicago",
  "services": [
    {
      "id": "9d0e1f2a-7777-4c8e-8d3f-1f2e3d4c5b6a",
      "name": "Free roof inspection",
      "description": null,
      "durationMinutes": 60,
      "type": "estimate"
    }
  ]
}
GET/booking/availabilityschedule:read

Find open times

Open times for a service, day by day in your business's time zone, with the same rules as your booking page (notice, how far ahead, time between visits, who's free). At most 14 days per call. Needs schedule:read.

ParameterInDescription
serviceIdqueryA service from /booking/services.
datequeryFirst day (YYYY-MM-DD). Defaults to today.
daysquery1 to 14, default 7.

Response

{
  "timezone": "America/Chicago",
  "serviceId": "9d0e1f2a-7777-4c8e-8d3f-1f2e3d4c5b6a",
  "today": "2026-11-10",
  "lastDate": "2026-12-10",
  "days": [
    {
      "date": "2026-11-12",
      "slots": [
        {
          "startsAt": "2026-11-12T15:00:00.000Z",
          "endsAt": "2026-11-12T16:00:00.000Z"
        }
      ]
    }
  ]
}
POST/bookingsschedule:write

Book an open time

Books an open time for a customer exactly like your booking page: startsAt must be an open time from /booking/availability, the visit goes to whoever is free, and the customer becomes (or matches) a lead and gets the same confirmation. Send requestId (any UUID, the same on every retry) so a retry can't book twice. A taken time returns 409. Needs schedule:write.

Request body

{
  "serviceId": "9d0e1f2a-7777-4c8e-8d3f-1f2e3d4c5b6a",
  "startsAt": "2026-11-12T15:00:00.000Z",
  "name": "Jordan Lee",
  "email": "jordan@example.com",
  "phone": "+13145550100",
  "requestId": "0f1e2d3c-4b5a-4968-8776-655443322110"
}

Response

{
  "booking": {
    "appointmentId": "7b8c9d0e-6666-4c8e-8d3f-1f2e3d4c5b6a",
    "leadId": "7e3b9c10-3333-4c8e-8d3f-1f2e3d4c5b6a",
    "existingLead": false,
    "assignedTo": "3c4d5e6f-1111-4c8e-8d3f-1f2e3d4c5b6a",
    "serviceName": "Free roof inspection",
    "startsAt": "2026-11-12T15:00:00.000Z",
    "endsAt": "2026-11-12T16:00:00.000Z",
    "whenLabel": "Thu, Nov 12 at 9:00 AM CST",
    "duplicate": false
  }
}

Webhooks

GET/webhook-eventsany

List webhook events

Every event a webhook can subscribe to, with the fields its payload carries. Any valid key can call it.

Response

{
  "events": [
    {
      "key": "lead.created",
      "description": "A new lead was added.",
      "entity": "lead",
      "fields": [
        "leadId",
        "pipelineId",
        "stageId"
      ]
    }
  ]
}
GET/webhookswebhooks:manage

List webhooks

The workspace's webhooks and each one's last delivery. Needs webhooks:manage (an owner or admin's key).

Response

{
  "webhooks": [
    {
      "id": "8a9b0c1d-5555-4c8e-8d3f-1f2e3d4c5b6a",
      "name": "hooks.zapier.com",
      "url": "https://hooks.zapier.com/hooks/catch/123/abc/",
      "enabled": true,
      "events": [
        "form.submitted",
        "lead.created"
      ],
      "createdAt": "2026-10-31T15:01:00.000Z",
      "lastDelivery": null
    }
  ]
}
POST/webhookswebhooks:manage

Subscribe to events

Subscribes a public HTTPS URL to events. The response includes signingSecret, shown only this once: use it to check the X-Altitude-Signature header. Tools like Zapier, Make and n8n subscribe here and unsubscribe with DELETE. Needs webhooks:manage.

Request body

{
  "url": "https://hooks.zapier.com/hooks/catch/123/abc/",
  "events": [
    "form.submitted",
    "lead.created"
  ]
}

Response

{
  "webhook": {
    "id": "8a9b0c1d-5555-4c8e-8d3f-1f2e3d4c5b6a",
    "name": "hooks.zapier.com",
    "url": "https://hooks.zapier.com/hooks/catch/123/abc/",
    "enabled": true,
    "events": [
      "form.submitted",
      "lead.created"
    ],
    "createdAt": "2026-10-31T15:01:00.000Z",
    "lastDelivery": null,
    "signingSecret": "whsec_…"
  }
}
GET/webhooks/{id}webhooks:manage

Get a webhook

ParameterInDescription
idpathWebhook id.
PATCH/webhooks/{id}webhooks:manage

Change a webhook

Change its name, URL or events, or pause it with enabled: false. events replaces the whole list. Needs webhooks:manage.

ParameterInDescription
idpathWebhook id.

Request body

{
  "enabled": false
}
DELETE/webhooks/{id}webhooks:manage

Unsubscribe

ParameterInDescription
idpathWebhook id.
POST/webhooks/{id}/testwebhooks:manage

Send a test event

Sends a test.ping event right away and reports whether the URL accepted it. Counts as 5 requests. Needs webhooks:manage.

ParameterInDescription
idpathWebhook id.

Response

{
  "delivered": true,
  "httpStatus": 200,
  "error": null
}

Task fields: title (required, up to 500 characters), pipeline (required when creating, unless the batch names one), description (up to 20,000), column, dueAt, priority (low, normal, high, urgent), assigneeEmail or assigneeId (a team member), leadId, completed, externalId. Up to 100 tasks per batch. The full schema is in the OpenAPI file.

Websites, Wix and forms

There are three good ways to get website enquiries into ALTITUDE as leads. Pick one.

  1. Embed an ALTITUDE form (easiest, no code). Build the form in Settings → Forms, publish it, then paste its code into your site. In Wix, add an Embed HTML element; in Wix Studio use Embed code → Custom code; in WordPress a Custom HTML block; in Squarespace a Code block. The code is safe to put on a public page: it contains the form's id, never a key. GET /forms returns each published form's link and embed code, so an AI site builder can drop it in for you.
    <div data-altitude-form="FORM_ID"></div>
    <script src="https://app.runaltitude.com/forms/embed.js" async></script>
  2. Keep your own form and send it to the API from the server. Most builders can run code on the server when a form is submitted (Wix Velo backend code or Automations, Webflow logic, a Next.js route, a serverless function). Store the key in the builder's secret store (in Wix: Secrets Manager) and call POST /leads from there, passing the entry's id as externalId. Never call the API from code that runs in the visitor's browser.
    // Wix Velo: backend/altitude.web.js
    import { Permissions, webMethod } from "wix-web-module";
    import { getSecret } from "wix-secrets-backend";
    import { fetch } from "wix-fetch";
    
    export const sendLead = webMethod(Permissions.Anyone, async (entry) => {
      const key = await getSecret("ALTITUDE_KEY");
      const res = await fetch("https://app.runaltitude.com/api/v1/leads", {
        method: "POST",
        headers: { Authorization: `Bearer ${key}`, "Content-Type": "application/json" },
        body: JSON.stringify({
          name: entry.name, email: entry.email, phone: entry.phone, notes: entry.message,
          externalId: entry.id, utm: { source: entry.utmSource, campaign: entry.utmCampaign },
        }),
      });
      return res.ok;
    });
  3. Connect it with Zapier, Make or n8n. Use the builder's "new form entry" trigger and an HTTP step that calls POST /leads with your key. To send ALTITUDE events the other way, subscribe a webhook (below).

Give a lead-only key just leads:write, so a leaked website key can add leads but can't read your customer list.

Webhooks

A webhook sends a signed POST to your URL when something happens in ALTITUDE. Add one in Settings → API & AI connections → Webhooks, or with POST /webhooks (a webhooks:manage key) so tools like Zapier, Make and n8n can subscribe and unsubscribe on their own.

  • URLs must be public https:// addresses on the standard port. Redirects aren't followed.
  • Reply with any 2xx status within 15 seconds. Anything else is retried after 1, 5, 15 and 60 minutes (5 tries in all), then marked failed.
  • Delivery is at least once: the same event can arrive twice. Use the X-Altitude-Delivery-Id header to ignore repeats.
  • A workspace can have 25 webhooks. Pause one with enabled: false instead of deleting it.

What arrives

POST /your/url
Content-Type: application/json
X-Altitude-Event: lead.created
X-Altitude-Delivery-Id: 1f0e…
X-Altitude-Signature: sha256=5d41…
X-Altitude-Webhook-Version: 1

{
  "event": "lead.created",
  "workspaceId": "11b2710e-…",
  "timestamp": "2026-10-31T15:01:00.000Z",
  "payload": {
    "leadId": "7e3b9c10-…",
    "pipelineId": "5d0f4a1e-…",
    "stageId": "0a7e0b52-…"
  }
}

Check the signature

The signature is an HMAC-SHA256 of the raw request body with your webhook's signing secret (shown once, when you add it). Reject any request where it doesn't match.

import crypto from "node:crypto";

function isFromAltitude(rawBody, signatureHeader, secret) {
  const expected = "sha256=" + crypto.createHmac("sha256", secret).update(rawBody).digest("hex");
  const a = Buffer.from(expected), b = Buffer.from(signatureHeader || "");
  return a.length === b.length && crypto.timingSafeEqual(a, b);
}

Events

EventWhenPayload fields
lead.createdA new lead was added (from a form, chat, text, the app or the API).leadId, pipelineId, stageId, assignedProfileId, createdByUserId, leadSourceType, leadSourceId
lead.archivedA lead was archived, won or lost.leadId, reason, outcome, contactId
lead.wonA lead was archived as won (for example Sale Completed).leadId, reason, contactId
lead.lostA lead was archived as lost.leadId, reason, contactId
lead.stage_changedA lead moved to another stage of its pipeline.leadId, pipelineId, fromStageId, toStageId, assignedProfileId, createdByUserId
lead.stalledA lead has been stuck at the same signup step for a while (sent by a "Nudge people who stall" sequence), so your app can remind them.leadId, leadExternalId, contactId, pipelineId, stageId, stageKey, stageName, reachedAt
review.linkedA review was linked to a contact.reviewId, contactId, rating, locationId, matchMethod
review.unlinkedA review was unlinked from a contact.reviewId, contactId
review.state_changedA review's status changed.reviewId, fromReviewState, toReviewState, contactId
review.unmatched_newA new review came in that isn't matched to a contact yet.reviewId, rating, locationId, contactId
contact.createdA new contact was added.contactId, name, email, phone, company, externalId
contact.created_from_reviewA contact was made from a review.contactId, reviewId, name
form.submittedSomeone filled in one of your website forms. Includes their answers.formId, submissionId, formName, leadId, contactId, fields
task.createdA task was created.taskId, title, pipelineId, stageId, leadId, assignedUserId
task.completedA task was marked done.taskId, title, pipelineId, leadId
invoice.sentAn invoice was sent to the customer.invoiceId, invoiceNumber, totalCents, currency, dueAt, leadId, contactId, source
invoice.paidAn invoice was paid (online, or marked paid in the app or the API).invoiceId, amount, amountCents, currency, leadId, contactId, provider, paidAt, invoiceNumber, totalCents, source
estimate.sentAn estimate was sent to the customer.estimateId, estimateNumber, totalCents, currency, expiresAt, leadId, contactId, source
estimate.approvedAn estimate was accepted, by the customer in the portal or by your team.estimateId, estimateNumber, totalCents, currency, leadId, contactId, acceptedByName, source
estimate.declinedAn estimate was declined.estimateId, estimateNumber, totalCents, currency, leadId, contactId, source
order.createdAn order came in from your store (through the API). Holds the order id, number, statuses, totals and tracking, never the buyer's details.orderId, orderNumber, externalId, paymentStatus, fulfillmentStatus, totalCents, refundedCents, currency, shipments
order.updatedAn order changed: paid, refunded, shipped, delivered or a new tracking number.orderId, orderNumber, externalId, paymentStatus, fulfillmentStatus, totalCents, refundedCents, currency, shipments
appointment.bookedA visit was booked: in the app, through the API, on your booking page, or by the customer in the portal.appointmentId, startsAt, endsAt, title, status, type, assignedUserId, leadId, contactId, bookingServiceId, source
appointment.rescheduledA visit moved to a new time. Includes the old time.appointmentId, startsAt, endsAt, title, status, type, assignedUserId, leadId, contactId, bookingServiceId, source, previousStartsAt, previousEndsAt
appointment.canceledA visit was canceled.appointmentId, startsAt, endsAt, title, status, type, assignedUserId, leadId, contactId, bookingServiceId, source
appointment.completedA visit was marked done.appointmentId, startsAt, endsAt, title, status, type, assignedUserId, leadId, contactId, bookingServiceId, source
website.publishedA website release went live (publish or rollback). Holds ids and the publication number only; fetch the content from the delivery API.siteId, siteKey, seq, releaseId, schemaVersion, action, releaseNumber, releaseHash
website.unpublishedA website was taken offline. Holds ids and the publication number only.siteId, siteKey, seq, action

MCP server for AI tools

AI assistants that speak the Model Context Protocol can use ALTITUDE directly. The server is stateless Streamable HTTP at https://app.runaltitude.com/api/mcp.

Claude.ai and ChatGPT

Add a custom connector with the address above and sign in with ALTITUDE when asked. A workspace owner or admin chooses what the app may do, and can disconnect it any time in Settings → API & AI connections. ALTITUDE supports MCP authorization: OAuth 2.1 with PKCE, dynamic client registration and discovery at /.well-known/oauth-protected-resource. Access tokens last an hour and refresh automatically.

Claude Code

claude mcp add --transport http altitude https://app.runaltitude.com/api/mcp

Then type /mcp in Claude Code and pick altitude to sign in with ALTITUDE. No key is stored in the command, your shell history or the chat.

Tools that need an API key (JSON config)

Keep the key in an environment variable such as ALTITUDE_API_KEY and reference it from the config. Never paste a key into an AI chat: the assistant's provider stores the conversation. This example is for Claude Code's .mcp.json, which reads ${ALTITUDE_API_KEY}. In Cursor's mcp.json, write ${env:ALTITUDE_API_KEY} instead.

{
  "mcpServers": {
    "altitude": {
      "type": "http",
      "url": "https://app.runaltitude.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${ALTITUDE_API_KEY}"
      }
    }
  }
}

Tools the assistant gets (only the ones the key's scopes allow). Failures come back as readable messages so the assistant can correct itself.

ToolScopeWhat it does
list_task_boardstasks:readList the workspace's task boards and their columns, in order.
create_task_boardpipelines:writeCreate a task board with columns. Safe to repeat: if a board with the same key (or name) exists it is returned and any missing columns are added at the end.
add_board_columnpipelines:writeAdd a column to a task board. Returns the existing column if one with that name is already there.
list_taskstasks:readList open tasks, optionally on one board or column. Use nextCursor to page.
create_taskstasks:writeAdd up to 100 tasks to task boards in one call. Give each task an externalId (your own stable id) so repeating the call skips tasks already added. Each result says created, existing, updated or error.
update_tasktasks:writeChange a task, move it to another column (or board), or mark it done with completed: true.
get_tasktasks:readGet one task by id.
list_team_memberstasks:readList the workspace's team members (to assign tasks by email).
list_sales_pipelinesleads:readList the sales pipelines leads move through, their stages in order, and the archive reasons (won or lost).
list_leadsleads:readList open leads, newest first. Filter by pipeline, stage, email, phone, externalId or a search term. Use nextCursor to page.
get_leadleads:readGet one lead by id.
create_leadleads:writeAdd a lead. Needs at least a name, email, phone or company. Goes to the default sales pipeline's first stage unless you name others. Give an externalId so repeating the call doesn't make a duplicate.
update_leadleads:writeChange a lead's details, reassign it, or move it to another stage of its pipeline.
archive_leadleads:writeClose a lead as won or lost with one of the workspace's archive reasons (see list_sales_pipelines).
record_lead_stepleads:writeRecord that a lead reached a step (a stage of its pipeline, by key or name), such as a signup step. The lead only moves forward and the customer isn't emailed.
list_lead_stepsleads:readThe steps a lead has reached, oldest first. Use nextCursor to page.
list_contactscontacts:readList contacts, newest first. Filter by email, phone, externalId or a search term. Use nextCursor to page.
get_contactcontacts:readGet one contact by id.
create_contactcontacts:writeAdd a contact. Needs at least a name, email, phone or company. Give an externalId so repeating the call doesn't make a duplicate.
update_contactcontacts:writeChange a contact's details.
list_formsleads:readList the workspace's published website forms, with each form's link, the code to paste into a website, and its questions.
list_invoicesinvoices:readList invoices, newest first, with customer, line items and totals (amounts are in cents). Filter by status (draft, sent, paid, void, overdue), lead, contact, externalId, a search term, or paidSince for payments received. Use nextCursor to page.
get_invoiceinvoices:readGet one invoice by id, with its line items, totals, pay link and payment status.
list_invoice_paymentsinvoices:readList the payments on one invoice: online (Stripe, Square) and any recorded by hand.
create_invoiceinvoices:writeCreate a draft invoice for a lead, a contact, or a customer you describe. Amounts are whole cents ($125.00 is 12500); tax comes from the workspace's settings. It stays a draft unless send is true, which emails or texts it to the customer with a pay link, so only send when the user asked to. Give an externalId so repeating the call doesn't make a duplicate.
update_invoiceinvoices:writeChange a draft invoice. lineItems, when given, replace all of its lines. Sent invoices can't be changed.
send_invoiceinvoices:writeEmail or text a draft invoice to the customer with its pay link. Only do this when the user asked to send it.
void_invoiceinvoices:writeVoid a draft or sent invoice so it can no longer be paid. This can't be undone.
record_invoice_paymentinvoices:writeMark a sent invoice paid because the customer paid outside ALTITUDE (cash, check, bank transfer). Card payments made through the pay link are recorded automatically; never use this to charge a card.
list_incomeincome:readList sales (money in), newest first, from Stripe, Apple App Store, Google Play or entered by hand. Amounts are in cents; netCents is what the business keeps after fees, refunds and any dispute fee (returnFeeCents). Filter by source, bucket (one of the workspace's money-in group keys), a date range (from/to, calendar days), lead or contact. Use nextCursor to page.
get_income_summaryincome:readTotals of money in for a date range, overall and per bucket (each of the workspace's money-in groups): gross, fees, refunds and net, in cents. Leave from/to out for all time.
get_incomeincome:readGet one sale (money in) by id.
record_incomeincome:writeRecord money that came in outside ALTITUDE invoices: a sponsor's payment, an ad purchase or an app subscription. Amounts are whole cents. Give the store's id as externalId (required unless source is manual) so repeating the call never counts the sale twice, and when it was paid as occurredAt (or the day as occurredOn); one of the two is required. Payments on ALTITUDE invoices are counted already; don't record them here.
update_incomeincome:writeChange a recorded sale: its bucket, fee, refund (send the new refundedCents total), date, customer or links.
list_ordersorders:readList orders from the business's own store, newest first, with items, buyer, totals (cents), payment status, fulfillment status and tracking. netCents is what the business kept: the total less sales tax, the card fee and refunds. Filter by a date range (from/to, calendar days), paymentStatus or fulfillmentStatus.
get_orderorders:readGet one order by id.
update_orderorders:writeChange an order: its fulfillment status, tracking (shipments replaces the list), a refund (the new refundedCents total, tax included) or the team's note. A paid order can't go back to unpaid; refund it instead.
list_estimatesestimates:readList estimates (quotes), newest first. Filter by status, lead, contact, externalId or a search term. Use nextCursor to page.
get_estimateestimates:readGet one estimate by id, with its line items and totals.
create_estimateestimates:writeCreate a draft estimate (quote) for a lead, a contact, or a customer you describe. Amounts are whole cents. It stays a draft unless send is true, which emails or texts it to the customer. Give an externalId so repeating the call doesn't make a duplicate.
update_estimateestimates:writeChange a draft estimate. lineItems, when given, replace all of its lines.
send_estimateestimates:writeEmail or text a draft estimate to the customer. Only do this when the user asked to send it.
record_estimate_answerestimates:writeRecord that the customer accepted or declined a sent estimate outside the portal (by phone, email or in person).
convert_estimate_to_invoiceestimates:write + invoices:writeTurn an accepted estimate into a draft invoice with the same lines. Safe to repeat: returns the same invoice.
list_appointmentsschedule:readList visits on the schedule that overlap a time window, earliest first. The window defaults to the next 31 days and can be at most 93 days. Filter by team member (id or email), lead, contact or status.
get_appointmentschedule:readGet one visit by id.
create_appointmentschedule:writeAdd a visit to the schedule at any time. Warnings (double booked, time off, outside hours) come back with it and never block the save. To book an open time the way the booking page does, use book_appointment instead.
update_appointmentschedule:writeMove a visit, change who does it, the customer, details or status. Moving only startsAt keeps the visit's length. The customer hears about a new time or a cancel unless notifyCustomer is false.
cancel_appointmentschedule:writeCancel a visit. The customer gets the cancel notice unless notifyCustomer is false. Safe to repeat.
complete_appointmentschedule:writeMark a visit done. Runs the same follow-ups as the app, like the review request. Safe to repeat.
list_booking_servicesschedule:readList the services customers can book online, the business's time zone, and whether online booking can take a visit right now (gaps says what's missing).
find_open_timesschedule:readOpen times for a bookable service, day by day in the business's time zone, with the same rules as the booking page. At most 14 days per call.
book_appointmentschedule:writeBook an open time for a customer exactly like the booking page: the time must come from find_open_times, the visit goes to whoever is free, and the customer becomes (or matches) a lead and gets the confirmation. Send requestId (a UUID) so a retry can't book twice.

Claude.ai and ChatGPT custom connectors sign in with OAuth instead of a pasted key. That sign-in is on the way; until then use Claude Code, Claude Desktop, Cursor or an agent framework.

Workflows and automations

Leads and contacts added or changed through the API run the workspace's automations, workflows and webhooks just like ones added in the app (lead.created, lead.stage_changed, contact.created, with payload.source = "api"), and they show up in search and the activity timeline.

Tasks made or completed through the API start the workspace's workflows like tasks made in the app (task.created, task.completed, with payload.source = "api"). Creation workflows run before the response returns. If they're still running when the request runs out of time, the task comes back with workflowsPending: true and they finish in the background.

What's coming

  • A QuickBooks Online sync.
  • Two-way Google and Outlook calendar sync.
  • Notes and activity on leads and contacts.

Changelog

  • 2026-11-24. Products: GET /products and GET /products/{id or handle} give your website the products you sell, with variants, prices, photos and how many can be sold now (never what they cost you). Add channelId to get only what is listed on one sales channel, with that channel's prices and stock rules. New scope: products:read.
  • 2026-11-23. Orders: send each order from your store with its items, buyer, ship-to, totals and payment, then send refunds, fulfillment status and tracking as they happen. A paid order counts in Income once, before sales tax; send stripePaymentIntentId when the card was charged through your connected Stripe account, so the Stripe import adds its fee to the order instead of counting the charge again. New webhook events: order.created, order.updated. New scopes: orders:read, orders:write (owner or admin keys).
  • 2026-11-10. The schedule and online booking: list, add, move, reassign, cancel and finish visits; list bookable services, find open times and book one for a customer the same way your booking page does. New webhook events: appointment.booked, appointment.rescheduled, appointment.canceled and appointment.completed. New scopes: schedule:read, schedule:write.
  • 2026-11-05. Each workspace now names its own money-in groups, and a bucket is one of their keys. New workspaces start with sales, subscriptions and other; an unknown bucket is refused with the list of keys. Totals per bucket list every group. With Stripe import on, ALTITUDE brings in your Stripe sales itself, so don't also send them.
  • 2026-11-03. Signup steps: POST /leads/steps records each step a lead reaches (a stage of its pipeline) and only ever moves it forward, without emailing the customer. GET /leads/{id}/steps lists them. New webhook lead.stalled, sent by the "Nudge people who stall at a signup step" sequence so your app can remind them.
  • 2026-11-02. Money in: send each sale from Stripe, the App Store or Google Play with its fee, refunds and a bucket (sponsors, ads, subscriptions, other), then list sales and get totals per bucket. Sending the same sale again never counts it twice. New scopes: income:read, income:write (owner or admin keys).
  • 2026-11-01. Sign in from Claude.ai, ChatGPT and other MCP clients with OAuth instead of pasting a key. Connected apps are listed in Settings, where they can be disconnected.
  • 2026-11-01. Invoices, estimates and payments: create drafts, send them, void them, record cash, check and bank transfer payments, record an estimate's answer and turn it into an invoice. New webhook events: invoice.sent, estimate.sent, estimate.approved and estimate.declined. New scopes: invoices:read, invoices:write, estimates:read, estimates:write.
  • 2026-11-01. Leads, contacts, sales pipelines and website forms. Webhooks you can manage in Settings or through the API, with new events: contact.created, form.submitted, lead.stage_changed, task.created, task.completed and invoice.paid. New scopes: leads:read, leads:write, contacts:read, contacts:write, webhooks:manage. /me works with any key.
  • 2026-10-31. Batch tasks and MCP messages count toward the rate limit, request bodies are capped at 1 MB (413 payload_too_large), and repeated wrong keys are slowed down.
  • 2026-10-30. Version 1: API keys, task boards, tasks and the MCP server.