List email threads
GET
header
AuthorizationBearer <Relevate API key>Relevate API key scoped to the operation's product and environment.
inbox_id*stringInbox ID.
limit?integerPage size, 1 to 100. Defaults to 25.
Format
int64after?stringReturn threads after this thread ID in the listing.
status?stringopen, snoozed or done.
label?stringA label ID.
assigned_agent?stringThreads assigned to this agent name.
assigned_user_id?stringThreads assigned to this person.
unassigned?booleanOnly threads nobody is assigned to.
unread?booleanOnly threads with mail the agent has not marked read.
q?stringWords in the subject, sender or text of received mail.
Threads, most recent activity first.
application/json- response
api_version*stringdata*array<>next?|Pass as after to read the next page. Null on the last page.
curl -X GET 'https://api.relevate.app/email/inboxes/string/threads'Example Response
{
"api_version": "string",
"data": [
{
"assigned": {
"agent": "string",
"user_id": "string"
},
"created_at": "2019-08-24T14:15:22Z",
"id": "string",
"inbox_id": "string",
"labels": [
{
"color": "string",
"id": "string",
"name": "string"
}
],
"last_message_at": "2019-08-24T14:15:22Z",
"message_count": 0,
"snoozed_until": "2019-08-24T14:15:22Z",
"status": "string",
"subject": "string",
"unread": true
}
],
"next": "string"
}