Skip to Content
MinexonMinexon

content.page

Read a published custom page by slug.

GET/api/v1/{locale}/pages/{slug}

API scope content.page

Request

Send Authorization: Bearer <key> with each request.

Path parameters

FieldTypeRequirementDescription
localetr or enRequiredRequest locale.
slugstringRequiredURL slug of the resource.

This endpoint takes no request body.

Run samples from your application server. See Quickstart for variables and sessions.

curl --fail-with-body --request GET \
  -H "Authorization: Bearer $MINEXON_API_KEY" \
  "${MINEXON_BASE_URL}/api/v1/en/pages/example"

Response

HTTP 200 · application/json

The fields below are inside the response’s data object.

FieldTypeRequirementDescription
localestringRequiredResponse locale.
errorstring or nullConditionalAction error. Can be empty on success.
errorsarray or objectConditionalField or form validation errors.
noticestring or nullConditionalAction notice.
customPageobjectConditionalPublic content of the custom page.
relatedPagesarray or objectConditionalRelated custom pages.

Selected fields from an example response

{
  "data": {
    "locale": "en",
    "customPage": {},
    "relatedPages": []
  }
}

Flow and error cases

Shared error and authentication contract