API referenceCustom Fields
Update a custom field
Changes the label or description. The key stays as it was made (emails and the API use it); changing the type is a conversion.
PATCH
Changes the label or description. The key stays as it was made (emails and the API use it); changing the type is a conversion.
apiKey writeheader
AuthorizationBearer <token>A workspace API key (pf_…), created under Developers → API keys.
Scope: write
id*stringFormat
uuididempotency-key?stringRun this write once: a retry with the same key gets the first answer (24 hours).
Length
1 <= length <= 255application/json- body
label?stringLength
1 <= length <= 100description?|Length
length <= 500OK
application/json- response
id*stringFormat
uuidkey*stringlabel*stringdescription*string|nulltype*stringValue in
"text""number""boolean""date""list""json"platform*string|nullprofilesCount*integerarchivedAt*|Format
date-timecreatedAt*stringFormat
date-timeupdatedAt*stringFormat
date-timecurl -X PATCH 'https://api.postforge.dev/v1/custom-fields/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "label": "string", "description": "string", "type": "text", "platform": "string", "profilesCount": 0, "archivedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}