Find Page
API operation: Open the endpoint in Scalar
Use GET /pages/{page_id} to retrieve one page. The operation is Page.find.
The route accepts a numeric page ID or a slug. An unauthenticated caller can retrieve only a page that is both enabled and public; an authenticated non-administrator is limited to enabled pages, while an administrator can retrieve pages regardless of those flags.
The params query can control relations such as author or metafields. See Pages model.
OpenAPI reference
Operation: GET /pages/{page_id}
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
page_id | string | Yes | — |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
params | string | No | Comma-separated list of fields. It is intersected with the model’s $fillable; an empty or invalid list returns all fields. |
Responses
| Code | Description |
|---|---|
| 200 | OK (Envelope) |
| 400 | Bad Request (ErrorResponse) |
| 401 | Unauthorized (ProjectAccessErrorResponse) |
| 404 | Not Found |
| 429 | Too Many Requests (ErrorResponse) |
| 500 | Internal Server Error (ErrorResponse) |
| 503 | Service Unavailable (ErrorResponse) |