Getting Started: API Key Check

Verify your API keys and see which Cloudbox v1 resources they can read.

Authenticating with the Cloudbox v1 API

The v1 API is read-only: every endpoint accepts GET only and returns 405 for other methods. Call GET /api/v1/me first to confirm your keys work and see which resources they can read.

Your user key comes from Settings > API in Cloudbox and expires, so generate a new one when it does. Both keys must belong to the same organization, the user must be active, and the role needs SETTINGS_API_ACCESS. Each resource also requires its own view permission.

API Endpoint

GET
/api/v1/me

Required Headers

Every request must include the following:

Header Key
Description
org-api-key
Your Organization API key. Contact Cloudbox Support For Access: support@cloudboxapp.com.
user-api-key
Your User API Key

Requests missing either header will return 401 Unauthorized

Example Request

bash curl -X GET "https://app.cloudboxapp.com/api/v1/me" \ -H "org-api-key: YOUR_ORG_API_KEY" \ -H "user-api-key: YOUR_USER_API_KEY" \ -H "Accept: application/json"

Response Schema

Column
Type
Description
organization
object
id and name of the organization the keys belong to
user
object
id, name, and role of the user the user key belongs to
key_expires_at
string (ISO 8601), nullable
When the user API key expires
resources
array of objects
Every /api/v1 resource path, with accessible: true when the user's role can read it

Filters

limitPage size (default 100, max 1000)
offsetRecords to skip. Keep increasing offset by limit while has_more is true.
sort / orderSort field (allowed fields listed per resource) and direction: asc | desc
searchCase-insensitive partial match
updated_since / created_sinceISO 8601 timestamp for incremental syncs
other filtersExact match unless noted on the resource page

Errors

Cloudbox uses standard HTTP status codes to indicate API success or failure:

  • 200–299 – Request succeeded
  • 400 – Bad request (missing parameters, invalid values)
  • 401 – Unauthorized (missing or invalid API keys)
  • 404 – Resource not found
  • 429 – Too many requests (rate limited)