Send login code
curl --request POST \
--url https://api.example.com/api/v1/partner/auth/sendconst options = {method: 'POST'};
fetch('https://api.example.com/api/v1/partner/auth/send', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/api/v1/partner/auth/send"
response = requests.post(url)
print(response.text)Login
Send login code
Send a one-time email verification code to start a user login.
POST
/
api
/
v1
/
partner
/
auth
/
send
Send login code
curl --request POST \
--url https://api.example.com/api/v1/partner/auth/sendconst options = {method: 'POST'};
fetch('https://api.example.com/api/v1/partner/auth/send', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/api/v1/partner/auth/send"
response = requests.post(url)
print(response.text)Requires
X-Api-Key and X-Api-Secret headers. See Authentication for details.The user must already be
active — meaning KYC has been approved — before they can log in. Calling this for a pending or kyc_required user still sends the code, but verification will fail with User account is {status}. Complete the onboarding flow first.Request
POST /api/v1/partner/auth/send
X-Api-Key: <your-api-key>
X-Api-Secret: <your-api-secret>
Content-Type: application/json
{
"email": "juan@example.com"
}
| Field | Type | Required | Description |
|---|---|---|---|
email | string | Yes | The email the user registered with |
Response — 200 OK
{
"success": true
}
success: true.
Errors
| Status | Error | Cause |
|---|---|---|
401 | Invalid partner credentials | Wrong X-Api-Key or X-Api-Secret |
429 | Rate limit exceeded | Too many code requests for this user in a short window — wait before retrying |
Codes expire after a few minutes. If the user doesn’t complete verification in time, call this endpoint again to send a fresh code.