Account
Auth: Authorization: Bearer zpk_... required.
GET /v1/me
Returns the authenticated user profile and account plan.
Response 200
{
"user": {
"id": "user_uuid",
"email": "you@example.com",
"display_name": "Your Name",
"locale": "en",
"theme": "system",
"created_at": "2026-01-01T00:00:00Z"
},
"customer": {
"id": "cust_uuid",
"name": "Your Company",
"plan": "starter",
"trial_ends_at": null,
"created_at": "2026-01-01T00:00:00Z"
}
}Plans: trial | starter | pro | gated
PATCH /v1/me
Update profile preferences.
Request body
{
"locale": "en",
"theme": "dark"
}| Field | Values | Notes |
|---|---|---|
locale | "en" or "pt-BR" or "es" | |
theme | "system" or "light" or "dark" |
Response 200
{
"user": {
"id": "user_uuid",
"locale": "en",
"theme": "dark"
}
}DELETE /v1/me/account
Permanently delete the account and all associated data (API keys, jobs, webhooks). Irreversible.
Request body
{
"reason_code": "just_testing",
"reason_freetext": "Optional freetext reason."
}| Field | Required | Values |
|---|---|---|
reason_code | yes | too_expensive or missing_feature or too_complex or found_alternative or no_longer_needed or just_testing or other |
reason_freetext | no | Up to 2000 chars. |
Response 204
No content. Account is gone.