rev-orgs

Get Post

POST
Retrieves the Rev organization's information.

Request

This endpoint expects an object.
account
stringOptional
The ID of account for which default Rev organization is to be fetched.
id
stringOptional
The ID of the required Rev organization.

Response

This endpoint returns an object
rev_org
object
POST
1curl -X POST https://api.devrev.ai/rev-orgs.get \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
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}