---
title: "Get accessToken of new or existing user"
method: POST
path: "/v5/accessToken"
tags: ["End User"]
---

# Get accessToken of new or existing user

`POST /v5/accessToken`

Retrieve an accessToken for a Thryve user. Automatically creates a user if partnerUserID is empty or no existing user with specified partnerUserID exists.

## Headers

- `Authorization` string, required
- `AppAuthorization` string, required

## Response `200`

Request successful. Returns the accessToken of a user.

## Other responses

- `400` — Error response (invalid parameters, unauthorized, etc.).

---

[API](https://skmtc.dev/thryve/apis/thryve-api.md) · [All operations](https://skmtc.dev/thryve/apis/thryve-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/thryve/thryve-api/revisions/a35fa2705278/schema)
