---
title: "Obtain mock access token"
method: POST
path: "/token"
tags: ["Appeals"]
---

# Obtain mock access token

`POST /token`

## Request

- Base URL: `http://localhost:8098/ichallenge`
- URL: `http://localhost:8098/ichallenge/token`
- Auth: none declared

## Request body `application/x-www-form-urlencoded`

- TokenRequest
  - `grant_type` string, required
  - `client_id` string, required
  - `client_secret` string, required
  - `scope` string

## Response `200`

Mock token response

- TokenResponse
  - `access_token` string
  - `expires_in` integer
  - `token_type` string
  - `scope` string

## Other responses

- `400`: Invalid request

## Changes

- **2026-03-26** `25f0adbb4eb3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hm-courts-and-tribunals-service/apis/appeals-interface/changes/token/post.md)

---

[API](https://skmtc.dev/hm-courts-and-tribunals-service/apis/appeals-interface.md) - [All operations](https://skmtc.dev/hm-courts-and-tribunals-service/apis/appeals-interface/llms.txt) - [OpenAPI document](https://skmtc.dev/hm-courts-and-tribunals-service/apis/appeals-interface/revisions/0b0977ebe459?raw)
