---
title: "Exchange an Agent Connection credential (eac_) for a short-lived eat_ access token"
method: POST
path: "/v1/agent/token"
tags: ["Agents"]
---

# Exchange an Agent Connection credential (eac_) for a short-lived eat_ access token

`POST /v1/agent/token`

## Request

- Base URL: `https://api.eldrick.com`
- URL: `https://api.eldrick.com/v1/agent/token`
- Auth: HTTP bearer

## Response `200`

Token

- object
  - `accessToken` string
  - `tokenType` 'Bearer'
  - `expiresIn` integer
  - `scopes` string[]
  - `connection` object
    - `id` string
    - `name` string

## Other responses

- `401`: Invalid, inactive or expired credential

---

[API](https://skmtc.dev/eldrick/apis/eldrick-golf-fitting-api.md) · [All operations](https://skmtc.dev/eldrick/apis/eldrick-golf-fitting-api/llms.txt) · [OpenAPI document](https://skmtc.dev/eldrick/apis/eldrick-golf-fitting-api/revisions/9469c1821a83?raw)
