Get State
Path Parameters
projectId*string
Query Parameters
personId*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/projects/string/sandbox/state?personId=string"{ "personId": "string", "grants": [ { "id": "string", "perkId": "string", "status": "active", "expiresAt": "string" } ], "purchases": [ { "id": "string", "productId": "string", "createdAt": "string", "refundedAt": "string", "revokedAt": "string" } ], "subscriptions": [ { "id": "string", "productId": "string", "status": "active", "startsAt": "string", "expiresAt": "string", "canceledAt": "string", "gracePeriodExpiresAt": "string" } ]}{ "error": { "type": "invalid_request", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "unauthenticated", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "permission_denied", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "not_found", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "internal", "code": "string", "message": "string", "param": "string" }}