Account
2 endpoints · base URL https://papaproxy.net/account_new · authentication
Get your profile
GET
/api/v1/customer/meAPI key required scope
customer:readYour account profile.
Request example Try it in the Dashboard
cURL
curl -X GET "https://papaproxy.net/account_new/api/v1/customer/me" \ -H "Authorization: Bearer $PAPAPROXY_API_KEY"
Python
import os
import requests
resp = requests.get(
"https://papaproxy.net/account_new/api/v1/customer/me",
headers={"Authorization": f"Bearer {os.environ['PAPAPROXY_API_KEY']}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())Node.js
const resp = await fetch("https://papaproxy.net/account_new/api/v1/customer/me", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.PAPAPROXY_API_KEY}`,
},
});
if (!resp.ok) throw new Error(`HTTP ${resp.status}`);
console.log(await resp.json());PHP
<?php
$ch = curl_init('https://papaproxy.net/account_new/api/v1/customer/me');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('PAPAPROXY_API_KEY'),
],
]);
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
var_dump($status, json_decode($response, true));Go
package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, err := http.NewRequest("GET", "https://papaproxy.net/account_new/api/v1/customer/me", nil)
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("PAPAPROXY_API_KEY"))
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
data, _ := io.ReadAll(resp.Body)
fmt.Println(resp.Status, string(data))
}Responses
200Your profile. · 21 fieldsExample response · JSON{ "customer": { "id": "8218fbc6-d67b-52fd-a639-cca399215d31", "email": "[email protected]", "name": "Alex Morgan", "phone": null, "is_verified": true, "kyc_status": null, "created_at": "2026-08-25T10:44:28.118221+00:00", "locale": "ru", "has_password": true, "oauth_provider": null, "account_type": "personal", "company_name": null, "address_line1": null, "address_line2": null, "city": null, "state": null, "postcode": null, "country": "US", "tax_id": null } }Field Type Description customerrequiredobject Your account profile. customer.idrequiredstring (uuid) Unique ID. customer.emailrequiredstring Account email address. customer.namerequiredstring, nullable customer.phonerequiredstring, nullable Phone number, if set. customer.is_verifiedrequiredboolean Whether the email address is verified. customer.kyc_statusrequiredstring, nullable customer.created_atrequiredstring (date-time) When it was created (ISO 8601, UTC). customer.localestring, nullable customer.has_passwordboolean Default: truecustomer.oauth_providerstring, nullable Sign-in provider used for the account, if any. customer.account_typestring Default: "personal"customer.company_namestring, nullable customer.address_line1string, nullable customer.address_line2string, nullable customer.citystring, nullable customer.statestring, nullable customer.postcodestring, nullable customer.countrystring, nullable Country from your profile, if set. customer.tax_idstring, nullable customer.partner_statusstring, nullable Status of your affiliate partner profile, if any. 401The API key is missing, malformed, revoked, or expired, or the account is inactive.Example · JSON{ "detail": "Invalid or revoked API key." }403The API key lacks scopecustomer:read.Example · JSON{ "detail": "API key is missing required scope: customer:read" }429Too many requests: the per-account limit is 60 requests per minute, shared by all keys and the MCP server. Retry with exponential backoff.Example · JSON{ "detail": "Too Many Requests" }
Update your profile
PATCH
/api/v1/customer/meAPI key required scope
customer:writeUpdate your name or phone number. Only name and phone are accepted; any other field, including email and locale, returns 422.
Request body
| Field | Type | Description |
|---|---|---|
name | string, nullable | Max length: 255 |
phone | string, nullable | Phone number, if set.Max length: 30 |
Request example Try it in the Dashboard
cURL
curl -X PATCH "https://papaproxy.net/account_new/api/v1/customer/me" \
-H "Authorization: Bearer $PAPAPROXY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "ACME Ops"}'Python
import os
import requests
resp = requests.patch(
"https://papaproxy.net/account_new/api/v1/customer/me",
headers={"Authorization": f"Bearer {os.environ['PAPAPROXY_API_KEY']}"},
json={
"name": "ACME Ops"
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())Node.js
const resp = await fetch("https://papaproxy.net/account_new/api/v1/customer/me", {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.PAPAPROXY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"name": "ACME Ops"
}),
});
if (!resp.ok) throw new Error(`HTTP ${resp.status}`);
console.log(await resp.json());PHP
<?php
$ch = curl_init('https://papaproxy.net/account_new/api/v1/customer/me');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'PATCH',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('PAPAPROXY_API_KEY'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'name' => 'ACME Ops'
]),
]);
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
var_dump($status, json_decode($response, true));Go
package main
import (
"fmt"
"io"
"net/http"
"os"
"strings"
)
func main() {
req, err := http.NewRequest("PATCH", "https://papaproxy.net/account_new/api/v1/customer/me", strings.NewReader(`{"name": "ACME Ops"}`))
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("PAPAPROXY_API_KEY"))
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
data, _ := io.ReadAll(resp.Body)
fmt.Println(resp.Status, string(data))
}Responses
200Full profile of the currently authenticated customer. · 21 fieldsExample response · JSON{ "customer": { "id": "8218fbc6-d67b-52fd-a639-cca399215d31", "email": "[email protected]", "name": "Alex Morgan", "phone": null, "is_verified": true, "kyc_status": null, "created_at": "2026-08-25T10:44:28.118221+00:00", "locale": "ru", "has_password": true, "oauth_provider": null, "account_type": "personal", "company_name": null, "address_line1": null, "address_line2": null, "city": null, "state": null, "postcode": null, "country": "US", "tax_id": null } }Field Type Description customerrequiredobject Your account profile. customer.idrequiredstring (uuid) Unique ID. customer.emailrequiredstring Account email address. customer.namerequiredstring, nullable customer.phonerequiredstring, nullable Phone number, if set. customer.is_verifiedrequiredboolean Whether the email address is verified. customer.kyc_statusrequiredstring, nullable customer.created_atrequiredstring (date-time) When it was created (ISO 8601, UTC). customer.localestring, nullable customer.has_passwordboolean Default: truecustomer.oauth_providerstring, nullable Sign-in provider used for the account, if any. customer.account_typestring Default: "personal"customer.company_namestring, nullable customer.address_line1string, nullable customer.address_line2string, nullable customer.citystring, nullable customer.statestring, nullable customer.postcodestring, nullable customer.countrystring, nullable Country from your profile, if set. customer.tax_idstring, nullable customer.partner_statusstring, nullable Status of your affiliate partner profile, if any. 401The API key is missing, malformed, revoked, or expired, or the account is inactive.Example · JSON{ "detail": "Invalid or revoked API key." }403The API key lacks scopecustomer:write.Example · JSON{ "detail": "API key is missing required scope: customer:write" }422Validation error: a field is missing or has the wrong type or value.Example · JSON{ "detail": "Validation error" }429Too many requests: the per-account limit is 60 requests per minute, shared by all keys and the MCP server. Retry with exponential backoff.Example · JSON{ "detail": "Too Many Requests" }
Last updated: November 9, 2026. Generated from the OpenAPI 3.1 specification (API version 0.1.0). Markdown version for AI agents.