CloudPlans Docs

Support cases

Open and follow support cases from your own tools, and the public contact form.

List cases

GET /v1/support?action=query_support&org_id=org-k3m9q2x7d1a5z8w4

Lists your own support cases and, if you pass org_id and you are owner or admin of it, the cases of that organization.

Who can call it: any signed-in user for your own cases; owner or admin for the cases of an organization. MFA policy action: view (organization cases). If the organization requires MFA for it and your user has none, the call is refused with 501 MFA needed.

Headers

Name Value
Content-Type application/json
Authorization Bearer <access token>

Example

curl -X GET 'https://console.cloudplans.io/v1/support?action=query_support&org_id=org-k3m9q2x7d1a5z8w4' \
  -H 'Authorization: Bearer $TOKEN'

Query string

Name Type Required Description
action string Yes Fixed value query_support
org_id string No The Organization ID, to also list its cases

Response

{
  "status": 200,
  "response": {
    "own": {
      "status": 200,
      "response": "Own Support Cases",
      "cases": []
    },
    "org": {
      "status": 200,
      "response": "Organization Support Cases",
      "cases": [
        {
          "case_id": "case-4f8a1c9d2e7b3a60",
          "org_id": "org-k3m9q2x7d1a5z8w4",
          "user_id": "maria.garcia@example.com",
          "subject": "Cannot add an Azure credential",
          "message": "The test fails with a 401 although the secret is valid.",
          "topic": "Question",
          "status": "open",
          "date": "2026-11-10 22:41:30.123456",
          "comments": [
            {
              "date": "2026-11-10 23:00:00.000000",
              "comment": "Thanks, we are checking",
              "user": "support@example.com"
            }
          ]
        }
      ]
    }
  }
}

Your own cases are those opened without org_id. Denials for the organization part (Not authorized..., MFA needed) come inside the 200 body (org.status 500), not as HTTP 403. status of a case is open or closed; comments may be absent.

Errors

Every error is a JSON body {"status": <code>, "response": "<message>"} (see Common conventions).

HTTP When
400 Action query string parameter is required (no action) or Unknown action.
401 The token is missing, expired (Invalid or expired token) or revoked (Token has been revoked). Log in again and reload it.
403 Can not identify the user (your email is not verified).
500 Problems reading the Support Cases (both parts failed).

Create case

POST /v1/support?action=create_case

Opens a support case. Omit org_id to open a personal case under your own email. You get an email copy of the case.

Who can call it: any signed-in user for a personal case; owner or admin for an organization case. MFA policy action: create (organization cases). If the organization requires MFA for it and your user has none, the call is refused with 501 MFA needed.

Headers

Name Value
Content-Type application/json
Authorization Bearer <access token>

Example

curl -X POST 'https://console.cloudplans.io/v1/support?action=create_case' \
  -H 'Authorization: Bearer $TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "org_id": "org-k3m9q2x7d1a5z8w4",
    "subject": "Cannot add an Azure credential",
    "message": "The test fails with a 401 although the secret is valid.",
    "topic": "Question"
  }'

Query string

Name Type Required Description
action string Yes Fixed value create_case

Body

Name Type Required Description
org_id string No The Organization ID. Omit it for a personal case.
subject string Yes Subject of the case
message string Yes Description of the problem
topic string Yes The console offers Bug, Question, Billing, Feature Request and Other; the API only requires that the key is present

Response

{
  "status": 200,
  "response": "Support case created"
}

The response does not carry the case_id: call List cases to read it. The API does not limit the length of the text beyond the request size.

Errors

Every error is a JSON body {"status": <code>, "response": "<message>"} (see Common conventions).

HTTP When
400 Invalid JSON payload: the body is missing, is not valid JSON or is not a JSON object.
400 Action query string parameter is required (no action) or Unknown action.
401 The token is missing, expired (Invalid or expired token) or revoked (Token has been revoked). Log in again and reload it.
403 Not authorized. You do not have the appropiated role for doing this action, or MFA needed.
500 Subject (subjet), Message (message) and Topic (topic) are not presents in the payload and are required, Problems creating the Support Case, or Case created but we detected problems registering the action.

Add comment

POST /v1/support?action=add_comment

Adds a comment to a case. Any owner or admin of the organization can comment on any case of the organization; send the org_id of the case.

Who can call it: any signed-in user for personal cases; owner or admin for organization cases. MFA policy action: update (organization cases). If the organization requires MFA for it and your user has none, the call is refused with 501 MFA needed.

Headers

Name Value
Content-Type application/json
Authorization Bearer <access token>

Example

curl -X POST 'https://console.cloudplans.io/v1/support?action=add_comment' \
  -H 'Authorization: Bearer $TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "org_id": "org-k3m9q2x7d1a5z8w4",
    "case_id": "case-4f8a1c9d2e7b3a60",
    "comment": "I rotated the secret and it still fails."
  }'

Query string

Name Type Required Description
action string Yes Fixed value add_comment

Body

Name Type Required Description
org_id string No The Organization ID of the case. Omit it for a personal case.
case_id string Yes The case ID
comment string Yes The comment

Response

{
  "status": 200,
  "response": "Comment added"
}

The case is not checked for existence or state: commenting on an unknown case_id creates an empty stub, and closed cases still accept comments.

Errors

Every error is a JSON body {"status": <code>, "response": "<message>"} (see Common conventions).

HTTP When
400 Invalid JSON payload: the body is missing, is not valid JSON or is not a JSON object.
400 Action query string parameter is required (no action) or Unknown action.
401 The token is missing, expired (Invalid or expired token) or revoked (Token has been revoked). Log in again and reload it.
403 Not authorized. You do not have the appropiated role for doing this action, or MFA needed.
500 Case ID (case_id) and Comment (comment) are not presents in the payload and are required or Problems adding the comment.

Close case

POST /v1/support?action=close_case

Closes a case (a Closed the Support Case comment is added and you get an email).

Who can call it: any signed-in user for personal cases; owner or admin for organization cases. MFA policy action: update (organization cases). If the organization requires MFA for it and your user has none, the call is refused with 501 MFA needed.

Headers

Name Value
Content-Type application/json
Authorization Bearer <access token>

Example

curl -X POST 'https://console.cloudplans.io/v1/support?action=close_case' \
  -H 'Authorization: Bearer $TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "org_id": "org-k3m9q2x7d1a5z8w4",
    "case_id": "case-4f8a1c9d2e7b3a60"
  }'

Query string

Name Type Required Description
action string Yes Fixed value close_case

Body

Name Type Required Description
org_id string No The Organization ID of the case. Omit it for a personal case.
case_id string Yes The case ID

Response

{
  "status": 200,
  "response": "Case closed"
}

Errors

Every error is a JSON body {"status": <code>, "response": "<message>"} (see Common conventions).

HTTP When
400 Invalid JSON payload: the body is missing, is not valid JSON or is not a JSON object.
400 Action query string parameter is required (no action) or Unknown action.
401 The token is missing, expired (Invalid or expired token) or revoked (Token has been revoked). Log in again and reload it.
403 Not authorized. You do not have the appropiated role for doing this action, or MFA needed.
500 Case ID (case_id) is not presents in the payload and is required or Problems closing the case.

Reopen case

POST /v1/support?action=reopen_case

Reopens a closed case.

Who can call it: any signed-in user for personal cases; owner or admin for organization cases. MFA policy action: update (organization cases). If the organization requires MFA for it and your user has none, the call is refused with 501 MFA needed.

Headers

Name Value
Content-Type application/json
Authorization Bearer <access token>

Example

curl -X POST 'https://console.cloudplans.io/v1/support?action=reopen_case' \
  -H 'Authorization: Bearer $TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "org_id": "org-k3m9q2x7d1a5z8w4",
    "case_id": "case-4f8a1c9d2e7b3a60"
  }'

Query string

Name Type Required Description
action string Yes Fixed value reopen_case

Body

Name Type Required Description
org_id string No The Organization ID of the case. Omit it for a personal case.
case_id string Yes The case ID

Response

{
  "status": 200,
  "response": "Case re-opened"
}

Errors

Every error is a JSON body {"status": <code>, "response": "<message>"} (see Common conventions).

HTTP When
400 Invalid JSON payload: the body is missing, is not valid JSON or is not a JSON object.
400 Action query string parameter is required (no action) or Unknown action.
401 The token is missing, expired (Invalid or expired token) or revoked (Token has been revoked). Log in again and reload it.
403 Not authorized. You do not have the appropiated role for doing this action, or MFA needed.
500 Case ID (case_id) is not presents in the payload and is required or Problems reopening the case.

Contact form

POST /v1/contact

Sends a message to the CloudPlans team (the form of the public website). No token is needed: it is the only public route.

Who can call it: public (no authentication). MFA policy: not applied to this call.

Headers

Name Value
Content-Type application/json

Example

curl -X POST 'https://console.cloudplans.io/v1/contact' \
  -H 'Content-Type: application/json' \
  -d '{
    "firstname": "Maria",
    "lastname": "Garcia",
    "email": "maria.garcia@example.com",
    "subject": "sales",
    "message": "We would like to know more about the subscription tiers."
  }'

Body

Name Type Required Description
firstname string Yes Up to 200 characters
lastname string No Up to 200 characters
email string Yes A valid email address, up to 254 characters. The team replies to it.
subject string No A topic: support, billing, sales, feedback or other (any other text is used as written), up to 200 characters
message string Yes Up to 5000 characters

Response

{
  "status": 200,
  "response": "Message sent"
}

The whole body can be at most 10000 characters. Strings are trimmed. The route is rate limited (1 request per second per API, plus a per-IP limit): a 429 means wait and retry.

Errors

Every error is a JSON body {"status": <code>, "response": "<message>"} (see Common conventions).

HTTP When
400 Request body too large, Invalid JSON body, Invalid field: <key>, First name, email and message are required, Name or topic too long, Email address too long, Message too long or Invalid email address.
429 Throttled by API Gateway or the firewall.
500 Could not send your message right now. Please try again later.