Search contacts
POST
https://api.flownally.com/v1/contacts:searchReturns a page of contact summaries that match every condition in query. This is also how
you list contacts: send {"query": {"match": "all", "conditions": []}} to list them all.Archived contacts are excluded unless query has an archiveStatus condition. Use
archiveStatus with all to include them, or with archived to return only archived
contacts. Pass nextPageToken as pageToken to fetch the next page.
Authorization
Required scopes
- contact:list
Allowed roles
- owner
- admin
- agent
Search contacts in the caller's contact scope.
Body parameters
Send a application/json body. The body is required.
- Name
query- Type
- ContactFilter
- required
- Name
orderBy- Type
- enum
One of: createdAt, createdAt desc, updatedAt, updatedAt desc, name, name desc- Name
pageSize- Type
- integer
Values above 100 are reduced to 100; 0 or omitted uses the default (50).- Name
pageToken- Type
- string
ThenextPageTokenfrom the previous page.
Responses
- 200Contacts matching the queryapplication/json
- defaultErrorapplication/json
Related schemas
- ProblemDetails
- FieldViolation
- Window
- ContactSearchRequest
- ContactFilter
- ContactCondition
- SearchTextCondition
- ArchiveStatusCondition
- ArchiveStatus
- CreatedAtCondition
- FirstSeenCondition
- LastInteractionCondition
- ChatCountCondition
- EngagementWindow
- CustomFieldTextCondition
- CustomFieldDateCondition
- HasAnyTagCondition
- HasAnyChannelCondition
- ContactChannel
- ContactSearchResponse
- ContactSummary
- ContactSummaryTag
Generated from the API spec.