Account & API keys
Your profile and API key management.
Base URL: https://fineproxy.org/account_new ·Download the OpenAPI 3.1 specification
List Api Keys
GET/api/v1/customers/me/api-keys
List the customer's API keys.
Session only; an impersonating staff member may look (incident response).
Required scope: Dashboard session only — API keys are rejected with 403 api_key_management_requires_session.
Example request
curl -X GET "https://fineproxy.org/account_new/api/v1/customers/me/api-keys" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response
Response fields (9)
| Name | Type | Description |
|---|---|---|
idrequired | string (uuid) | |
namerequired | string | |
key_prefixrequired | string | |
scopesrequired | array<string> | |
is_activerequired | boolean | |
created_atrequired | string (date-time) | |
last_used_atoptional | string (date-time) | null | |
last_used_ipoptional | string | null | |
expires_atoptional | string (date-time) | null |
Create Api Key
POST/api/v1/customers/me/api-keys
Create a new API key. The raw secret is returned ONCE in this response.
Owner session only — an fb_ key cannot mint another key (APIKEY-SELF-ESCALATION-1), and impersonation cannot either (K2).
Required scope: Dashboard session only — API keys are rejected with 403 api_key_management_requires_session.
Request body
| Name | Type | Description |
|---|---|---|
namerequired | string | |
scopesrequired | array<string> | Customer-channel scopes for this key |
Example request
curl -X POST "https://fineproxy.org/account_new/api/v1/customers/me/api-keys" \
-H "Authorization: Bearer $FINEPROXY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"scopes": [
"string"
]
}'Responses
201Successful Response422Validation Error
Response fields (10)
| Name | Type | Description |
|---|---|---|
idrequired | string (uuid) | |
namerequired | string | |
key_prefixrequired | string | |
scopesrequired | array<string> | |
is_activerequired | boolean | |
created_atrequired | string (date-time) | |
last_used_atoptional | string (date-time) | null | |
last_used_ipoptional | string | null | |
expires_atoptional | string (date-time) | null | |
api_keyrequired | string | Full secret key — shown ONCE, store it now |
Revoke Api Key
DELETE/api/v1/customers/me/api-keys/{key_id}
Revoke an owned API key.
Session only; impersonation may revoke and the audit row names the staff member who did it (K2).
Required scope: Dashboard session only — API keys are rejected with 403 api_key_management_requires_session.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
key_idrequired | path | string (uuid) |
Example request
curl -X DELETE "https://fineproxy.org/account_new/api/v1/customers/me/api-keys/$KEY_ID" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error
Response fields (1)
| Name | Type | Description |
|---|---|---|
messagerequired | string |
Get Profile
GET/api/v1/customer/me
Get your account profile.
Required scope: customer:read
Example request
curl -X GET "https://fineproxy.org/account_new/api/v1/customer/me" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response
Update Profile
PATCH/api/v1/customer/me
Update your account profile (name, phone). Email cannot be changed.
Required scope: customer:write
Request body
| Name | Type | Description |
|---|---|---|
nameoptional | string | null | |
phoneoptional | string | null |
Example request
curl -X PATCH "https://fineproxy.org/account_new/api/v1/customer/me" \
-H "Authorization: Bearer $FINEPROXY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"phone": "string"
}'Responses
200Successful Response422Validation Error
Response fields (3)
| Name | Type | Description |
|---|---|---|
customerrequired | CustomerProfile | |
tenant_coderequired | string | |
tenant_namerequired | string |