Setup Vars

Create a new Setup Vars record.

post/api/cp/setup/var

Request

  • Base URL
    https://app.connexcs.com
  • Auth
    • OAuth 2
      Authorization code: https://auth.connexcs.com/authorize
      Token URL: https://auth.connexcs.com/token
    • or HTTP bearer

Request body

idstring

Id

account_idinteger

Account Id

app_idstring required

App Id (references app.id)

keystring

Key

valuestring

Value

key_namestring

Key Name

last_updatestring date-time nullable

Last Update

flagsstring[]

Flags

Example request

{
  "id": 12345,
  "account_id": 1,
  "app_id": 1,
  "key": "example_key",
  "value": "Sample value text content",
  "key_name": "example_key_name",
  "last_update": "2025-01-17T10:30:00Z",
  "flags": "protected"
}

Response

Successful response

statusstring

Operation status

Example response

{
  "id": 12345,
  "status": "OK"
}

Changes

    • info

      the endpoint scheme security oAuth2 was added to the API

    • info

      the endpoint scheme security opaqueToken was added to the API

    • info

      the endpoint scheme security basicAuth was removed from the API