---
title: "Get Crow Token With User Info"
method: POST
path: "/api/get_crow_token"
tags: ["crow-identity"]
---

# Get Crow Token With User Info

`POST /api/get_crow_token`

Generate a Crow identity JWT with user info from request body.

Use this endpoint when you want to pass user info explicitly
(since Clerk JWT may not contain email/name by default).

The frontend can pass the user info from Clerk's useUser() hook.

Uses verification_secret from .env to sign the JWT.

## Headers

- `authorization` string, required

## Request body

- CrowTokenRequest — User info to include in the Crow JWT
  - `email` string, nullable
  - `first_name` string, nullable
  - `last_name` string, nullable

## Response `200`

Successful Response

- CrowTokenResponse — Response containing the Crow JWT
  - `token` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas.md) · [All operations](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas/llms.txt) · [OpenAPI document](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas/revisions/66e6366f8ef9?raw)
