accounts

Create

POST
Creates an account, which is a record representing a customer or an organization.

Request

This endpoint expects an object.
display_name
stringRequired
Name of the account.
description
stringOptional
Description of the account.
domains
list of stringsOptional
List of company's domain names.
external_refs
list of stringsOptional
External refs are unique identifiers from your customer system of records, stored as a list.
owned_by
list of stringsOptional
List of Dev users owning this account.
tier
stringOptional
The tier of the account.
websites
list of stringsOptional
List of company websites.

Response

This endpoint returns an object
account
object
POST
1curl -X POST https://api.devrev.ai/accounts.create \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "display_name": "display_name"
6}'
Response
1{
2 "account": {
3 "external_refs": [
4 "external_refs"
5 ],
6 "id": "id",
7 "owned_by": [],
8 "created_date": "2023-01-01T12:00:00Z",
9 "description": "description",
10 "display_id": "display_id",
11 "display_name": "display_name",
12 "domains": [
13 "domains"
14 ],
15 "modified_date": "2023-01-01T12:00:00Z",
16 "tier": "tier"
17 }
18}