Docs/User API/Organizations/Get

Get an organization

GET/user/v1/organizations/{organizationId}

Retrieves specified organization.

path parameters

  • organizationId

    string

    Required

    The identifier of the organization.

Returns

  • id

    string

    The system-assigned identifier of the organization.

  • uniqueId

    string

    The client defined unique identifier of the organization account.

  • displayName

    string

    The human-readable display name of the organization.

  • email

    string

    The email address of the organization.

  • emailVerified

    boolean

    Whether the organization's email address has been verified.

  • imageUrl

    string

    The photo/avatar URL of the organization.

  • memberCount

    int32

    The number of members in the organization.

    This includes disabled users, but does not include user's marked for deletion.

  • disabled

    boolean

    Whether the organization is disabled.

curl https://api.userhub.com/user/v1/organizations/org_28seyVGVL1got6 \
  -H "UserHub-Api-Key: $USERHUB_USER_KEY" \
  -H "Authorization: Bearer $USER_ACCESS_TOKEN"
Response bodyJSON
{
  "id": "org_28seyVGVL1got6",
  "displayName": "Acme Inc",
  "email": "[email protected]",
  "emailVerified": true,
  "imageUrl": "https://example.com/acme.jpg",
  "memberCount": 1
}
PreviousCreate an organization
NextUpdate an organization

Build software thatmonetizes
$

Subscribe to monthly product updates

© 2025 UserHub

Integrations

    UserHub & Auth0UserHub & Stripe BillingUserHub & Google CloudUserHub & FirebaseUserHub & custom auth