24Social APIContent
Replace an entry
PUT
/{contentFormId}/{documentId}curl -X PUT "https://api.24social.io/api/v3/your-organisation/{contentFormId}/{documentId}" \
-H "Authorization: Bearer $24SOCIAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Example title",
"slug": "example-title"
}'Authorization
AuthorizationstringheaderrequiredAn organisation API token. Firebase ID tokens are also accepted for signed-in first-party sessions.
Parameters
contentFormIdstringpathrequiredThe content-form ID, for example page, event or offer.
documentIdstringpathrequiredstrictbooleanqueryReject unknown fields rather than ignoring them.
Default:falsedraftbooleanqueryWrite to the working draft rather than the published entry root.
Default:false
Body
application/json
object
Response
application/json
Updated entry
idstringfieldsobjectsysobjecthasDraftChangesboolean
{
"id": "string",
"fields": {},
"sys": {},
"hasDraftChanges": true
}