rev-orgs

Get

GET
Retrieves the Rev organization's information.

Query parameters

accountstringOptional
The ID of account for which default Rev organization is to be fetched.
idstringOptional
The ID of the required Rev organization.

Response

This endpoint returns an object
rev_org
object
GET
1curl -G https://api.devrev.ai/rev-orgs.get \
2 -H "Authorization: <apiKey>" \
3 -d account=ACC-12345 \
4 -d id=REV-AbCdEfGh
Response
1{
2 "rev_org": {
3 "id": "id",
4 "created_date": "2023-01-01T12:00:00Z",
5 "description": "description",
6 "display_id": "display_id",
7 "display_name": "display_name",
8 "domain": "companyname.com",
9 "external_ref": "external_ref",
10 "modified_date": "2023-01-01T12:00:00Z"
11 }
12}