Contacts

Get inactive contacts phone/email list

GET
/api/contacts/inactive

Returns contacts the caller owns or is assigned to that do not yet have a conversation in the requested channel (SMS or email). Used by the new-conversation picker. Pass includeExisting=true to also surface contacts with an existing conversation, annotated with existingConversationId.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

channelType?string

Value in

  • "sms"
  • "email"
includeExisting?string

When truthy, include contacts that already have an existing conversation in the requested channel. Returned items will carry an "existingConversationId" field for those contacts.

Value in

  • "true"
  • "1"

Response Body

application/json

application/json

curl -X GET "https://example.com/api/contacts/inactive"
{  "data": [],  "total": 0}