RefreshToken (Debug) icon

RefreshToken (Debug)

Runs an authenticated request with RefreshToken credentials and captures BOTH the token refresh and the main call (headers + bodies).

RefreshToken (Debug)

AI-generated

Summary

Sends a request using the required RefreshToken credentials and returns captured request and response events for both token refresh and the main API call. You can disable either stage to capture it with a mocked response instead of sending it.

Inputs

  • URL (required) — URL for the main request.
  • Method — GET, DELETE, PATCH, POST, or PUT; defaults to GET.
  • Query (JSON) — Query parameters merged into the main request URL; defaults to an empty object.
  • Headers (JSON) — Additional headers for the main request; defaults to an empty object.
  • Body (JSON) — JSON body for POST, PUT, PATCH, and DELETE requests; defaults to an empty object.
  • Send Pre-Authentication — Defaults to true. When disabled, detected token refresh requests are captured but skipped and given a mocked response.
  • Send Main Request — Defaults to true. When disabled, the main request is captured but skipped and given a mocked response.
  • Redact Secrets in Output — Defaults to false. When enabled, masks sensitive headers and token fields in captured events.
  • Truncate Bodies To (Chars) — Maximum captured body length; defaults to 10,000 characters. Set to 0 for no truncation.

Output shape

One output item per input item, each containing captured events.

Events record request and response details, including stage, URL, method for requests, headers, body, and status for responses. If the authenticated call errors, the item contains an error string, any events captured so far, and a note; skipped requests produce a mocked response with status code 0.

Links

Discussion