GET
/
{project_id}
/
user
cURL
curl --request GET \
  --url https://crxbase.com/api/{project_id}/user
{
  "email": "<string>",
  "paid": true,
  "plans": [
    {
      "id": "<string>",
      "name": "<string>",
      "price": 123,
      "credits": 123,
      "description": "<string>",
      "billing_cycle": "once",
      "status": "active",
      "paid_at": "2023-11-07T05:31:56Z",
      "canceled_at": "2023-11-07T05:31:56Z"
    }
  ],
  "credits_left": 123
}

Path Parameters

project_id
string
required

ID of the project

Response

Successful response

email
string
required

User email address

paid
boolean
required

True if the user has at least one active subscription or has purchased a lifetime (billing_cycle = once) plan

plans
object[]
required

All plans the user has purchased

credits_left
integer

Remaining credits