Avnology ID
API ReferenceService Accounts

List Service Accounts

Retrieve a paginated list of service accounts for an organization.

Endpoint

GET /v1/service-accounts

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?page_size=25" \
  -H "Authorization: Bearer ak_live_..."

Response

Success (200 OK)

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