API reference

API reference · Playground

Move them into the account

POST/api/conversations/claimSigned in session

Session, same origin. Moves the anonymous id's threads into the signed in account, keeping their ids: those begun at or after `since` (the sign in sends this visit's), the `ids` given, or every one for {}. Never another browser's thread or an account's, and never past the account's ceiling, the newest moving first.

Request body

application/json, required

Request body fields
FieldTypeWhat it is
sinceintegerUnix milliseconds.
idsarray of integer

Example

{
  "since": 0,
  "ids": [
    0
  ]
}

Answer 200

What moved, and how many stayed because the account is full.

Fields of the 200 answer
FieldTypeWhat it is
movedarray of integer
leftinteger

Errors

  • 400OpenAI shaped error.
  • 401OpenAI shaped error.
  • 403OpenAI shaped error.
  • 429OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Request headers it reads (1)
Request headers
FieldTypeWhat it is
x-antimatter-anonrequiredstringThis browser's anonymous id, which its signed out threads belong to.
Antimatter