Skip to main content
POST
Rotate API key

Query Parameters

cluster
enum<string>
default:mainnet

Solana cluster to use (defaults to mainnet)

Available options:
mainnet,
devnet

Body

application/json
integrationId
string
required

Integration ID (proxy state address)

Example:

"6RiHbTkMvYmr39GQArt7siykWDghC8uMcwHAWkZLiQ3i"

signer
string
required

Signer Solana address (must be the integration authority)

Example:

"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"

signature
string
required

Base58-encoded signature of the message

Example:

"5KJvsngHeMoo884zpHuqeFqJ2pB3z5K1z6T5KJvsngHeMoo884zpHuqeFqJ2pB3z5K1z6T5KJvsngHeMoo884zpHuqeFqJ2pB3z5K1z6T"

timestamp
integer
required

Unix timestamp in milliseconds. Must be within 1 minute of the current server time. Signatures expire after 1 minute.

Example:

1704067200000

Response

API key rotated successfully

success
boolean
required
Example:

true

data
string
required

The new API key for the integration

Example:

"rk_live_new123xyz456"