Cakemail icon

Cakemail

Interact with Cakemail API

Token → Refresh

AI-generated

Summary

Refreshes an OAuth token using a provided refresh token.

Inputs

  • refreshToken (required) — The refresh token obtained from a previous authentication.
  • accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, uses the authenticated account.

Output shape

a JSON object containing the new access token and its expiration details

The response includes the new access token, its type, and its expiration time.

Discussion