---
title: "Authenticate a user"
method: POST
path: "/authentication"
tags: ["Authentication"]
---

# Authenticate a user

`POST /authentication`

This endpoint is used to authenticate a user by providing their API Key. It verifies the provided API Key and returns the user's details upon successful authentication.

## Response `200`

User authenticated successfully

- object
  - `status` string — Status indicating the success of the authentication.
  - `userEmail` string — The email address of the authenticated user.
  - `userDisplayName` string — The display name of the authenticated user.
  - `orgName` string — The organization name associated with the authenticated user.
  - `processing_time` integer — The time taken to process the request, in milliseconds.
  - `processing_id` string — A universally unique identifier for the request. This can be used to track the request in the logs.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `406` — Not Acceptable
- `500` — Internal Server Error

---

[API](https://skmtc.net/worqhat/apis/worqhat-ai-api-endpoints-2.md) · [All operations](https://skmtc.net/worqhat/apis/worqhat-ai-api-endpoints-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/worqhat/worqhat-ai-api-endpoints-2/versions/fc369f69a3e6/schema)
