curl --request POST \
--url 'https://api.workstream.stateset.com/v1/claim/verify' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"email": "ada.lovelace@example.com",
"code": "string"
}'
{
"ok": true,
"brand": {
"slug": "acme-outdoors",
"display_name": "Ada Lovelace"
},
"login_url": "string"
}
Claim (/v1/claim/verify)
Code verified; the user was joined to the brand’s WorkOS organization and the brand marked claimed.
POST
/
v1
/
claim
/
verify
curl --request POST \
--url 'https://api.workstream.stateset.com/v1/claim/verify' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"email": "ada.lovelace@example.com",
"code": "string"
}'
{
"ok": true,
"brand": {
"slug": "acme-outdoors",
"display_name": "Ada Lovelace"
},
"login_url": "string"
}
Request body
object
string
required
string
required
Magic Auth code from the email
Response
object
boolean
required
string
required
Dashboard login URL for the claimed brand
Status codes
| Code | Meaning |
|---|---|
200 | Code verified; the user was joined to the brand’s WorkOS organization and the brand marked claimed. |
400 | Validation error |
401 | Unauthorized |
404 | Not found |
429 | Rate limited |
500 | Internal error |
curl --request POST \
--url 'https://api.workstream.stateset.com/v1/claim/verify' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"email": "ada.lovelace@example.com",
"code": "string"
}'
{
"ok": true,
"brand": {
"slug": "acme-outdoors",
"display_name": "Ada Lovelace"
},
"login_url": "string"
}
Last modified on August 31, 2026