Team members

List team members

Returns list of team members<br>Required scopes: <b>read_team_members</b>

get/partner_api/v1/team_members

Request

  • Base URL
    https://api.contentsnare.com
  • Auth
    • OAuth 2
      Authorization code: /oauth/authorization
      Token URL: /oauth/token scopes: read_team_members
    • or HTTP bearer

Query parameters

limitinteger
Example:20

Specifies the maximum number of returned items

offsetinteger

Specifies how many items to skip from the beginning

qstring

String to search in the values specified in the parameter q_by[]

q_by[]string[]

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[]=full_name&q_by[]=phone

sort_by'email' | 'full_name' | 'phone' | 'role'

Specifies value for sorting

sort_direction'asc' | 'desc'

Specifies direction for sorting

Response

successful

Example response

{
  "pagination": {
    "limit": 200,
    "q": "str",
    "q_by": [
      "full_name",
      "phone"
    ],
    "sort_by": "phone",
    "sort_direction": "asc",
    "total_count": 425
  },
  "results": [
    {
      "avatar": "https://example.com/user_avatar.jpeg",
      "company_name": "Trantow LLC",
      "email": "clayschaden@mail.org",
      "first_name": "Clay",
      "full_name": "Clay Schaden",
      "id": "acc_e7EVAXvJfxZ9zb",
      "last_name": "Schaden",
      "phone": "+1 (415) 555-1212",
      "role": "viewer",
      "salutation": "Dr"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.