The subscription plan of the user

GET /me/plan

Get the subscription of the user: the current plan, any pending plans, and the duration of a trial period if applicable

Responses

GET /me/plan
curl \
 --request GET 'https://api.bitrise.io/v0.1/me/plan' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "data": {
    "current_plan": {
      "container_count": 42,
      "expires_at": "string",
      "id": "string",
      "name": "string",
      "price": 42
    },
    "pending_plan": {
      "container_count": 42,
      "expires_at": "string",
      "id": "string",
      "name": "string",
      "price": 42
    },
    "trial_expires_at": "string"
  }
}
Response examples (400)
{
  "message": "string"
}
Response examples (401)
{
  "message": "string"
}
Response examples (404)
{
  "message": "string"
}
Response examples (500)
{
  "message": "string"
}