List all OAuth clients for the authenticated partner
List of OAuth clients retrieved successfully
Bad request error
Unauthorized error
Forbidden error
Internal server error
curl -i -X GET \ https://api-prod.surfsight.net/v2/oauth/clients \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "data": [
- {
- "clientId": "abc123def456",
- "clientName": "My Integration Client",
- "entityType": "partner",
- "entityId": "entity789",
- "enabled": true,
- "createdAt": "2024-01-15T10:30:00Z",
- "lastRefreshedAt": "2024-01-15T10:30:00Z"
}
], - "metadata": {
- "totalClientsIssued": 0,
- "maxClientsQuota": 0,
- "totalActiveClients": 0
}, - "requestId": "06327cae-e075-42ca-b620-c5cfdd3b4e37"
}