• About
    • For Developers
    • Authentication
    • Pagination
    • Versioning
    • Rate Limits
    • Errors
  • API Reference
    • Getting started
    • Changelog
  • Guides
    • Webhooks
    • Restricted messages on a timeline
    • Object customization
    • Custom objects
  • SDKs
    • Push notifications for mobile
  • Snap-in development
    • Concepts
    • Development best practices
    • Locally testing snap-ins
    • Handling errors and retrying
    • Debugging
    • Quotas and limits
    • Upgrade snap-ins
    • Code Samples
    • Marketplace listings
  • AirSync
    • Getting started
    • Examples of snap-ins
    • Deploy to organization
    • Publish to the marketplace
    • MCP integration
    • Common issues
    • Supported DevRev object types
LogoLogo
API Referenceaccounts

Get Account

GET
https://api.devrev.ai/accounts.get
GET
/accounts.get
1curl -G https://api.devrev.ai/accounts.get \
2 -H "Authorization: Bearer <token>" \
3 -d id=ACC-12345
Try it
200Retrieved
1{
2 "account": {
3 "id": "string",
4 "owned_by": [
5 {
6 "display_id": "string",
7 "id": "string",
8 "display_name": "string",
9 "display_picture": {
10 "display_id": "string",
11 "id": "string",
12 "file": {
13 "type": "string",
14 "name": "string",
15 "size": 1
16 }
17 },
18 "email": "string",
19 "full_name": "string",
20 "state": "active"
21 }
22 ],
23 "created_by": {
24 "display_id": "string",
25 "id": "string",
26 "display_name": "string",
27 "display_picture": {
28 "display_id": "string",
29 "id": "string",
30 "file": {
31 "type": "string",
32 "name": "string",
33 "size": 1
34 }
35 },
36 "email": "string",
37 "full_name": "string",
38 "state": "active"
39 },
40 "created_date": "2023-01-01T12:00:00.000Z",
41 "description": "string",
42 "display_id": "string",
43 "display_name": "string",
44 "domains": [
45 "string"
46 ],
47 "external_refs": [
48 "string"
49 ],
50 "modified_by": {
51 "display_id": "string",
52 "id": "string",
53 "display_name": "string",
54 "display_picture": {
55 "display_id": "string",
56 "id": "string",
57 "file": {
58 "type": "string",
59 "name": "string",
60 "size": 1
61 }
62 },
63 "email": "string",
64 "full_name": "string",
65 "state": "active"
66 },
67 "modified_date": "2023-01-01T12:00:00.000Z",
68 "primary_account": {
69 "id": "string",
70 "display_id": "string",
71 "display_name": "string"
72 },
73 "tier": "string",
74 "websites": [
75 "string"
76 ]
77 }
78}
Retrieves an account's information.
Was this page helpful?
Previous

Get Account (POST)

Next
Built with
Retrieves an account's information.

Authentication

AuthorizationBearer
Bearer authentication of the form `Bearer <token>`, where token is your auth token.

Query parameters

idstringRequiredformat: "id"
The ID of the account to be retrieved.

Response

The returned account.
accountobject

Errors

The ID of the account to be retrieved.
The returned account.

Bearer authentication of the form Bearer <token>, where token is your auth token.

Get Account (POST)