Planka icon

Planka

Interact with Planka API 2.0

Access Token → Exchange OIDC

AI-generated

Summary

Exchange an OIDC authorization code with Planka for an access token by sending a POST request to the OIDC exchange endpoint. The response is returned as a JSON item.

Inputs

  • OIDC Code — Code to exchange. Included in the request body when non-empty.
  • Nonce — Nonce to send with the exchange. Included in the request body when non-empty.
  • With HTTP Only Token — Boolean option, default false, sent in the request body to request an HTTP-only token.

Output shape

A single JSON item containing the API response for each input item.

The request uses the configured Planka credentials and sends the populated fields to POST /api/access-tokens/exchange-with-oidc. The code and nonce fields are declared with empty defaults and are not marked required; empty values are omitted from the request body. With HTTP Only Token defaults to false.

Links

Discussion