List clients
Returns list of active clients<br>Required scopes: <b>read_clients</b>
Request
- Base URLhttps://api.contentsnare.com
- Auth
- OAuth 2Authorization code: /oauth/authorizationToken URL: /oauth/token scopes: read_clients
- or HTTP bearer
Query parameters
Specifies the maximum number of returned items
Specifies how many items to skip from the beginning
Specifies whether to return clients from external sources (integrations) (include_external=true)
String to search in the values specified in the parameter q_by[]
Specifies list of values where string from the parameter q will be searched. If it isn't set then the default list is used.<br><b>Examples:</b> q_by[]=email&q_by[]=full_name
Exact email filter. Matches the full email value case-insensitively; use q/q_by[] for substring search.
Exact full name filter. Matches the full client name value; use q/q_by[] for substring search.
Exact phone filter. Matches the full phone value; use q/q_by[] for substring search.
Specifies value for sorting
Specifies direction for sorting
Response
successful
Example response
{
"pagination": {
"limit": 200,
"q": "str",
"q_by": [
"email",
"full_name"
],
"sort_by": "email",
"sort_direction": "asc",
"filter_by": {
"email": "james@example.com"
},
"total_count": 425
},
"results": [
{
"avatar": "https://example.com/user_avatar.jpeg",
"client_companies": [
{
"id": "cmp_z105QJxhy7YdlX",
"name": "Trantow LLC"
}
],
"company_name": "Trantow LLC",
"email": "clayschaden@mail.org",
"full_name": "Clay Schaden",
"first_name": "Clay",
"last_name": "Schaden",
"id": "acc_MORVw9Cyq97AyN",
"phone": "+1 (415) 555-1212",
"salutation": "Dr",
"language_code": "en"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.