Identity profiles

List identity profiles

Changed on

Lists the identity profiles currently linked to an account, or to every account you can read when account_id is omitted.

Required permissions:

  • identity:read
get/identity_profiles

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Query parameters

after, string

Returns the elements in the list that come after the specified cursor.

before, string

Returns the elements in the list that come before the specified cursor.

first, integer

Returns the first n elements from the list.

Example:42
last, integer

Returns the last n elements from the list.

Example:42
profile_type, 'individual' | 'business'

Filter by profile type (individual or business).

status, 'not_started' | 'pending' | 'manual_review' | 'approved' | 'rejected' | 'action_required'

Filter by derived verification status.

account_id, string

Account to list identity profiles for, prefixed biz_. Omit to list profiles across every account you can read, including child accounts under a parent and, with a user credential, your own user.

Example:biz_xxxxxxxxxxxxxx

Response

A successful response

object required

The connection type for IdentityProfile.

data, IdentityProfileListItem[] required

A list of nodes.

page_info, PageInfo required

Information to aid in pagination.

Example response

{
  "data": [
    {
      "created_at": "2023-12-01T05:00:00.401Z",
      "id": "idpf_xxxxxxxxxxxxx",
      "linked_companies": [
        {
          "id": "biz_xxxxxxxxxxxxxx",
          "title": "Shine Time Auto Detailing"
        }
      ],
      "updated_at": "2023-12-01T05:00:00.401Z",
      "verifications": [
        {
          "created_at": "2023-12-01T05:00:00.401Z",
          "id": "verf_xxxxxxxxxxxxx",
          "last_error_reason": "Document image was too blurry to read.",
          "session_url": "https://verify.stripe.com/session/abc123"
        }
      ]
    }
  ]
}

Changes

    • warning

      deleted the query request parameter company_id

    • info

      added the new optional query request parameter account_id

    • breaking

      the query request parameter profile_type was restricted to a list of enum values

    11 more changes in this revision