Verifa Identity Types API

The identityTypes API from Verifa, for identitytypes.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

GET /api/v1/identity-types List identity types #
POST /api/v1/identity-types Create an identity type #
GET /api/v1/identity-types/{type_id} Get an identity type #
DELETE /api/v1/identity-types/{type_id} Delete an identity type #
PATCH /api/v1/identity-types/{type_id} Update an identity type #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/withverifa-com:withverifa-com-identitytypes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

withverifa-com-identitytypes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reference Identity Types API
  version: 1.0.0
servers:
- url: https://api.withverifa.com
  description: https://api.withverifa.com
tags:
- name: identityTypes
paths:
  /api/v1/identity-types:
    get:
      operationId: identityTypes_listIdentityTypes
      summary: List identity types
      description: 'Returns identity types defined for your organization.

        Requires Enterprise plan.'
      tags:
      - identityTypes
      parameters:
      - name: Verifa-Version
        in: header
        description: 'API version date string (e.g. `2026-02-01`). If omitted, the version

          pinned to your API key is used.

          '
        required: false
        schema:
          type: string
          format: date
      - name: Key-Inflection
        in: header
        description: 'Response key casing. Defaults to `snake`.

          '
        required: false
        schema:
          $ref: '#/components/schemas/ApiV1IdentityTypesGetParametersKeyInflection'
      responses:
        '200':
          description: A list of identity types.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Identity_Types_listIdentityTypes_Response_200'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - ApiKeyAuth: []
    post:
      operationId: identityTypes_createIdentityType
      summary: Create an identity type
      description: 'Create a custom identity type. Identity types categorise verified

        identities (for example: "consumer", "business officer") and gate

        which custom fields are surfaced for that population.


        **Required scope:** `settings:write` (or legacy `identities:write`).'
      tags:
      - identityTypes
      parameters:
      - name: Verifa-Version
        in: header
        description: 'API version date string (e.g. `2026-02-01`). If omitted, the version

          pinned to your API key is used.

          '
        required: false
        schema:
          type: string
          format: date
      - name: Key-Inflection
        in: header
        description: 'Response key casing. Defaults to `snake`.

          '
        required: false
        schema:
          $ref: '#/components/schemas/ApiV1IdentityTypesPostParametersKeyInflection'
      - name: Idempotency-Key
        in: header
        description: 'Unique key for idempotent requests. Cached for 24 hours. Sending the

          same key with different parameters returns `422`.

          '
        required: false
        schema:
          type: string
          maxLength: 255
      responses:
        '201':
          description: Identity type created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdentityType'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: An identity type with this name already exists.
          content:
            application/json:
              schema:
                description: Any type
        '422':
          description: Request body failed validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Machine-readable name for the identity type.
                label:
                  type: string
                  description: Human-readable label.
                description:
                  type: string
                  description: Optional description of this identity type.
                statuses:
                  type: array
                  items:
                    type: string
                  description: Custom statuses for this identity type.
                default_status:
                  type: string
                  description: Default status for new identities of this type.
                is_default:
                  type: boolean
                  default: false
                  description: Whether this is the default identity type for the organization.
              required:
              - name
              - label
      security:
      - ApiKeyAuth: []
  /api/v1/identity-types/{type_id}:
    get:
      operationId: identityTypes_getIdentityType
      summary: Get an identity type
      tags:
      - identityTypes
      parameters:
      - name: type_id
        in: path
        description: Identity type ID (`idtype_*`).
        required: true
        schema:
          type: string
      - name: Verifa-Version
        in: header
        description: 'API version date string (e.g. `2026-02-01`). If omitted, the version

          pinned to your API key is used.

          '
        required: false
        schema:
          type: string
          format: date
      - name: Key-Inflection
        in: header
        description: 'Response key casing. Defaults to `snake`.

          '
        required: false
        schema:
          $ref: '#/components/schemas/ApiV1IdentityTypesTypeIdGetParametersKeyInflection'
      responses:
        '200':
          description: Identity type details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdentityType'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - ApiKeyAuth: []
    delete:
      operationId: identityTypes_deleteIdentityType
      summary: Delete an identity type
      description: 'Deletes an identity type. Fails if any identities are using this type.


        **Required scope:** `settings:write` (or legacy `identities:write`).'
      tags:
      - identityTypes
      parameters:
      - name: type_id
        in: path
        description: Identity type ID (`idtype_*`).
        required: true
        schema:
          type: string
      - name: Verifa-Version
        in: header
        description: 'API version date string (e.g. `2026-02-01`). If omitted, the version

          pinned to your API key is used.

          '
        required: false
        schema:
          type: string
          format: date
      responses:
        '200':
          description: Identity type deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Identity_Types_deleteIdentityType_Response_200'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Type is in use by existing identities.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - ApiKeyAuth: []
    patch:
      operationId: identityTypes_updateIdentityType
      summary: Update an identity type
      description: 'Patch a custom identity type''s label, description, or active state.

        The slug name cannot be changed after creation.


        **Required scope:** `settings:write` (or legacy `identities:write`).'
      tags:
      - identityTypes
      parameters:
      - name: type_id
        in: path
        description: Identity type ID (`idtype_*`).
        required: true
        schema:
          type: string
      - name: Verifa-Version
        in: header
        description: 'API version date string (e.g. `2026-02-01`). If omitted, the version

          pinned to your API key is used.

          '
        required: false
        schema:
          type: string
          format: date
      - name: Key-Inflection
        in: header
        description: 'Response key casing. Defaults to `snake`.

          '
        required: false
        schema:
          $ref: '#/components/schemas/ApiV1IdentityTypesTypeIdPatchParametersKeyInflection'
      responses:
        '200':
          description: Updated identity type.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdentityType'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Request body failed validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                label:
                  type: string
                description:
                  type: string
                statuses:
                  type: array
                  items:
                    type: string
                default_status:
                  type: string
                is_default:
                  type: boolean
                  description: Whether this is the default identity type for the organization.
      security:
      - ApiKeyAuth: []
components:
  schemas:
    ApiV1IdentityTypesGetParametersKeyInflection:
      type: string
      enum:
      - camel
      - kebab
      - snake
      default: snake
      title: ApiV1IdentityTypesGetParametersKeyInflection
    Error:
      type: object
      properties:
        error:
          type: string
          description: Short error code.
        detail:
          type: string
          description: Human-readable error description.
        status_code:
          type: integer
          description: HTTP status code.
      required:
      - error
      - status_code
      title: Error
    Identity_Types_deleteIdentityType_Response_200:
      type: object
      properties:
        deleted:
          type: boolean
      required:
      - deleted
      title: Identity Types_deleteIdentityType_Response_200
    ApiV1IdentityTypesPostParametersKeyInflection:
      type: string
      enum:
      - camel
      - kebab
      - snake
      default: snake
      title: ApiV1IdentityTypesPostParametersKeyInflection
    ApiV1IdentityTypesTypeIdGetParametersKeyInflection:
      type: string
      enum:
      - camel
      - kebab
      - snake
      default: snake
      title: ApiV1IdentityTypesTypeIdGetParametersKeyInflection
    ApiV1IdentityTypesTypeIdPatchParametersKeyInflection:
      type: string
      enum:
      - camel
      - kebab
      - snake
      default: snake
      title: ApiV1IdentityTypesTypeIdPatchParametersKeyInflection
    Identity_Types_listIdentityTypes_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/IdentityType'
      required:
      - data
      title: Identity Types_listIdentityTypes_Response_200
    IdentityType:
      type: object
      properties:
        id:
          type: string
        org_id:
          type: string
        name:
          type: string
        label:
          type: string
        description:
          type: string
        statuses:
          type: array
          items:
            type: string
        default_status:
          type: string
        is_default:
          type: boolean
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
      - id
      - org_id
      - name
      - label
      - is_default
      - created_at
      title: IdentityType
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'Organization API key. Keys are prefixed with `vk_live_` (production) or

        `vk_sandbox_` (sandbox).

        '
    BearerAuth:
      type: http
      scheme: bearer
      description: 'Admin JWT token via `Authorization: Bearer <token>`.'