rev-orgs

Create

POST
Creates a Rev organization in the authenticated user's Dev organization.

Request

This endpoint expects an object.
display_name
stringRequired
Name of the Rev organization.
description
stringOptional
Description of the Rev organization.
domain
stringOptional
Company's domain name.
environment
enumOptional
The environment of the Org. Defaults to 'production' if not specified.
Allowed values: productionstagingtest
external_ref
stringOptional
External ref is a custom unique identifier which is a reference to an unique id for this organization's data in some system of records.
tier
stringOptional
The tier of the RevOrg.

Response

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