Fetch all content types configured for your publication
curl --request GET \
--url https://cds.thepublive.com/publisher/{publisher_id}/content-types/ \
--header 'Authorization: Basic <encoded-value>'{
"status": "ok",
"data": [
{
"name": "Article",
"api_slug": "article",
"api_collections_slug": "articles",
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-01T00:00:00Z"
},
{
"name": "Video",
"api_slug": "video",
"api_collections_slug": "videos",
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-01T00:00:00Z"
},
{
"name": "Web Story",
"api_slug": "web-story",
"api_collections_slug": "web-stories",
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-01T00:00:00Z"
}
],
"message": ""
}
{
"status": "ok",
"data": [
{
"name": "Article",
"api_slug": "article",
"api_collections_slug": "articles",
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-01T00:00:00Z"
},
{
"name": "Video",
"api_slug": "video",
"api_collections_slug": "videos",
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-01T00:00:00Z"
},
{
"name": "Web Story",
"api_slug": "web-story",
"api_collections_slug": "web-stories",
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-01T00:00:00Z"
}
],
"message": ""
}
Was this page helpful?
curl --request GET \
--url https://cds.thepublive.com/publisher/{publisher_id}/content-types/ \
--header 'Authorization: Basic <encoded-value>'{
"status": "ok",
"data": [
{
"name": "Article",
"api_slug": "article",
"api_collections_slug": "articles",
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-01T00:00:00Z"
},
{
"name": "Video",
"api_slug": "video",
"api_collections_slug": "videos",
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-01T00:00:00Z"
},
{
"name": "Web Story",
"api_slug": "web-story",
"api_collections_slug": "web-stories",
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-01T00:00:00Z"
}
],
"message": ""
}