---
title: "Admin Grant Api Access"
method: POST
path: "/api/admin/api-users/grant"
---

# Admin Grant Api Access

`POST /api/admin/api-users/grant`

## Request

- Base URL: `https://api.getle.ad` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getle.ad/api/admin/api-users/grant`
- Auth: none declared

Grant API access to a user by email (no Stripe required).
Looks up OR auto-creates the Supabase auth user, then provisions a new key.
If the user doesn't exist in Supabase yet (e.g. they only have a Firebase account),
a confirmed Supabase account is created so they can log in via magic link.
Body: { "email": "...", "plan": "starter"|"growth"|"agency", "payg_credits": 0 }
Returns the new API key (shown once).

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getle/apis/lead-generator-pro-api.md) · [All operations](https://skmtc.dev/getle/apis/lead-generator-pro-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getle/apis/lead-generator-pro-api/revisions/041155e6d905?raw)
