{"uid":"cap_erNQ3Ih4Kr4cf9rXIS8eg","slug":"the402-participant-api-key-rotation-060bee8e","name":"the402 Participant API Key Rotation","description":"Rotate your API key (x402 payment proves wallet ownership)","url":"https://api.the402.ai/v1/participants/rotate-key","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"object","properties":{"api_key":{"type":"string"},"participant_id":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fCelwhd15TDXc9KlpTol9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Rotates (regenerates) the API key for an authenticated participant on the the402 agent service marketplace.","exampleAgentPrompt":"My the402 marketplace API key may have been exposed — please rotate it now so the old one is invalidated and I get a fresh key for my participant account.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the newly generated API key (api_key string) and the participant ID (participant_id string) associated with the account. The old API key is invalidated after this call.","failureModes":["Unauthenticated request — no valid session or bearer token provided, returns 401","Participant account not found or suspended, returns 404 or 403","Rate limit exceeded for key rotation, returns 429","Internal server error during key generation, returns 500"],"whenToPreferThis":"Use this endpoint when a the402 marketplace participant needs to invalidate their current API key and receive a fresh one — for example after a suspected credential leak, routine security rotation, or onboarding a new integration. This is specifically for the402 platform participant credentials, not for rotating keys of any other service listed in the marketplace.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:53:25.490Z","isFirstParty":false}