---
title: "AI Login Authentication"
method: POST
path: "/api/authentication"
tags: ["AI"]
---

# AI Login Authentication

`POST /api/authentication`

## Request body

- object
  - `email` string, required
  - `password` string, required

## Response `200`

Successful login

- object
  - `access_token` string
  - `token_type` string
  - `expires_in` integer
  - `HasAIAccess` boolean

## Other responses

- `401` — Invalid credentials
- `404` — User not found
- `422` — Validation error

---

[API](https://skmtc.net/skillspark/apis/zapier-api-documentation.md) · [All operations](https://skmtc.net/skillspark/apis/zapier-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/skillspark/zapier-api-documentation/versions/9502a693bd5d/schema)
