Whitelist applications closed
curl --request POST \
--url https://staging.apimonaco.xyz/api/v1/whitelist \
--header 'Content-Type: application/json' \
--data '
{
"walletAddress": "0x742d35Cc6634C0532925a3b8D4060f31E2C3d8B5",
"email": "[email protected]",
"twitterUsername": "monaco_user",
"telegramUsername": "monaco_user"
}
'import requests
url = "https://staging.apimonaco.xyz/api/v1/whitelist"
payload = {
"walletAddress": "0x742d35Cc6634C0532925a3b8D4060f31E2C3d8B5",
"email": "[email protected]",
"twitterUsername": "monaco_user",
"telegramUsername": "monaco_user"
}
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({
walletAddress: '0x742d35Cc6634C0532925a3b8D4060f31E2C3d8B5',
email: '[email protected]',
twitterUsername: 'monaco_user',
telegramUsername: 'monaco_user'
})
};
fetch('https://staging.apimonaco.xyz/api/v1/whitelist', 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://staging.apimonaco.xyz/api/v1/whitelist",
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([
'walletAddress' => '0x742d35Cc6634C0532925a3b8D4060f31E2C3d8B5',
'email' => '[email protected]',
'twitterUsername' => 'monaco_user',
'telegramUsername' => 'monaco_user'
]),
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://staging.apimonaco.xyz/api/v1/whitelist"
payload := strings.NewReader("{\n \"walletAddress\": \"0x742d35Cc6634C0532925a3b8D4060f31E2C3d8B5\",\n \"email\": \"[email protected]\",\n \"twitterUsername\": \"monaco_user\",\n \"telegramUsername\": \"monaco_user\"\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://staging.apimonaco.xyz/api/v1/whitelist")
.header("Content-Type", "application/json")
.body("{\n \"walletAddress\": \"0x742d35Cc6634C0532925a3b8D4060f31E2C3d8B5\",\n \"email\": \"[email protected]\",\n \"twitterUsername\": \"monaco_user\",\n \"telegramUsername\": \"monaco_user\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://staging.apimonaco.xyz/api/v1/whitelist")
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 \"walletAddress\": \"0x742d35Cc6634C0532925a3b8D4060f31E2C3d8B5\",\n \"email\": \"[email protected]\",\n \"twitterUsername\": \"monaco_user\",\n \"telegramUsername\": \"monaco_user\"\n}"
response = http.request(request)
puts response.read_body{
"message": "Your whitelist application has been submitted successfully! We'll review it and get back to you soon.",
"userId": "123e4567-e89b-12d3-a456-426614174000"
}Whitelist
Whitelist applications closed
deprecated
Public whitelist applications are closed.
Retained for client compatibility. Every decoded submission is rejected with HTTP 403 Forbidden / gRPC PERMISSION_DENIED and no applicant data is changed. Existing applications and administrative approvals remain available.
POST
/
api
/
v1
/
whitelist
Whitelist applications closed
curl --request POST \
--url https://staging.apimonaco.xyz/api/v1/whitelist \
--header 'Content-Type: application/json' \
--data '
{
"walletAddress": "0x742d35Cc6634C0532925a3b8D4060f31E2C3d8B5",
"email": "[email protected]",
"twitterUsername": "monaco_user",
"telegramUsername": "monaco_user"
}
'import requests
url = "https://staging.apimonaco.xyz/api/v1/whitelist"
payload = {
"walletAddress": "0x742d35Cc6634C0532925a3b8D4060f31E2C3d8B5",
"email": "[email protected]",
"twitterUsername": "monaco_user",
"telegramUsername": "monaco_user"
}
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({
walletAddress: '0x742d35Cc6634C0532925a3b8D4060f31E2C3d8B5',
email: '[email protected]',
twitterUsername: 'monaco_user',
telegramUsername: 'monaco_user'
})
};
fetch('https://staging.apimonaco.xyz/api/v1/whitelist', 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://staging.apimonaco.xyz/api/v1/whitelist",
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([
'walletAddress' => '0x742d35Cc6634C0532925a3b8D4060f31E2C3d8B5',
'email' => '[email protected]',
'twitterUsername' => 'monaco_user',
'telegramUsername' => 'monaco_user'
]),
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://staging.apimonaco.xyz/api/v1/whitelist"
payload := strings.NewReader("{\n \"walletAddress\": \"0x742d35Cc6634C0532925a3b8D4060f31E2C3d8B5\",\n \"email\": \"[email protected]\",\n \"twitterUsername\": \"monaco_user\",\n \"telegramUsername\": \"monaco_user\"\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://staging.apimonaco.xyz/api/v1/whitelist")
.header("Content-Type", "application/json")
.body("{\n \"walletAddress\": \"0x742d35Cc6634C0532925a3b8D4060f31E2C3d8B5\",\n \"email\": \"[email protected]\",\n \"twitterUsername\": \"monaco_user\",\n \"telegramUsername\": \"monaco_user\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://staging.apimonaco.xyz/api/v1/whitelist")
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 \"walletAddress\": \"0x742d35Cc6634C0532925a3b8D4060f31E2C3d8B5\",\n \"email\": \"[email protected]\",\n \"twitterUsername\": \"monaco_user\",\n \"telegramUsername\": \"monaco_user\"\n}"
response = http.request(request)
puts response.read_body{
"message": "Your whitelist application has been submitted successfully! We'll review it and get back to you soon.",
"userId": "123e4567-e89b-12d3-a456-426614174000"
}Body
application/json
Applicant wallet address
Required string length:
42Pattern:
^0x[0-9a-fA-F]{40}$Example:
"0x742d35Cc6634C0532925a3b8D4060f31E2C3d8B5"
Applicant Twitter/X username
Required string length:
1 - 15Pattern:
^[A-Za-z0-9_]{1,15}$Example:
"monaco_user"
Applicant Telegram username
Required string length:
5 - 32Pattern:
^[a-zA-Z0-9_]{5,32}$Example:
"monaco_user"
Response
OK
Legacy success message; submissions now return HTTP 403 / gRPC PERMISSION_DENIED
Example:
"Your whitelist application has been submitted successfully! We'll review it and get back to you soon."
Legacy created user UUID; retired submissions do not create users
Example:
"123e4567-e89b-12d3-a456-426614174000"
Was this page helpful?

