List all templates
Returns a list of your templates. The templates are returned sorted by creation date, with the most recently created templates appearing first.
Parameters
No parameters.
Returns
Return a paginated response that contains an array of up to the specified limit of templates.
get
/api/templates
curl https://{workspace}.kitchen.co/api/templates \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'Authorization: Bearer {API_KEY}'
Response
{
"data": [
{
"createdAt": "2024-05-23T08:30:11+00:00",
"id": "fo_4467f84d80755361f178be28",
"name": "et",
"updatedAt": "2024-05-23T08:30:11+00:00"
}
],
"links": {
"first": "https://{workspace}.kitchen.co/api/templates?page=1",
"last": "https://{workspace}.kitchen.co/api/templates?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://{workspace}.kitchen.co/api/templates?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "https://{workspace}.kitchen.co/api/templates",
"per_page": 20,
"to": 1,
"total": 1
}
}