Get Accounts

get/v1/accounts/{account_id}

Fetches a single account by its public id within the active workspace. Read only, no side effects. Returns 404 when the id is unknown or falls outside the caller's workspace scope.

Requires a bearer token: Authorization: Bearer <token>.

Path parameters

NameTypeRequiredDescription
account_idstring <uuid>YesPublic UUID of the account.e.g. b2c3d4e5-0000-4000-8000-0000000000a2

Query parameters

NameTypeRequiredDescription
workspaceIdstring <uuid>NoExplicit workspace scope. The authenticated user must hold an active membership in this workspace. Defaults to the session workspace when omitted.e.g. a1b2c3d4-0000-4000-8000-000000000001

Request

cURL
curl -X GET https://api.wellapp.ai/v1/accounts/{account_id} \
  -H "Authorization: Bearer $WELL_API_TOKEN"

Responses

200The requested account.

{
  "data": {
    "type": "account",
    "id": "b2c3d4e5-0000-4000-8000-0000000000a2",
    "attributes": {
      "account_id": "b2c3d4e5-0000-4000-8000-0000000000a2",
      "account_external_id": "acct_mercury_9921",
      "account_name": "Mercury Checking",
      "account_number": "****4471",
      "iban": null,
      "bic": null,
      "routing_number": "084106768",
      "sort_code": null,
      "currency": "USD",
      "type": "deposit",
      "subtype": "checking",
      "ownership": "own",
      "created_at": "2026-01-12T18:02:00Z",
      "updated_at": "2026-04-27T09:15:00Z",
      "deleted_at": null
    },
    "relationships": {
      "company": {
        "data": {
          "type": "Company",
          "id": "00000000-0000-4000-8000-000000000001"
        }
      },
      "people": {
        "data": {
          "type": "People",
          "id": "00000000-0000-4000-8000-000000000001"
        }
      },
      "bank_company": {
        "data": {
          "type": "Company",
          "id": "00000000-0000-4000-8000-000000000001"
        }
      }
    }
  }
}

401Unauthorized

{
  "code": "UNAUTHORIZED",
  "status": 401,
  "title": "Unauthorized",
  "message": "See title.",
  "meta": {
    "trace_id": "a1b2c3",
    "log_id": "a1b2c3"
  }
}

404Not found

{
  "code": "NOT_FOUND",
  "status": 404,
  "title": "Not Found",
  "message": "See title.",
  "meta": {
    "trace_id": "a1b2c3",
    "log_id": "a1b2c3"
  }
}