Confirm an email address
curl --request POST \
--url https://calibri.io/api/v2/persona/identity/users/email/confirm_code \
--header 'Content-Type: application/json' \
--data '
{
"token": "eyJhbGciOi…"
}
'import requests
url = "https://calibri.io/api/v2/persona/identity/users/email/confirm_code"
payload = { "token": "eyJhbGciOi…" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({token: 'eyJhbGciOi…'})
};
fetch('https://calibri.io/api/v2/persona/identity/users/email/confirm_code', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://calibri.io/api/v2/persona/identity/users/email/confirm_code",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'token' => 'eyJhbGciOi…'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://calibri.io/api/v2/persona/identity/users/email/confirm_code"
payload := strings.NewReader("{\n \"token\": \"eyJhbGciOi…\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://calibri.io/api/v2/persona/identity/users/email/confirm_code")
.header("Content-Type", "application/json")
.body("{\n \"token\": \"eyJhbGciOi…\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://calibri.io/api/v2/persona/identity/users/email/confirm_code")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"token\": \"eyJhbGciOi…\"\n}"
response = http.request(request)
puts response.read_body{
"base_currency_id": "usdc",
"can_change_password": true,
"can_link_wallet": false,
"created_at": "2026-07-01T09:12:00Z",
"email": "alex@example.com",
"entity_type": "individual",
"id": 4821,
"is_withdrawal_hold_exempt": false,
"labels": [
{
"created_at": "2026-07-01T09:12:00Z",
"key": "document",
"scope": "public",
"updated_at": "2026-07-02T14:30:00Z",
"value": "verified"
}
],
"level": 2,
"otp": true,
"phones": [
{
"country": "ZAF",
"number": "27821234567",
"validated_at": "2026-07-02T14:30:00Z"
}
],
"profiles": [
{
"created_at": "2026-07-01T09:12:00Z",
"updated_at": "2026-07-02T14:30:00Z",
"address": "12 Long Street",
"city": "Cape Town",
"country": "ZAF",
"dob": "1990-04-17",
"first_name": "Alex",
"last_name": "Mwangi",
"metadata": "{\"nationality\":\"ZA\"}",
"occupation": "engineer",
"postcode": "8001",
"source_of_funds": "salary",
"state": "verified"
}
],
"role": "member",
"state": "active",
"uid": "ID1A2B3C4D5E",
"updated_at": "2026-07-02T14:30:00Z",
"advisory_id": null,
"csrf_token": "lJ8xQ2...f41",
"data": {},
"last_doc_submitted_at": "2026-07-01T09:12:00Z",
"last_doc_type_submitted": "Passport",
"referral_code": "CAL7X2QM",
"referral_id": null,
"referral_link": "https://calibri.io/?ref=CAL7X2QM",
"username": "brisk_otter_41",
"wallet_address": "0xE1188438C85C98aADFf1a88f97764E607B4978C3"
}Account
Confirm an email address
Consumes the emailed confirmation token, stamps the email as verified, and moves the account to active so trading and verification steps can proceed.
POST
/
api
/
v2
/
persona
/
identity
/
users
/
email
/
confirm_code
Confirm an email address
curl --request POST \
--url https://calibri.io/api/v2/persona/identity/users/email/confirm_code \
--header 'Content-Type: application/json' \
--data '
{
"token": "eyJhbGciOi…"
}
'import requests
url = "https://calibri.io/api/v2/persona/identity/users/email/confirm_code"
payload = { "token": "eyJhbGciOi…" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({token: 'eyJhbGciOi…'})
};
fetch('https://calibri.io/api/v2/persona/identity/users/email/confirm_code', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://calibri.io/api/v2/persona/identity/users/email/confirm_code",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'token' => 'eyJhbGciOi…'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://calibri.io/api/v2/persona/identity/users/email/confirm_code"
payload := strings.NewReader("{\n \"token\": \"eyJhbGciOi…\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://calibri.io/api/v2/persona/identity/users/email/confirm_code")
.header("Content-Type", "application/json")
.body("{\n \"token\": \"eyJhbGciOi…\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://calibri.io/api/v2/persona/identity/users/email/confirm_code")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"token\": \"eyJhbGciOi…\"\n}"
response = http.request(request)
puts response.read_body{
"base_currency_id": "usdc",
"can_change_password": true,
"can_link_wallet": false,
"created_at": "2026-07-01T09:12:00Z",
"email": "alex@example.com",
"entity_type": "individual",
"id": 4821,
"is_withdrawal_hold_exempt": false,
"labels": [
{
"created_at": "2026-07-01T09:12:00Z",
"key": "document",
"scope": "public",
"updated_at": "2026-07-02T14:30:00Z",
"value": "verified"
}
],
"level": 2,
"otp": true,
"phones": [
{
"country": "ZAF",
"number": "27821234567",
"validated_at": "2026-07-02T14:30:00Z"
}
],
"profiles": [
{
"created_at": "2026-07-01T09:12:00Z",
"updated_at": "2026-07-02T14:30:00Z",
"address": "12 Long Street",
"city": "Cape Town",
"country": "ZAF",
"dob": "1990-04-17",
"first_name": "Alex",
"last_name": "Mwangi",
"metadata": "{\"nationality\":\"ZA\"}",
"occupation": "engineer",
"postcode": "8001",
"source_of_funds": "salary",
"state": "verified"
}
],
"role": "member",
"state": "active",
"uid": "ID1A2B3C4D5E",
"updated_at": "2026-07-02T14:30:00Z",
"advisory_id": null,
"csrf_token": "lJ8xQ2...f41",
"data": {},
"last_doc_submitted_at": "2026-07-01T09:12:00Z",
"last_doc_type_submitted": "Passport",
"referral_code": "CAL7X2QM",
"referral_id": null,
"referral_link": "https://calibri.io/?ref=CAL7X2QM",
"username": "brisk_otter_41",
"wallet_address": "0xE1188438C85C98aADFf1a88f97764E607B4978C3"
}Body
application/json
From the confirmation email.
Example:
"eyJhbGciOi…"
Response
201 - application/json
Example:
"usdc"
Example:
true
Example:
false
Example:
"2026-07-01T09:12:00Z"
Example:
"alex@example.com"
Available options:
individual, business Example:
"individual"
Example:
4821
Example:
false
Show child attributes
Show child attributes
Example:
2
Example:
true
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Example:
"member"
Available options:
pending, active, banned, deleted Example:
"active"
Example:
"ID1A2B3C4D5E"
Example:
"2026-07-02T14:30:00Z"
Example:
null
Present on login only. Echo it as X-CSRF-Token on every unsafe request for the life of the session.
Example:
"lJ8xQ2...f41"
Show child attributes
Show child attributes
Example:
{}
Example:
"2026-07-01T09:12:00Z"
Example:
"Passport"
Example:
"CAL7X2QM"
The account that referred YOU, if any.
Example:
null
Example:
"https://calibri.io/?ref=CAL7X2QM"
Example:
"brisk_otter_41"
Example:
"0xE1188438C85C98aADFf1a88f97764E607B4978C3"