Companies
Company Managers

List Company Managers

Changed on

List all company managers of an integration. If filtered by the company_id param, it lists only company managers belonging to the specified company.

Authentication

This endpoint accepts any one of the following token types:

  • Company-scoped access token (OAuth2AuthorizationCode) — obtained through the Authorization Code flow or the Refresh Token flow. See Authentication for partners.
  • Customer API token (CustomerAPIToken) — generated by the customer on their Integration Settings page. See Authorization for customers.

Scopes

CategoryRead only ScopeWrite only Scope (read access implicit)
Manage company resources (company_admin)View managers (company_manager:read)Manage managers (company_manager:write)
get/v1/company-managers

Request

  • Base URL: https://gateway.remote.com
  • URL: https://gateway.remote.com/v1/company-managers
  • Auth: HTTP bearer and OAuth 2 (authorization code, authorization URL /auth/oauth2/authorize, token URL /auth/oauth2/token, scopes: https://gateway.remote.com/company.manage, company_manager:read, company_manager:write, company_admin, all:write, all:read)

Query parameters

company_idstring

A Company ID to filter the results (only applicable for Integration Partners).

pageinteger

Starts fetching records after the given page

page_sizeinteger

Change the amount of records returned per page, defaults to 20, limited to 100

Headers

Authorizationstring required

Requires a Company-scoped access token obtained through the Authorization Code flow or the Refresh Token flow.

The refresh token needs to have been obtained through the Authorization Code flow.

Response

Success

Example response

{
  "company_managers": [
    {
      "billing_contacts": [
        {
          "is_pending_primary_billing_contact": false,
          "is_primary_billing_contact": true,
          "legal_entity_slug": "0a8s2d1-legal-entity-slug"
        }
      ],
      "company_id": "0a8s2d1-company-id-2e3f4th",
      "role": "owner",
      "user_email": "user@example.com",
      "user_id": "983088c9-user-id-023fc08b8625",
      "user_name": "Anne White"
    }
  ],
  "current_page": 1,
  "total_count": 1,
  "total_pages": 1
}

Changes

    • info

      added the required property /// to the response with the status