---
title: "Login Token"
method: POST
path: "/v1/agent-hub/login"
---

# Login Token

`POST /v1/agent-hub/login`

## Request

- Base URL: `https://testapi.payarc.net`
- URL: `https://testapi.payarc.net/v1/agent-hub/login`
- Auth: API key in header `Authorization`

## Query parameters

- `token_only` string

## Headers

- `Accept` string, required
- `Content-Type` string, required

## Request body

- object
  - `username` string, required: The username to be logged in with.
  - `password` string, required: The password for the username.

## Response `200`

200

- object
  - `token` string

## Other responses

- `422`: 422

## Changes

- **2026-11-03** `d3ee769894e4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/payarc/apis/payarc-sandbox/changes/v1/agent-hub/login/post.md)

---

[API](https://skmtc.dev/payarc/apis/payarc-sandbox.md) - [All operations](https://skmtc.dev/payarc/apis/payarc-sandbox/llms.txt) - [OpenAPI document](https://skmtc.dev/payarc/apis/payarc-sandbox/revisions/d3ee769894e4?raw)
