Account

Retrieve the authenticated user's account details, including credit balance and allowed domains.

This endpoint returns the current authenticated user's account information. It includes the user's unique ID, available credit balance, and a list of allowed client domains used for CORS validation.

Authentication is required via the x-api-key header. Use this endpoint to verify the active user or check remaining credits before submitting tasks.

Get Account Info

get

Retrieve the authenticated user's account details including available credit and allowed domains.

Authorizations
x-api-keystringRequired
Responses
get
/account/get
GET /account/get HTTP/1.1
Host: enterprise.nudify.me
x-api-key: YOUR_API_KEY
Accept: */*
{
  "id": "uH1dYT2z6xQ3vLpP8fE4Yc9pD7aB",
  "credit": 42,
  "allowedDomains": [
    "example.com",
    "yourapp.dev"
  ]
}

Last updated