Endpoints
Authentication Endpoints
API endpoints for authentication
Exchange API Key for Token
Exchange API key credentials for JWT token.
POST /api/v1/auth/tokenRequest
{
"client_id": "synoveo_client_abc123",
"client_secret": "sk_live_xxx..."
}Response
{
"status": "ok",
"data": {
"token": "eyJhbGciOiJSUzI1NiIs...",
"expires_in": 3600
}
}Get Google OAuth URL
Generate Google OAuth authorization URL.
POST /api/v1/auth/google-oauth-url
Authorization: Bearer <token>Request
{
"redirect_uri": "https://app.synoveo.com/callback",
"force_consent": false
}Response
{
"status": "ok",
"data": {
"url": "https://accounts.google.com/o/oauth2/v2/auth?..."
}
}