Skip to content
Dashboard
Theme
Theme

Start a test bound to the exact next signing key

POST /v1/connections/{conn}/sp_key_rotations/test: Start a test bound to the exact next signing key.

View Markdown

POST /v1/connections/{conn}/sp_key_rotations/test

Mutations require a current project administrator using a CLI credential or dashboard session; secret API keys cannot authorize them.

Scope
connections:write
Auth
Access token
Since
1.0
  • conn string Required

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

  • generation string Required

    Canonical decimal signed 64-bit generation; strings preserve precision in every client.

Errors share one shape; see the error code catalogue.

curl -X POST \
"https://api.ohauthcat.com/v1/connections/conn_01J9Z3K5V7W8X9Y0Z1A2B3C4D5/sp_key_rotations/test" \
-H "Authorization: Bearer $OHAUTHCAT_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"generation": "1"
}'
Response 200
{
"object": "sp_key_rotation_test",
"generation": "1",
"test_url": "https://app.acme.com/callback",
"expires_at": "2026-01-15T09:30:00Z"
}