Skip to content

Get

The Get API endpoint returns a single content item by its unique identifier.

This endpoint supports customisable response fields, meaning the structure of the returned data object may vary depending on the configured fields for the requested content type.


Endpoint

GET /api/v1/{content_type}/{id}

Path Parameters

Parameter Description
content_type The route identifier of the requested content type
id The unique identifier of the requested item

Response Structure

A successful response includes a message and a payload object containing the requested item.

{
    "message": "Successfully found Content Type with ID 3.",
    "payload": {
        "data": {},
        "permissions": true
    }
}

Field Behaviour (Important)

Unlike the List API, a Get request returns all available fields for the requested item (subject to permissions and configuration).


Default Data Fields

The following system-generated fields are automatically included in the response:

Field Description
id Unique identifier of an item
created_at Date of creation
updated_at Date of last update
deleted_at Date of deletion (null if not deleted)
author_id ID of the user who created the item
group_id ID of a group that the items belongs to

More Examples

For more examples, visit: