Appearance
Settings
Endpoints of the public API tagged Settings, generated from the API's OpenAPI document. Base URL: your API origin, for example https://api.example.com. See API overview and API keys and scopes.
The sub-account's custom values, with the agency values it inherits
text
GET /api/v1/rest/custom-values- Operation id:
listCustomValues - Scope:
customValues:read
Response (200): { success: true, data: { items, nextCursor } }
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
key | string | yes | |
name | string | yes | |
value | string | yes | |
folder | string | yes | |
level | string (agency, subaccount) | yes | |
updatedAt | string | yes |
Add a custom value (the key defaults to one made from the name)
text
POST /api/v1/rest/custom-values- Operation id:
createCustomValue - Scope:
customValues:write
Request body
| Field | Type | Required | Notes |
|---|---|---|---|
key | string | no | |
name | string | yes | |
value | string | no | |
folder | string | no |
Response (201): { success: true, data }
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
key | string | yes | |
name | string | yes | |
value | string | yes | |
folder | string | yes | |
level | string (agency, subaccount) | yes | |
updatedAt | string | yes |
Change one of the sub-account's custom values (a renamed key keeps working)
text
PATCH /api/v1/rest/custom-values/{customValueId}- Operation id:
updateCustomValue - Scope:
customValues:write
Parameters
| Name | In | Required | Type |
|---|---|---|---|
customValueId | path | yes | string |
Request body
| Field | Type | Required | Notes |
|---|---|---|---|
key | string | no | |
name | string | no | |
value | string | no | |
folder | string | no |
Response (200): { success: true, data }
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
key | string | yes | |
name | string | yes | |
value | string | yes | |
folder | string | yes | |
level | string (agency, subaccount) | yes | |
updatedAt | string | yes |