POST
/
v1
/
get-user-details-api
Get User Details
curl --request POST \
  --url https://api.altmagic.pro/v1/get-user-details-api \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "user_id": "jsmith@example.com"
}'
{
  "userDetails": {
    "user_id": "<string>",
    "plan_type": "<string>",
    "credits_available": 123
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

200
application/json

Successful user details retrieval

The response is of type object.