curl --location --request POST 'https://api.stateset.com/v1/templates' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data-raw '{
"id": ""
}'
{
"success": 1
}
Create Template
This endpoint create new templates
POST
/
v1
/
templates
curl --location --request POST 'https://api.stateset.com/v1/templates' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data-raw '{
"id": ""
}'
{
"success": 1
}
Body
string
This is the ID of the template to be created.
Response
number
Indicates whether the call was successful. 1 if successful, 0 if not.
This endpoint returns an acknowledgement rather than the affected resource.
success is 1 when the write was applied and 0 when it was not — read
the resource back if you need its new state.Errors
Succeeds with201. Failures return 400, 401, 403, 422 or 429 with an error body, per the platform status-code contract.
curl --location --request POST 'https://api.stateset.com/v1/templates' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data-raw '{
"id": ""
}'
{
"success": 1
}
Last modified on August 29, 2026