CrmCompany

Get Company

GET
Get details of a company

Path parameters

idstringRequired

The unique id of the company in the CRM.

Headers

x-revert-api-tokenstringRequired
Your official API key for accessing revert apis.
x-revert-t-idstringRequired
The unique customer id used when the customer linked their account.
x-api-versionstringOptional
Optional Revert API version you're using. If missing we default to the latest version of the API.

Query parameters

fieldsstringOptional

Response

This endpoint returns an object
status
enum
Allowed values: okerror
result
object
GET
$curl -G https://api.revert.dev/crm/companies/%3Aid \
> -H "x-revert-api-token: string" \
> -H "x-revert-t-id: string" \
> -H "x-api-version: string" \
> -d fields=string
Response
1{
2 "status": "ok",
3 "result": {
4 "address": {
5 "city": "string",
6 "state": "string",
7 "country": "string",
8 "zip": "string",
9 "postalCode": "string",
10 "street": "string"
11 },
12 "annualRevenue": 0,
13 "createdTimestamp": {},
14 "description": "string",
15 "id": "string",
16 "industry": "string",
17 "name": "string",
18 "phone": "string",
19 "remoteId": "string",
20 "size": 0,
21 "updatedTimestamp": {},
22 "additional": {}
23 }
24}