Skip to main content
POST
Create user

Authorizations

Authorization
string
header
required

API key as Bearer token

Headers

Reap-Version
enum<string>
required

API version (YYYY-MM-DD)

Available options:
2025-02-14
Example:

"2025-02-14"

Body

Request body for creating a new user

email
string<email>
required

User email address (max 50 characters)

Maximum string length: 50
Pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
Example:

"john.doe@partner.io"

phoneNumber
string
required

Phone number in E.164 format (e.g., +14155552671)

Pattern: ^\+[1-9]\d{6,14}$
Example:

"+14155552671"

externalId
string

Your own identifier for this user (1-255 characters). Must be unique among your active users; a deleted user releases its value for reuse. Use it to look the user up later via the externalId filter on List users.

Required string length: 1 - 255
Example:

"cardholder_8f21a"

firstName
string

User first name (1-100 characters). Optional - auto-populated from the verified KYC identity on application approval if omitted.

Required string length: 1 - 100
Example:

"John"

lastName
string

User last name (1-100 characters). Optional - auto-populated from the verified KYC identity on application approval if omitted.

Required string length: 1 - 100
Example:

"Doe"

companyId
string<uuid>

Company ID (required in CORPORATE program mode)

Response

User resource

id
string<uuid>
required

Unique user identifier

externalId
string | null
required

Your own identifier for this user, as supplied at creation. Null if none was provided.

Example:

"cardholder_8f21a"

email
string<email>
required

User email address

Pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
Example:

"john.doe@example.com"

phoneNumber
string
required

Phone number in E.164 format

Example:

"+14155552671"

firstName
string | null
required

User first name. Null until provided by the client or backfilled from the verified KYC identity on approval.

Example:

"John"

lastName
string | null
required

User last name. Null until provided by the client or backfilled from the verified KYC identity on approval.

Example:

"Doe"

country
string | null
required

ISO 3166-1 alpha-2 country code

Required string length: 2
Example:

"US"

dateOfBirth
string | null
required

Date of birth in YYYY-MM-DD format (populated from KYC)

Example:

"1990-05-15"

companyId
string<uuid> | null
required

Company ID (set in CORPORATE program mode)

application
object
required

KYC application status

createdAt
string
required

ISO 8601 timestamp of creation

Example:

"2024-01-15T10:30:00Z"

updatedAt
string
required

ISO 8601 timestamp of last update

Example:

"2024-01-15T10:35:00Z"