openapi: 3.0.3 info: title: Snov.io Authentication User API description: 'Snov.io sales engagement REST API. Authentication uses the OAuth2 client_credentials grant to exchange an API User ID (client_id) and API Secret (client_secret) for a one-hour Bearer access token. Email finder, domain search, and email verification use an asynchronous pattern: a POST to a `/start` endpoint returns a `task_hash`, then a GET to the matching `/result` endpoint retrieves the outcome. Most request bodies are application/x-www-form-urlencoded; a few v2 endpoints accept JSON. The API is rate limited to 60 requests per minute.' termsOfService: https://snov.io/terms-and-conditions contact: name: Snov.io Support url: https://snov.io/api version: '1.0' servers: - url: https://api.snov.io description: Snov.io production API security: - OAuth2: [] tags: - name: User paths: /v1/get-balance: get: operationId: getBalance tags: - User summary: Check the account credit balance (free) description: Returns the current credit balance and plan usage for the API account. responses: '200': description: The account balance. content: application/json: schema: $ref: '#/components/schemas/Balance' components: schemas: Balance: type: object properties: success: type: boolean balance: type: string description: Remaining credits on the account. teamwork: type: boolean limit_hourly: type: integer used_hourly: type: integer securitySchemes: OAuth2: type: oauth2 description: OAuth2 client_credentials flow. POST client_id and client_secret to /v1/oauth/access_token to obtain a Bearer token, then send it in the Authorization header. flows: clientCredentials: tokenUrl: https://api.snov.io/v1/oauth/access_token scopes: {}