# Get authentication token Authenticate a client using a client ID and secret to obtain an ID token. This endpoint is used for service-to-service authentication. The obtained token should be used as a Bearer token in subsequent API calls. Endpoint: POST /authorize Version: 1.0.0 Security: ## Request fields (application/json): - `clientId` (string, required) Client identifier for authentication Example: "internaluseradt@playbackhealth.com" - `secret` (string, required) Secret key associated with the client Example: "your-secret-key" ## Response 200 fields (application/json): - `idToken` (string, required) JWT token to be used for subsequent API calls Example: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." ## Response 403 fields (application/json): - `success` (boolean, required) - `message` (string, required) Example: "You are not authorized to perform this operation"