Organization Users

Get organization users groups report

Returns a report of all users in your organization with their group memberships. This endpoint returns all users without pagination and always includes group information. The report can be retrieved in JSON or CSV format by sending specific content-type headers.

get/organizations/users/users_groups_report

Request

  • Base URL
    https://api.telnyx.com/v2
  • URL
    https://api.telnyx.com/v2/organizations/users/users_groups_report
  • Auth
    HTTP bearer

Headers

Accept'application/json' | 'text/csv'

Specify the response format. Use 'application/json' for JSON format or 'text/csv' for CSV format.

Response

Successful response with a list of organization users and their group memberships.

Example response

{
  "data": [
    {
      "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
      "record_type": "organization_sub_user",
      "email": "user@example.com",
      "user_status": "enabled",
      "organization_user_bypasses_sso": false,
      "created_at": "2018-02-02T22:25:27.521Z",
      "last_sign_in_at": "2018-02-02T22:25:27.521Z",
      "groups": [
        {
          "id": "7b09cdc3-8948-47f0-aa62-74ac943d6c59",
          "name": "Engineering"
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 89 revisions of this API.