POST
/
threads
/
search
JavaScript
import AIInbx from 'aiinbx';

const client = new AIInbx({
  apiKey: 'My API Key',
});

const response = await client.threads.search();

console.log(response.pagination);
{
  "threads": [
    {
      "id": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "subject": "<string>",
      "snippet": "<string>",
      "lastEmailAt": "<string>",
      "participantEmails": [
        "<string>"
      ],
      "emailCount": 123
    }
  ],
  "pagination": {
    "total": 123,
    "limit": 123,
    "offset": 123,
    "hasMore": true
  }
}

Authorizations

Authorization
string
header
required

API Key authentication using Bearer token

Body

application/json

Response

200
application/json

Successful response

The response is of type object.