GET
/
api
/
v1
/
threads
/
workflow
/
{workflowSlug}
curl --request GET \
  --url https://itz.am/api/v1/threads/workflow/{workflowSlug} \
  --header 'Api-Key: <api-key>'
{
  "threads": [
    {
      "id": "thread_1234567890",
      "name": "My Thread",
      "lookupKeys": [
        "user-123-session"
      ],
      "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

workflowSlug
string
required

The slug of the workflow to get threads for

Example:

"my_great_workflow"

Query Parameters

lookupKeys

Optional lookup keys to filter threads

Example:
["user-123", "platform-web-app"]

Response

200
application/json

Successfully retrieved threads

The response is of type object.