service-accounts

Get Post

POST
Gets a service account.

Request

This endpoint expects an object.
id
stringRequired
The ID of the requested service account.

Response

This endpoint returns an object
service_account
object
POST
1curl -X POST https://api.devrev.ai/service-accounts.get \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "id": "id"
6}'
200
Successful
1{
2 "service_account": {
3 "id": "id",
4 "created_date": "2023-01-01T12:00:00Z",
5 "display_id": "display_id",
6 "display_name": "display_name",
7 "display_picture": {
8 "id": "id",
9 "display_id": "display_id"
10 },
11 "email": "email",
12 "full_name": "full_name",
13 "modified_date": "2023-01-01T12:00:00Z",
14 "phone_numbers": [
15 "phone_numbers"
16 ],
17 "state": "active"
18 }
19}