---
title: "Authenticate with env credentials"
method: POST
path: "/"
tags: ["env-auth_other"]
---

# Authenticate with env credentials

`POST /`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/post.ts> (a function with typed inputs; its response is checked against the schema)

Authenticate your environment to get a management token for your environment using the `clientId` and `API key`.

## Request body

- VendorAuthenticationRequest
  - `clientId` string, required
  - `secret` string, required

## Response `200`

Authentication succeeded

- VendorAuthenticationResponse
  - `token` string
  - `expiresIn` number

## Other responses

- `401`: Invalid authentication

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
