24Social APIContent
Get an entry
Fetches one entry by content form and document ID. See the Examples section for common place and event requests.
GET
/{contentFormId}/{documentId}curl -X GET "https://api.24social.io/api/v3/your-organisation/{contentFormId}/{documentId}" \
-H "Authorization: Bearer $24SOCIAL_API_KEY"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.
documentIdstringpathrequiredstatusenum<string>queryOne of:publisheddraftDefault:publishedselectstringqueryComma-separated response paths to include.
omitstringqueryComma-separated response paths to omit.
depthintegerqueryLinked-entry expansion depth.
Default:0assetMetabooleanqueryReturn expanded asset metadata instead of URL strings.
Default:falserawAssetLinksbooleanqueryKeep raw asset link objects.
Default:falseformatDatesbooleanqueryFormat timestamps as ISO-8601 strings.
Default:falsevisibilityIdstringqueryScope visibility-controlled blocks to a place ID.
brandVisibilityIdstringqueryScope visibility-controlled blocks to a brand ID.
Response
application/json
Entry
idstringfieldsobjectsysobjecthasDraftChangesboolean
{
"id": "string",
"fields": {},
"sys": {},
"hasDraftChanges": true
}