# Create applicant

Create a new applicant object in the system

Endpoint: POST /applicants
Version: 1.0
Security: API-Key

## Security:

  - `API-Key` (unknown)
    apiKey in header API-Key

## Request fields (application/json):

  - `type` (string, required)
    A type of an applicant object. `PERSON` type is used for KYC process, and `COMPANY` type is used for KYB process
    Enum: "PERSON"

  - `first_name` (string | null)
    The first name of a person
    Example: Josh

  - `middle_name` (string | null)
    The middle name of a person
    Example: David

  - `last_name` (string | null)
    The last name of a person
    Example: Coffey

  - `dob` (string | null)
    The date of birth of a person, formatted as “YYYY-MM-DD” according to ISO 8601
    Example: 1976-02-21

  - `gender` (string | null)
    The gender of a person. `M` indicates male; `F` indicates female
    Enum: "M", "F"

  - `pep` (boolean | null)
    The status of a person as a politically exposed person (PEP)
    Enum: "true", "false"

  - `residence_country` (string | null)
    A residence country of an object. A two-letter country code according to ISO 3166-2
    Example: GB

  - `nationality` (string | null)
    A nationality country of a person. A two-letter country code according to ISO 3166-2
    Example: GB

  - `phone` (string | null)
    The phone number of a person or a company
    Example: 441172345678

  - `email` (string | null)
    The email address of a person or a company
    Example: josh.coffey@example.com

  - `telegram_username` (string | null)
    A username of an object in Telegram instant messaging service
    Example: JoshCoffey

  - `wallet_address` (string | null)
    A cryptocurrency wallet address of an object
    Example: GQzMeEMwAR44ugoNCifTb5NdRKos0GduDUPeNh6AgV46

  - `external_applicant_id` (string | null)
    A unique identifier of your user in your system
    Example: 8ba166fd-e9ba-49c6-b91a-fdbf0f63f939

  - `custom_field_1` (string | null)
    A custom parameter to store additional data for an object by your managers
    Example: This applicant was marked as suspicious by Mark L. at 11:40

  - `type` (string, required)
    A type of an applicant object. `PERSON` type is used for KYC process, and `COMPANY` type is used for KYB process
    Enum: "COMPANY"

  - `company_name` (string, required)
    A name of a company
    Example: Acme

  - `business_activity_id` (string, required)
    A business activity identifier of a an object. The full list of business activities and their identifiers is accessible in “Business activities” section
    Example: 27c5caea93ee4656881ef9a30fadd21a3768

  - `registration_country` (string | null, required)
    A registration country of an object. A two-letter country code according to ISO 3166-2
    Example: GB

## Response 200:

  - `200` (unknown)
    **OK**
The request was successful, and our system returned an expected response.

## Response 200 fields (application/json):

  - `applicant_id` (string)
    A unique identifier of an applicant, that is assigned by our system after an applicant object was created with a “Create an applicant” request
    Example: 27c5caea93ee4656881ef9a30fadd21a3768

## Response 400:

  - `400` (unknown)
    **Bad Request**
Our system could not process the request due to invalid syntax, missing parameters, or incorrect data format. Check the request structure and try again.

## Response 400 fields (application/json):

  - `type` (string)
    Example: bad_request

  - `errors` (array)

## Response 402:

  - `402` (unknown)
    **Payment Required**
Access to the requested resource is restricted until a payment is successfully processed. Ensure your account has a valid payment method or sufficient funds to complete this action.

## Response 402 fields (application/json):

  - `type` (string)
    Example: insufficient_funds

  - `errors` (array)

## Response 422:

  - `422` (unknown)
    **Unprocessable Content**
Our system understands the request but can’t process it due to invalid fields in the request body.

## Response 422 fields (application/json):

  - `type` (string)
    Example: validation

  - `errors` (array)

  - `errors.parameter` (string)
    Example: parameter_name

  - `errors.message` (string)
    Example: parameter_name is not valid

## Response 429:

  - `429` (unknown)
    **Too Many Requests**
This response indicates that a user has sent too many requests in a given amount of time.

## Response 429 fields (application/json):

  - `type` (string)
    Example: limit_exceeded

  - `errors` (array)

  - `errors.message` (string)
    Example: The limit for creating applicants has been exceeded (last minute)

## Response 500:

  - `500` (unknown)
    **Internal Server Error**
This response indicates that our system encountered an unexpected condition that prevented it from fulfilling the request.

## Response 500 fields (application/json):

  - `type` (string)
    Example: internal_server

  - `errors` (array)

## Response 502:

  - `502` (unknown)
    **Bad Gateway**
This response indicates that our system is unable to reach or communicate properly with an upstream server it relies on, the URL provided is incorrect, or a required token is missing from the request.

