---
title: Token endpoint
sidebar_custom_props:
    termName: Token endpoint
    tags:
        - Endpoints
    shortDescription: Exchanges codes or credentials for tokens.
    longDescription: Returns access, refresh, and optionally ID tokens depending on the grant type.
---
