Skip to content
Hermes Health API
GuidesOpenAPI spec

Endpoints

Account

GET/v0/user-profile

Retrieve your account

The user and company your API key belongs to. Call it first: companyId is the {companyId} in every /v0/companies/{companyId}/... route, and permissions lists what your account may do.

ReturnsSuccess

  • idstring

    Your user ID.

  • emailstring

    The email address you sign in with.

  • permissionsstring[]

    What your account may do, such as `ViewPatients` or `ManageWebhooks`.

Conditional attributes

  • firstNamestring

    Your first name. Null when not set.

  • lastNamestring

    Your last name. Null when not set.

  • lastLoginstring

    Reserved for the time of your last sign-in. Currently always null.

  • createdAtstring

    When your account was created, as an RFC 3339 timestamp. Null when not recorded.

  • updatedAtstring

    When your account was last changed, as an RFC 3339 timestamp. Null when not recorded.

  • companyIdinteger

    Your company's ID: the `{companyId}` in every `/v0/companies/{companyId}/...` route.

    The numeric id of the company (tenant) a resource belongs to.

  • companyNamestring

    Your company's name. Null when your account belongs to no company.

Errors

401404500