Skip to content

Get Project

Retrieves information about a project including its name, locales, and collection list.

GET /api/{projectId}/project

Request

Terminal window
curl https://your-domain.com/api/{projectId}/project \
-H "Authorization: Bearer YOUR_API_TOKEN"

Response

{
"uuid": "f99cb038-6611-44d3-b1c7-46cf62c1e232",
"name": "My Blog",
"slug": "my-blog",
"default_locale": "en",
"locales": ["en", "fr", "es"],
"collections": [
{
"slug": "posts",
"name": "Posts",
"is_singleton": false
},
{
"slug": "settings",
"name": "Settings",
"is_singleton": true
}
]
}

Status codes

StatusDescription
200Success
403Invalid token or public API disabled
404Project not found