--- title: "OAuth" slug: "oauth-api" updated: 2025-01-30T20:54:02Z published: 2025-01-30T20:54:02Z canonical: "docs.visualvault.com/oauth-api" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.visualvault.com/llms.txt > Use this file to discover all available pages before exploring further. # OAuth #### **POST **/OAuth/Token**** --- > Returns a JSON object with the token, expiration, and refresh. ##### ****Body Parameters**** | Parameter | Type | Description | | --- | --- | --- | | client_id | string | API User Key | | client_secret | string | API User Secret | | username | string | API User Key | | password | string | API User Secret | | grant_type | string | Value = client_credentials | ##### ****Response Codes**** | Code | Description | | --- | --- | | 200 | OK | | 400 | Bad Request | | 401 | Unauthorized | | 403 | Forbidden |