---
title: "Connect or Refresh End User Device"
method: POST
path: "/journey/device/connect"
tags: ["End User APIs", "One Time Token Service"]
---

# Connect or Refresh End User Device

`POST /journey/device/connect`

Connect or Refresh End User Device

## Request body

- object
  - `connectToken` string, required — Bearer Token credential for a connection.
  - `deviceInfo` object, required
    - `deviceId` string, required — Device Id, a unique identifier for a device.
    - `deviceName` string
    - `deviceType` string

## Response `200`

Success

- object
  - `endUserToken` string — Token used for subsequent operations by the client
  - `tokenType` 'Bearer' | 'DPoP' | 'N_A' | 'end-user'
  - `expiresIn` number, required — Seconds until the token expires

## Other responses

- `201` — Success
- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `405` — Method Not Allowed
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/gbgplc/apis/gbg-go-next-gen-flow-captain-api.md) · [All operations](https://skmtc.net/gbgplc/apis/gbg-go-next-gen-flow-captain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gbgplc/gbg-go-next-gen-flow-captain-api/revisions/38056a3470d6/schema)
