curl --location --request GET 'https://api.stateset.com/v1/templates' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data-raw '{
"id": 1
}'
{
"id": 1,
"name": "string",
"description": "string",
"created_at": "string",
"updated_at": "string"
}
Get Templates
This endpoint gets templates.
GET
/
v1
/
templates
curl --location --request GET 'https://api.stateset.com/v1/templates' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data-raw '{
"id": 1
}'
{
"id": 1,
"name": "string",
"description": "string",
"created_at": "string",
"updated_at": "string"
}
Body
integer
This is the id of the templates.
This read takes a request body. The Fetch standard forbids a body on
GET,
so fetch() rejects this call rather than sending one — reach for a server-side
client (curl, undici.request, Python requests) instead. Proxies and CDNs are
also free to drop a body on a read, so prefer a direct connection.Response
number
This is the id of the templates.
string
This is the name of the templates.
string
This is the description of the templates.
string
This is the created_at of the templates.
string
This is the updated_at of the templates.
Errors
Succeeds with200. Failures return 400, 401, 403 or 429 with an error body, per the platform status-code contract.
curl --location --request GET 'https://api.stateset.com/v1/templates' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data-raw '{
"id": 1
}'
{
"id": 1,
"name": "string",
"description": "string",
"created_at": "string",
"updated_at": "string"
}
Last modified on August 29, 2026