Skip to main content

People API

Every people call: what to send, what comes back, and copy-ready examples.

On this page

List people

GET/peopleScope: people:read

In the address and headers

limitquery, optional
whole number. 1 or more, 100 or less, starts as 50
cursorquery, optional
text. up to 400 letters
searchquery, optional
text. up to 100 letters
stagequery, optional
new, engaged, hot, booked, attended, won, lost
curl "https://api.usetotems.com/v1/people?stage=hot&limit=50" \
  -H "Authorization: Bearer $TOTEMS_KEY"
Answer, status 200 (sample data)
{
  "data": [
    {
      "id": "6f1f9746-3b47-4c0e-9a55-1f2e3d4c5b6a",
      "name": "Riley Hotlead",
      "email": "h***@fake.example",
      "phone": null,
      "country": null,
      "stage": "hot",
      "score": 80,
      "score_reasons": [
        {
          "label": "Opened booking page",
          "times": 2,
          "points": 40
        },
        {
          "label": "Sent a form",
          "times": 1,
          "points": 15
        }
      ],
      "first_source": "dm",
      "first_seen_at": "2026-11-27T22:00:00.000Z",
      "last_seen_at": "2026-12-03T22:57:17.879Z",
      "bookings": 0,
      "revenue_cents": 0,
      "owner_id": null,
      "owner_name": null
    }
  ],
  "next_cursor": "MjAyNi0xMi0wMyAyMjo1NzoxNy44Nzk0NzcrMDB8OGQyYWNiMTItOWYxZi00ZDY4LTlmNzAtYWYwYjNkNWI2MjE0",
  "request_id": "req_..."
}

Add or update a person

POST/peopleScope: people:write

In the address and headers

Idempotency-Keyheader, optional
text. up to 200 letters

Body

emailoptional
email
phoneoptional
text. up to 40 letters
external_idoptional
text. up to 200 letters
nameoptional
text. up to 200 letters
stageoptional
new, engaged, hot, booked, attended, won, lost
curl -X POST "https://api.usetotems.com/v1/people" \
  -H "Authorization: Bearer $TOTEMS_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "alex@example.com",
    "name": "Alex Example"
  }'
Answer, status 201 (sample data)
{
  "data": {
    "id": "2a814ac8-7c15-4e2b-8d44-5b6a7c8d9e0f",
    "name": "Alex Example",
    "email": "a***@example.com",
    "phone": null,
    "country": null,
    "stage": "new",
    "score": 0,
    "score_reasons": [],
    "first_source": null,
    "first_seen_at": "2026-12-03T23:43:11.771Z",
    "last_seen_at": "2026-12-03T23:43:11.771Z",
    "bookings": 0,
    "revenue_cents": 0,
    "owner_id": null,
    "owner_name": null,
    "merged_into": null,
    "erased_at": null
  },
  "request_id": "req_..."
}

Merge two people

POST/people/mergeScope: people:write

In the address and headers

Idempotency-Keyheader, optional
text. up to 200 letters

Body

keep_idneeded
id (UUID)
merge_idneeded
id (UUID)
curl -X POST "https://api.usetotems.com/v1/people/merge" \
  -H "Authorization: Bearer $TOTEMS_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "keep_id": "6f1d2c9a-3b47-4c0e-9a55-1f2e3d4c5b6a",
    "merge_id": "0b8a7c65-1d2e-4f30-8a9b-7c6d5e4f3a2b"
  }'
Answer, status 200 (sample data)
{
  "data": {
    "merge_id": "2a8ae15e-7c15-4e2b-8d44-5b6a7c8d9e0f",
    "kept_id": "2a847cfa-7c15-4e2b-8d44-5b6a7c8d9e0f"
  },
  "request_id": "req_..."
}

One person

GET/people/{id}Scope: people:read

In the address and headers

idin the path, needed
id (UUID)

The example uses a made-up id. Put one of your own in its place.

curl "https://api.usetotems.com/v1/people/6f1d2c9a-3b47-4c0e-9a55-1f2e3d4c5b6a" \
  -H "Authorization: Bearer $TOTEMS_KEY"
Answer, status 200 (sample data)
{
  "data": {
    "id": "6f1f9746-3b47-4c0e-9a55-1f2e3d4c5b6a",
    "name": "Riley Hotlead",
    "email": "h***@fake.example",
    "phone": null,
    "country": null,
    "stage": "hot",
    "score": 80,
    "score_reasons": [
      {
        "label": "Opened booking page",
        "times": 2,
        "points": 40
      },
      {
        "label": "Sent a form",
        "times": 1,
        "points": 15
      }
    ],
    "first_source": "dm",
    "first_seen_at": "2026-11-27T22:00:00.000Z",
    "last_seen_at": "2026-12-03T22:57:17.879Z",
    "bookings": 0,
    "revenue_cents": 0,
    "owner_id": null,
    "owner_name": null,
    "merged_into": null,
    "erased_at": null
  },
  "request_id": "req_..."
}

Change stage or owner

PATCH/people/{id}Scope: people:write

In the address and headers

idin the path, needed
id (UUID)
Idempotency-Keyheader, optional
text. up to 200 letters

Body

stageoptional
new, engaged, hot, booked, attended, won, lost
owner_idoptional
id (UUID), or empty

The example uses a made-up id. Put one of your own in its place.

curl -X PATCH "https://api.usetotems.com/v1/people/6f1d2c9a-3b47-4c0e-9a55-1f2e3d4c5b6a" \
  -H "Authorization: Bearer $TOTEMS_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "stage": "booked"
  }'
Answer, status 200 (sample data)
{
  "data": {
    "id": "2a847cfa-7c15-4e2b-8d44-5b6a7c8d9e0f",
    "name": "Alex Example",
    "email": "a***@example.com",
    "phone": null,
    "country": null,
    "stage": "booked",
    "score": 0,
    "score_reasons": [],
    "first_source": null,
    "first_seen_at": "2026-12-03T23:43:11.011Z",
    "last_seen_at": "2026-12-03T23:43:11.011Z",
    "bookings": 0,
    "revenue_cents": 0,
    "owner_id": null,
    "owner_name": null,
    "merged_into": null,
    "erased_at": null
  },
  "request_id": "req_..."
}

Timeline

GET/people/{id}/journeyScope: people:read

In the address and headers

idin the path, needed
id (UUID)

The example uses a made-up id. Put one of your own in its place.

curl "https://api.usetotems.com/v1/people/6f1d2c9a-3b47-4c0e-9a55-1f2e3d4c5b6a/journey" \
  -H "Authorization: Bearer $TOTEMS_KEY"
Answer, status 200 (sample data)
{
  "data": [
    {
      "id": "6f1ff413-3b47-4c0e-9a55-1f2e3d4c5b6a",
      "at": "2026-12-03T17:57:17.879Z",
      "kind": "form",
      "title": "Sent a form",
      "detail": null,
      "channel": null,
      "content_id": null,
      "link_id": null,
      "is_test": false
    }
  ],
  "request_id": "req_..."
}

Score and reasons

GET/people/{id}/scoreScope: people:read

In the address and headers

idin the path, needed
id (UUID)

The example uses a made-up id. Put one of your own in its place.

curl "https://api.usetotems.com/v1/people/6f1d2c9a-3b47-4c0e-9a55-1f2e3d4c5b6a/score" \
  -H "Authorization: Bearer $TOTEMS_KEY"
Answer, status 200 (sample data)
{
  "data": {
    "score": 80,
    "reasons": [
      {
        "label": "Opened booking page",
        "times": 2,
        "points": 40
      },
      {
        "label": "Sent a form",
        "times": 1,
        "points": 15
      }
    ]
  },
  "request_id": "req_..."
}

Notes

GET/people/{id}/notesScope: people:read

In the address and headers

idin the path, needed
id (UUID)

The example uses a made-up id. Put one of your own in its place.

curl "https://api.usetotems.com/v1/people/6f1d2c9a-3b47-4c0e-9a55-1f2e3d4c5b6a/notes" \
  -H "Authorization: Bearer $TOTEMS_KEY"
Answer, status 200 (sample data)
{
  "data": [],
  "request_id": "req_..."
}

Add a note

POST/people/{id}/notesScope: people:write

In the address and headers

idin the path, needed
id (UUID)
Idempotency-Keyheader, optional
text. up to 200 letters

Body

bodyneeded
text. up to 5000 letters

The example uses a made-up id. Put one of your own in its place.

curl -X POST "https://api.usetotems.com/v1/people/6f1d2c9a-3b47-4c0e-9a55-1f2e3d4c5b6a/notes" \
  -H "Authorization: Bearer $TOTEMS_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "body": "Wants to start in January."
  }'
Answer, status 201 (sample data)
{
  "data": {
    "id": "2a87af2c-7c15-4e2b-8d44-5b6a7c8d9e0f",
    "body": "Wants to start in January.",
    "created_at": "2026-12-03T23:43:13.479Z"
  },
  "request_id": "req_..."
}

Erase a person

POST/people/{id}/eraseScope: people:write

In the address and headers

idin the path, needed
id (UUID)
Idempotency-Keyheader, optional
text. up to 200 letters

Body

confirmneeded
"ERASE"

The example uses a made-up id. Put one of your own in its place.

curl -X POST "https://api.usetotems.com/v1/people/6f1d2c9a-3b47-4c0e-9a55-1f2e3d4c5b6a/erase" \
  -H "Authorization: Bearer $TOTEMS_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "confirm": "ERASE"
  }'
Answer, status 200 (sample data)
{
  "data": {
    "id": "2a847cfa-7c15-4e2b-8d44-5b6a7c8d9e0f",
    "erased": true,
    "left": 0
  },
  "request_id": "req_..."
}

Undo a merge

POST/people/{id}/splitScope: people:write

In the address and headers

idin the path, needed
id (UUID)
Idempotency-Keyheader, optional
text. up to 200 letters

Body

merge_idneeded
id (UUID)

The example uses a made-up id. Put one of your own in its place.

curl -X POST "https://api.usetotems.com/v1/people/6f1d2c9a-3b47-4c0e-9a55-1f2e3d4c5b6a/split" \
  -H "Authorization: Bearer $TOTEMS_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "merge_id": "6f1d2c9a-3b47-4c0e-9a55-1f2e3d4c5b6a"
  }'
Answer, status 200 (sample data)
{
  "data": {
    "undone": true
  },
  "request_id": "req_..."
}

Hot list

GET/hot-leadsScope: people:read

In the address and headers

limitquery, optional
whole number. 1 or more, 100 or less, starts as 50
curl "https://api.usetotems.com/v1/hot-leads?limit=20" \
  -H "Authorization: Bearer $TOTEMS_KEY"
Answer, status 200 (sample data)
{
  "data": [
    {
      "id": "6f206fcf-3b47-4c0e-9a55-1f2e3d4c5b6a",
      "name": "Casey Hotlead",
      "email": "h***@fake.example",
      "phone": null,
      "country": null,
      "stage": "hot",
      "score": 90,
      "score_reasons": [
        {
          "label": "Opened booking page",
          "times": 2,
          "points": 40
        },
        {
          "label": "Sent a form",
          "times": 1,
          "points": 15
        }
      ],
      "first_source": "dm",
      "first_seen_at": "2026-11-27T22:00:00.000Z",
      "last_seen_at": "2026-12-03T22:57:17.879Z",
      "bookings": 0,
      "revenue_cents": 0,
      "owner_id": null,
      "owner_name": null,
      "reason": "Opened booking page twice today.",
      "last_action": "Opened booking page",
      "last_action_at": "2026-12-03T22:27:17.879Z"
    }
  ],
  "request_id": "req_..."
}
Was this useful?

Your answer stays in this browser.

Last checked: Made from the live API rulesPlain MarkdownSomething wrong? Tell us