accounts

Get

GET
Retrieves an account's information.

Query parameters

idstringRequired
The ID of the account to be retrieved.

Response

This endpoint returns an object
account
object
GET
1curl -G https://api.devrev.ai/accounts.get \
2 -H "Authorization: <apiKey>" \
3 -d id=ACC-12345
200
Retrieved
1{
2 "account": {
3 "external_refs": [
4 "external_refs"
5 ],
6 "id": "id",
7 "owned_by": [],
8 "artifacts": [
9 {
10 "id": "id"
11 }
12 ],
13 "created_date": "2023-01-01T12:00:00Z",
14 "custom_fields": {
15 "custom_fields": {
16 "key": "value"
17 }
18 },
19 "custom_schema_fragments": [
20 "custom_schema_fragments"
21 ],
22 "description": "description",
23 "display_id": "display_id",
24 "display_name": "display_name",
25 "domains": [
26 "domains"
27 ],
28 "modified_date": "2023-01-01T12:00:00Z",
29 "stock_schema_fragment": "don:core:<partition>:devo/<dev-org-id>:custom_type_fragment/<custom-type-fragment-id>",
30 "subtype": "subtype",
31 "tags": [
32 {
33 "tag": {
34 "id": "id",
35 "name": "name"
36 }
37 }
38 ],
39 "tier": "tier"
40 }
41}