Avnology ID
API ReferenceService Accounts

Get Service Account

Retrieve a service account by ID including its API keys and usage information.

Endpoint

GET /v1/service-accounts/{id}

Base URL: https://api-id.avnology.net

Authentication: API Key or OAuth token with admin:service-accounts:read scope

Request

curl "https://api-id.avnology.net/v1/service-accounts/sa_3c2d1e0f-9a8b-7c6d-5e4f-3a2b1c0d9e8f" \
  -H "Authorization: Bearer ak_live_..."

Response

Success (200 OK)

{
  "id": "sa_3c2d1e0f-9a8b-7c6d-5e4f-3a2b1c0d9e8f",
  "name": "CI/CD Pipeline",
  "description": "Automated user provisioning",
  "owner_id": "usr_4f18acec-2712-4be7-a9af-b063b4f6deba",
  "organization_id": "org_7a2b3c4d",
  "active": true,
  "last_used_at": "2026-04-08T10:30:00Z",
  "create_time": "2026-03-01T09:00:00Z"