API-Edge-Endpoints: API endpoints reference for Aembit Edge # Aembit Edge API - API Endpoints > API endpoints reference for Aembit Edge API # Aembit Edge API - API Endpoints [Section titled “Aembit Edge API - API Endpoints”](#aembit-edge-api---api-endpoints) **Version:** v1 **Base URL:** https\://{tenant}.aembit.io ## Auth [Section titled “Auth”](#auth) ### POST /edge/v1/auth [Section titled “POST /edge/v1/auth”](#post-edgev1auth) **Summary:** Authenticate to the Edge API **Description:** Authenticates Client Workloads to Aembit Edge using a Trust Provider **Operation ID:** edge-api-auth **Parameters:** * **X-Aembit-ResourceSet** (undefined) *(optional)*: any **Request Body:** * Content-Type: application/json * Schema: any **Responses:** * **‘200’**: Successfully retrieved access token * Content-Type: application/json * Schema: any * **‘400’**: Invalid request or missing parameters * Content-Type: application/json * Schema: any * **‘401’**: Unauthorized * Content-Type: application/json * Schema: any * **‘500’**: Internal server error * Content-Type: application/json * Schema: any **cURL Example:** ```bash curl -X POST \ -H "Content-Type: application/json" \ -d '{"example": "data"}' \ "https://your-tenant.aembit.io/edge/v1/auth" ``` ## Credentials [Section titled “Credentials”](#credentials) ### POST /edge/v1/credentials [Section titled “POST /edge/v1/credentials”](#post-edgev1credentials) **Summary:** Get credentials for a Client Workload **Description:** Retrieves credentials for a Client Workload based on your configured Access Policies **Operation ID:** edge-api-get-credentials **Parameters:** * **X-Aembit-ResourceSet** (undefined) *(optional)*: any **Request Body:** * Content-Type: application/json * Schema: any **Responses:** * **‘200’**: Credentials returned for specified Client Workload * Content-Type: application/json * Schema: any * **‘400’**: Invalid request or missing parameters * **‘500’**: Internal server error * Content-Type: application/json * Schema: any **cURL Example:** ```bash curl -X POST \ -H "Content-Type: application/json" \ -d '{"example": "data"}' \ "https://your-tenant.aembit.io/edge/v1/credentials" ```