Update Workspace Property
Update a custom property in the workspace associated with your API key.
Endpoint
PATCH https://api.campaignlark.com/v1/workspace/properties/:id
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | required | The property ID. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
label | string | required | Human-readable property label (1–64 characters). |
merge_tag | string | required | Property merge tag (1–96 characters). |
value | string | optional | Property value (up to 512 characters). |
Sample Request
PATCH https://api.campaignlark.com/v1/workspace/properties/12
Content-Type: application/json
{
"label": "Customer Industry",
"merge_tag": "industry",
"value": "Software"
}
Response
Success — 200 OK
{
"error": null,
"data": {
"id": 12,
"label": "Customer Industry",
"merge_tag": "industry",
"value": "Software"
}
}
Property Object
| Field | Type | Description |
|---|---|---|
id | integer | Unique property ID. |
label | string | Human-readable property label. |
merge_tag | string | Property merge tag used in messages. |
value | string | Current property value. |