Search contacts and messages
GET/v1/search
Contacts and messages matching q, in two groups with their own limit and cursor.
A key gets the groups its scopes allow: contacts:read, messages:read, one at least.
Query parameters
qstringRequired- Up to 100 characters
contacts_limitinteger- 1 to 100. Default
20 contacts_cursorstringmessages_limitinteger- 1 to 100. Default
20 messages_cursorstring
Response
200Success
Response fields
contactsobject- May be null
contacts.dataarray of objectRequiredcontacts.next_cursorstringRequired- May be null
messagesobject- May be null
messages.dataarray of objectRequiredmessages.next_cursorstringRequired- May be null
Errors
400invalid_cursor401unauthorized. The key is missing, unknown or revoked403insufficient_scope. The key lacks the scope above403insufficient_scope422validation_error. details.fields names each field at fault
Every error has the same shape. See Errors.