Create User (Individual)
API to create a new individual user in the system.
Create User
This API allows you to create a new individual user in the system. It is typically used during onboarding or when registering a new customer.
⚠️ Important Requirement: Verified Email & Phone Number
Both
phone************ must be verified before calling this API.
The client (frontend) is responsible for collecting and verifying user contact details. The backend strictly relies on this verification for compliance purposes.
✅ How to Verify (Any One Method Per Field)
You can use any standard verification method:
-
OTP verification (Email OTP / SMS OTP)
-
Email verification link (magic link / confirmation link)
-
OAuth-based verification (Google, Apple)
-
Trusted third-party identity/KYC providers
-
SIM/carrier-based phone verification (if applicable)
📌 Requirements
-
Both fields must belong to the user
-
Data must be actively verified
-
No dummy or temporary values allowed
-
Verification must be completed before API submission
❌ What Happens If Not Followed
-
Requests with unverified data may be rejected
-
May trigger compliance flags
-
Could lead to API access restrictions
Endpoint
POST /v1/public/users/individual
cURL Request
curl -X POST "https://sandbox-api.aparatech.io/v1/public/users/individual" \
-H "Content-Type: application/json" \
-H "MID: example_string" \
-d '{
"name": "John Doe",
"email": "user@example.com",
"phone": "81234567890",
"phoneCode": "+62"
}'
Response
{
"status": "success",
"data": {
"userId": "OCUX-17774643027532317"
}
}