V1 · Account

Users

Read the users that belong to a given enterprise.

A user is a person who can sign in to FinDesk. The V1 user endpoints are scoped to an enterprise via EnterpriseID and are read-only.

Attributes

The shape returned by App\Http\Resources\V1\UserResource::toArray():

Attribute Type Description
ID string (UUID) Stable public identifier.
Name string User display name.
Email string User email address.
IsActive boolean True when the active column equals 1.
CreatedAt string (ISO 8601) Record creation timestamp.
UpdatedAt string (ISO 8601) Record updated timestamp.

List users

GET /api/v1/users

Returns all users that belong to the enterprise identified by EnterpriseID (via $team->allUsers()). This endpoint is not paginated.

Request headers

Header Required Description
Authorization Yes Bearer {token}.
Accept Yes application/json.
EnterpriseID Yes Enterprise UUID.

Responses

  • 200UsersResource collection envelope.
  • 403 Forbidden — caller is not a member of the enterprise.

Retrieve a user

GET /api/v1/users/{user:uuid}

Responses

  • 200 — single UserResource envelope.
  • 403 Forbidden — caller is not a member of the enterprise identified by EnterpriseID. The V1 controller does not additionally check that the resolved user belongs to that team.