Menu
Get Content By Id
Get a single content entry by ID
GET
/content/{model}/{id}Use it in a workflow
- Add a step and choose the Builder.io connector.
- Pick the Get Content By Id action (under Content API).
- Fill in the fields below, then reference the result from later steps as
{{getContentById.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getContentById.response.data.<field>}}.
{
"@version": 2,
"id": "abc123def456abc123def456abc12345",
"name": "Home Page",
"published": "published",
"modelId": "page",
"priority": 0,
"firstPublished": 1700000000000,
"lastUpdated": 1717000000000,
"startDate": 1717000000000,
"endDate": 1719600000000,
"variations": {},
"testVariationId": "string"
}
Need more? See the Builder.io guide for connection setup and behaviour shared by every action.
Was this page helpful?