curl --request POST \
--url 'https://edi.stateset.com/v1/partners/{id}/api-key' \
--header "Authorization: Bearer $STATESET_EDI_API_KEY"
Issues (or rotates) a partner API key. The plaintext is returned exactly
once; only its SHA-256 is stored.
POST
/
v1
/
partners
/
{id}
/
api-key
curl --request POST \
--url 'https://edi.stateset.com/v1/partners/{id}/api-key' \
--header "Authorization: Bearer $STATESET_EDI_API_KEY"
once; only its SHA-256 is stored.
Path parameters
string
required
Partner ID
Response
No response body. New API key — shown exactly once; replaces any previous key.Status codes
| Code | Meaning |
|---|---|
200 | New API key — shown exactly once; replaces any previous key |
403 | Admin credential required |
404 | Unknown partner |
curl --request POST \
--url 'https://edi.stateset.com/v1/partners/{id}/api-key' \
--header "Authorization: Bearer $STATESET_EDI_API_KEY"
Last modified on August 31, 2026