Show a company
Changed onGiven an ID, shows a company.
If the used access token was issued by the OAuth 2.0 Authorization Code flow, then only the associated company can be accessed through the endpoint.
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.
- Client credentials access token (OAuth2ClientCredentials) — obtained through the Client Credentials flow or the Refresh Token flow. See Authentication for partners.
Scopes
| Category | Read only Scope | Write only Scope (read access implicit) |
|---|---|---|
| Manage company resources (company_admin) | View companies (company:read) | Manage companies (company:write) |
Request
- Base URL: https://gateway.remote.com
- URL: https://gateway.remote.com/v1/companies/{company_id}
- Auth: OAuth 2 (authorization code, authorization URL /auth/oauth2/authorize, token URL /auth/oauth2/token, scopes: https://gateway.remote.com/company.manage, company:read, company:write, company_admin, all:write, all:read) and OAuth 2 (client credentials, token URL /auth/oauth2/token, scopes: https://gateway.remote.com/company.manage, company:read, company:write, company_admin, all:write, all:read)
Path parameters
Company ID
Headers
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
{
"data": {
"company": {
"address_details": {
"address": "1709 Broderick St",
"address_line_2": "Flat number 123",
"city": "San Francisco",
"postal_code": "94115",
"state": "CA"
},
"bank_account_details": {
"account_holder": "Joe Smith",
"account_number": "31234123123",
"account_type": "savings",
"name": "Bank name",
"ownership_type": "BUSINESS",
"routing_number": "123124123"
},
"company_owner_email": "te@remote.com",
"company_owner_name": "Joe Smith",
"company_owner_user_id": "75619adf-8775-4531-9e7d-5b2cbabdc1a8",
"country_code": "USA",
"created_at": "2021-07-15T18:18:17Z",
"default_legal_entity_credit_risk_status": "no_deposit_required",
"desired_currency": "USD",
"external_id": "00001111",
"id": "e5a8b061-company-id-4c5c81ac885e",
"name": "Your Company Name",
"phone_number": "+1123123456",
"status": "active",
"terms_of_service_accepted_at": "2021-10-29T12:39:15Z",
"updated_at": "2021-07-15T18:18:17Z"
}
}
}Changes
- info
the security scope
company_adminwas added to the endpoint's security schemeOAuth2AuthorizationCode - info
the security scope
company_adminwas added to the endpoint's security schemeOAuth2ClientCredentials - info
the security scope
company_managementwas removed from the endpoint's security schemeOAuth2AuthorizationCode - info
the security scope
company_managementwas removed from the endpoint's security schemeOAuth2ClientCredentials
- info
- info
the security scope
company_managementwas added to the endpoint's security schemeOAuth2AuthorizationCode - info
the security scope
company_managementwas added to the endpoint's security schemeOAuth2ClientCredentials - info
the security scope
company_adminwas removed from the endpoint's security schemeOAuth2AuthorizationCode - info
the security scope
company_adminwas removed from the endpoint's security schemeOAuth2ClientCredentials
- info