Skip to main content
GET
/
api
/
v1
/
threads
/
{id}
Get thread by ID
curl --request GET \
  --url https://itz.am/api/v1/threads/{id} \
  --header 'Api-Key: <api-key>'
{
  "id": "thread_1234567890",
  "name": "My Thread",
  "lookupKeys": [
    "user-123-session"
  ],
  "contextSlugs": [
    "special-docs",
    "admin-files"
  ],
  "createdAt": "2021-01-01T00:00:00.000Z",
  "updatedAt": "2021-01-01T00:00:00.000Z"
}

Authorizations

Api-Key
string
header
required

The API key to use for authentication

Path Parameters

id
string
required

Response

Successfully retrieved thread

id
string
required

The ID of the thread

Example:

"thread_1234567890"

name
string
required

The name of the thread

Example:

"My Thread"

lookupKeys
string[] | null
required

The lookup keys of the thread

Example:
["user-123-session"]
contextSlugs
string[] | null
required

The context slugs of the thread

Example:
["special-docs", "admin-files"]
createdAt
string
required

The creation date of the thread

Example:

"2021-01-01T00:00:00.000Z"

updatedAt
string
required

The last update date of the thread

Example:

"2021-01-01T00:00:00.000Z"