Skip to main content
POST
curl

Overview

Explicitly creates a User entity before any session is run. The returned entity lands in ACTIVE status unless you specify otherwise. Optionally, the same call emails the person a verification link (see Send a verification link).

When to use it

  • Pre-seed metadata (tier, signup source, internal tags) before the customer verifies.
  • Migrate from another vendor — recreate your existing user roster in Didit so history and analytics start from a known baseline.
  • Import trusted profile faces — create the User first, then call Upload User Face with the returned didit_internal_id.
  • Transaction-only use cases — register a User with vendor_data so you can submit transactions without ever running a User Verification (KYC) session.
  • Invite someone to verify: create the person and email them a verification link in one call.

Contact details

You can send the person’s contact details next to the profile fields. first_name and last_name are joined with a space into full_name when you don’t send full_name. email and phone_number are stored in metadata.contact, and country in metadata.address. country takes an ISO 3166 code, alpha-2 or alpha-3 (ES or ESP), and is stored uppercased. If the metadata you send already has a contact or address value that is not a JSON object, Didit doesn’t overwrite it: the call answers 400 on the contact field that needed it. Set send_verification_link to true to invite the person to verify in the same call. Didit creates a verification session for the person on the workflow in workflow_id and emails them the link at email. Use language to pick the email’s language; it is English when you leave it out.
  • email and workflow_id are required with a link, and the workflow must verify a person: a Business Verification (KYB) workflow answers 400.
  • The session goes through the same checks as Create Session. A blocklisted vendor_data or too few credits answers 400.
  • The person and the session are created together or not at all. When any check fails, nothing is written and no email is sent.
  • The response carries verification_link with the session’s session_id, session_number, status, url, workflow_id and the email it was sent to. Without a link, verification_link is null.

Notes

  • vendor_data is required and must be unique per application. Attempting to create a duplicate returns a conflict error — use PATCH /v3/users/{vendor_data}/ to update an existing user.
  • vendor_data has a hard limit of 2000 bytes (UTF-8 encoded). A value over that limit returns a 400 validation error instead of being accepted.
  • Fields that are normally derived from verified sessions (full_name, date_of_birth) can be seeded here but may be overwritten by the first approved User Verification (KYC) session.
  • Face images are not accepted by this endpoint. To attach a trusted imported face, use POST /v3/organization/{organization_id}/application/{application_id}/vendor-users/by-id/{didit_internal_id}/faces/upload/ after this endpoint returns didit_internal_id.
  • The create itself sends no webhook. Later changes to the user send user.data.updated or user.status.updated.
  • With send_verification_link, the new session updates the user in the same call, which sends user.data.updated.

Permissions

The primary secret and full-access API keys can always call this endpoint. A key with custom access needs People (users) write. With send_verification_link: true it also needs Sessions write, because the call creates a session and hands out its link. Without it, the call answers 403 with This API key has no write access to sessions. and nothing is written. A key limited to some workflows or to approved sessions can’t reach this endpoint. The Console’s roles and permissions decide what a team member can do in the Console. They are not evaluated for API key requests.

Authorizations

x-api-key
string
header
required

Your application's API key, from Developers -> API keys in the Business Console. The primary key has full access. A named key can be scoped: none, read or write per resource, limited to some workflows or to approved sessions, to a list of IP addresses, and to an expiry date. 401 means the key is wrong, revoked or expired; 403 means no key was sent, the key has no access to this resource or action, or the request came from an address outside its IP list; 404 on a session route means the session is outside the key's workflows or statuses. A key without media access receives image, video and PDF URLs as null, and a key without sessions write receives session links and tokens as null. See https://docs.didit.me/console/api-keys.

Headers

Idempotency-Key
string

Optional retry-safety key you choose for one operation, up to 255 characters (a UUID works). A request repeated with the same key, endpoint, query and body is answered with the first response, same status and same body, and runs and bills nothing a second time. The same key with another endpoint, query or body returns 409 idempotency_key_reused, and while the first request is still running, 409 idempotency_key_in_progress with Retry-After. A failed request (any 4xx or 5xx) is not stored, so you can send it again with the same key. Keys belong to your application, whether you call with an API key or an access token. See Retries and idempotency.

Required string length: 1 - 255

Body

application/json
vendor_data
string
required

Your unique identifier for this user (free-form string, NOT a UUID). Must be unique among the application's users; matched exactly as sent.

full_name
string | null

Full legal name of the user.

Maximum string length: 512
display_name
string | null

Friendly display name shown in the console (takes precedence over full_name for UI display).

Maximum string length: 255
date_of_birth
string<date> | null

Date of birth in YYYY-MM-DD format.

status
enum<string>
default:ACTIVE

Initial lifecycle status. Defaults to ACTIVE.

Available options:
ACTIVE,
FLAGGED,
BLOCKED
metadata
object | null

Arbitrary JSON object you attach to the user. Defaults to {}.

approved_emails
string[]

Pre-trusted email addresses for this user, e.g. ["john@example.com"].

approved_phones
string[]

Pre-trusted phone numbers for this user, e.g. ["+14155551234"].

issuing_states
string[]

Pre-recorded issuing countries (ISO 3166-1 alpha-3), e.g. ["USA"].

first_name
string

Given name. When full_name is not sent, Didit joins first_name and last_name with a space into full_name. Not returned as a separate field.

Maximum string length: 255
last_name
string

Family name. Joined with first_name into full_name when full_name is not sent. Not returned as a separate field.

Maximum string length: 255
email
string<email>

Contact email, stored in metadata.contact.email (it replaces an email you send inside metadata.contact). Required when send_verification_link is true: the link is sent to this address. If metadata.contact is not a JSON object, the call answers 400 on this field.

phone_number
string

Contact phone number, stored in metadata.contact.phone_number. If metadata.contact is not a JSON object, the call answers 400 on this field.

Maximum string length: 32
country
string

Country as an ISO 3166 code, alpha-2 or alpha-3 (ES or ESP). Stored uppercased in metadata.address.country. If metadata.address is not a JSON object, the call answers 400 on this field.

Maximum string length: 3

When true, Didit creates a verification session for the person on workflow_id and emails them the link at email. Requires email and workflow_id. A scoped API key also needs sessions write.

workflow_id
string<uuid>

The workflow of the verification session. Required when send_verification_link is true. It must verify a person: a Business Verification (KYB) workflow is refused. Ignored otherwise.

language
string

Language of the verification email, as a supported language code. English when omitted. Ignored when send_verification_link is not true.

Maximum string length: 10

Response

User created. The full user record (same shape as Get User), plus verification_link: the verification session Didit emailed when send_verification_link was true, otherwise null.

Full user detail. Extends UserListItem with metadata, comments, and updated_at.

The verification session Didit created and emailed to the person. Always present: null when send_verification_link was not true.

didit_internal_id
string<uuid>

Didit's stable internal UUID for this user.

vendor_data
string | null

Your unique identifier for this user (passed when creating sessions). This can be null when no vendor identifier was supplied.

display_name
string | null

Custom display name set by you

full_name
string | null

Full name extracted from verified documents

date_of_birth
string<date> | null
effective_name
string | null

Best available name: display_name if set, otherwise full_name

status
enum<string>

Lifecycle status of the user record (NOT a session status). ACTIVE is the default, FLAGGED marks the user for manual attention, BLOCKED prevents new sessions for this vendor_data.

Available options:
ACTIVE,
FLAGGED,
BLOCKED
portrait_image_url
string | null

Presigned URL of the user's portrait photo (expires after a few hours)

session_count
integer

Total number of verification sessions for this user

approved_count
integer

Number of approved sessions

declined_count
integer

Number of declined sessions

in_review_count
integer

Number of sessions in review

issuing_states
string[]

ISO 3166-1 alpha-3 codes of issuing countries seen on this user's approved ID documents, e.g. ["USA", "ESP"]. Empty array when none.

approved_emails
string[]

Verified email addresses collected from this user's approved sessions, e.g. ["john@example.com"].

approved_phones
string[]

Verified phone numbers collected from this user's approved sessions, e.g. ["+14155551234"].

features
object

Aggregated per-feature status across all of this user's sessions. Possible keys: ID_VERIFICATION, NFC, LIVENESS, FACE_MATCH, POA, QUESTIONNAIRE, EMAIL_VERIFICATION, PHONE, AML, IP_ANALYSIS, AGE_ESTIMATION, DATABASE_VALIDATION. Possible values: Approved, Declined, In Review, Not Finished, Resub Requested.

features_list
object[]

Same data as features, as an ordered array of {feature, status} objects.

last_session_at
string<date-time> | null

Timestamp of the most recent session

first_session_at
string<date-time> | null

Timestamp of the first session

last_activity_at
string<date-time> | null

Timestamp of the most recent activity on this user (session, transaction, status change, data edit, etc.).

tags
object[]

Tag assignments. NOTE: on detail responses each entry is a tag link object ({uuid, tag: {...}, added_by_email, added_by_name, created_at}), unlike the flat {uuid, name, color} shape used on list responses.

created_at
string<date-time>
metadata
object

Custom metadata JSON you attached to this user. Defaults to {}.

comments
object[]

Activity log and comments for this user (status changes, profile edits, manual notes).

updated_at
string<date-time>
Last modified on November 1, 2026