curl --location --request GET 'https://api.stateset.com/v1/deployments' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data-raw '{
"id": 1
}'
{
"id": 1,
"name": "string",
"url": "string",
"status": "string",
"created_at": "string",
"updated_at": "string",
"project_id": 1,
"user_id": 1
}
Get Deployments
This endpoint gets deployments.
GET
/
v1
/
deployments
curl --location --request GET 'https://api.stateset.com/v1/deployments' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data-raw '{
"id": 1
}'
{
"id": 1,
"name": "string",
"url": "string",
"status": "string",
"created_at": "string",
"updated_at": "string",
"project_id": 1,
"user_id": 1
}
Verify deployment access. This reference describes an API contract, not a provisioned
public service. Check the dated host report and obtain the correct
host, API version, and workspace credentials. For a current integration, start with the
API directory.
Body
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
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/deployments' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data-raw '{
"id": 1
}'
{
"id": 1,
"name": "string",
"url": "string",
"status": "string",
"created_at": "string",
"updated_at": "string",
"project_id": 1,
"user_id": 1
}
Last modified on September 21, 2026