---
title: "TriggerUserpass: Create auth"
method: POST
path: "/auth/trigger-userpass"
tags: ["Auths"]
---

# TriggerUserpass: Create auth

`POST /auth/trigger-userpass`

Create a TriggerUserpass auth

## Query parameters

- `account_id` string

## Response `201`

Authorization Response

- object
  - `_meta` object — Response Metadata
  - `data` object — Response Payload
    - `account_id` string — Lytics Account ID
    - `created` string
    - `description` string — A client-defined description for the authorization
    - `id` string — A Lytics-assigned, immutable unique ID for the Authorization
    - `label` string — A client-defined label for the authorization
    - `last_accessed_at` string — Last accessed time for the lytics api_key
    - `provider_id` string — The authorization's provider ID
    - `provider_slug` string — The authorization's provider slug
    - `status` 'healthy' | 'unhealthy' | 'unknown' — Indicates the health status of auth
    - `type` string — The auth type. Providers may have one or more auth types
    - `unhealthy` boolean — Indicates the authorization credentials are unusable
    - `updated` string
    - `user_id` string — The user ID that created or updated the authorization
  - `request_id` string
  - `status` integer — HTTP Status Code

## Other responses

- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/lytics/apis/lytics-api.md) · [All operations](https://skmtc.net/lytics/apis/lytics-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lytics/lytics-api/versions/366eeabcb6de/schema)
