openapi: 3.0.3 info: title: Snov.io Authentication User API description: Snov.io is a sales automation and lead generation platform. The REST API enables programmatic access to email finding, domain search, email verification, drip campaign management, email warm-up, prospect management, CRM pipeline, and webhook subscriptions. Authentication uses OAuth 2.0 client credentials to obtain short-lived Bearer tokens. All API operations consume credits from the account balance. version: '2.0' contact: name: Snov.io Support url: https://snov.io/knowledgebase/ termsOfService: https://snov.io/terms-of-service/ license: name: Proprietary url: https://snov.io/terms-of-service/ servers: - url: https://api.snov.io description: Snov.io API server tags: - name: User description: User account management paths: /v1/user-balance: get: tags: - User summary: Check user balance description: Returns the current credit balance and usage information for the account. operationId: getUserBalance security: - bearerAuth: [] responses: '200': description: User balance content: application/json: schema: type: object properties: balance: type: integer description: Current credit balance used: type: integer description: Credits used this period total: type: integer description: Total credits in plan '401': $ref: '#/components/responses/Unauthorized' components: responses: Unauthorized: description: Unauthorized — missing or invalid Bearer token content: application/json: schema: $ref: '#/components/schemas/Error' schemas: Error: type: object properties: error: type: string description: Error code message: type: string description: Human-readable error message securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT description: Obtain a Bearer token via POST /v1/oauth/access_token using client credentials. Tokens expire after 3600 seconds.