SpaceMediaSpaceMedia
Endpoint referenceWordPress OAuth

Exchange or Refresh a WordPress OAuth Token

POST
/api/v1/integrations/wordpress/oauth/token

Exchange a single-use authorization code and PKCE verifier, or rotate a valid refresh token. Access tokens expire after fifteen minutes, refresh tokens rotate on every use, and token responses must never be cached or logged.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

Was this page helpful?