curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/admin/templates/posts \
--header 'x-api-token: <api-key>'{
"totalCount": 123,
"edges": [
{
"id": "<string>",
"organisationId": "<string>",
"communityId": "<string>",
"details": {
"title": "<string>",
"description": "<string>",
"light": {
"primaryImageUrl": "<string>",
"secondaryImageUrl": "<string>"
},
"dark": {
"primaryImageUrl": "<string>",
"secondaryImageUrl": "<string>"
}
},
"likes": [
"<string>"
],
"disableComments": true,
"disableLikes": true,
"displayBannerOnPost": true,
"status": "archived",
"tags": [
"<string>"
],
"campaigns": [
"<string>"
],
"availableAsTemplateForOrganisations": [
"<string>"
],
"isGlobalTemplate": true,
"createdAt": "<string>",
"createdBy": "<string>",
"isEditing": true,
"content": "<string>",
"startsAt": "<string>",
"expiresAt": "<string>",
"featured": true,
"updatedAt": "<string>",
"updatedBy": "<string>"
}
]
}Get a paginated list of post templates available to your organisation.
curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/admin/templates/posts \
--header 'x-api-token: <api-key>'{
"totalCount": 123,
"edges": [
{
"id": "<string>",
"organisationId": "<string>",
"communityId": "<string>",
"details": {
"title": "<string>",
"description": "<string>",
"light": {
"primaryImageUrl": "<string>",
"secondaryImageUrl": "<string>"
},
"dark": {
"primaryImageUrl": "<string>",
"secondaryImageUrl": "<string>"
}
},
"likes": [
"<string>"
],
"disableComments": true,
"disableLikes": true,
"displayBannerOnPost": true,
"status": "archived",
"tags": [
"<string>"
],
"campaigns": [
"<string>"
],
"availableAsTemplateForOrganisations": [
"<string>"
],
"isGlobalTemplate": true,
"createdAt": "<string>",
"createdBy": "<string>",
"isEditing": true,
"content": "<string>",
"startsAt": "<string>",
"expiresAt": "<string>",
"featured": true,
"updatedAt": "<string>",
"updatedBy": "<string>"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.nudj.cx/llms.txt
Use this file to discover all available pages before exploring further.
The language to return the posts in. If not provided, the default language for the organisation will be used.
1 <= x <= 100x >= 0Was this page helpful?