Home
Home
  1. Home
  • Getting started
  • Authentication
  • Webhooks
  • Embeddable Widgets
    • Overview
    • Document Upload Widget
      • UI/UX Best Practices
  • Guides
    • Verifying a new business
    • Verifying bank accounts
    • Supported document types
  • API Reference
    • Submissions
      • Reports
        • List available report templates
        • Download a report
      • Create new submission
      • Get submission
      • Update submission
      • Update submission status
      • Run business verification
      • Get submission checks
      • Delete submission
    • Documents
      • Public Documents API
        • List documents
        • Upload document
        • Get document
        • Delete document
      • List documents
      • Upload document for submission
      • Get document
      • Delete document
      • Download document file
      • Rerun validations
    • RPC Search
      • Get company with ID
      • Company RFC Lookup
      • Company Name Search
      • Download document
    • Utilities
      • Matcher
        • Run name matching
  1. Home

Getting started

Welcome to the Niva API! Our API enables you to seamlessly integrate business verification into your own applications, platforms, or workflows.
It allows you to:
1.
Submit business information for verification
2.
Upload and validate necessary documents
3.
Track the status of verification requests
4.
Receive real-time updates on verification progress

Prerequisites#

Before you begin, ensure you have:
1.
A Niva account with API access
2.
Your unique API token
3.
Basic knowledge of RESTful APIs and HTTP requests

Authentication#

All requests to the Niva API must be authenticated. Include your API token in the apiKey header of each request:
apiKey: YOUR_API_TOKEN
For more details, see our Authentication guide.

Base URL#

Use the following base URL for all API requests:
Production: https://api.niva.co/v1
Demo: https://api.niva-demo.com/v1

Making Your First API Call#

Let's create a new submission to verify a business:
Example request body:
{
  "country": "MX",
  "business_type": "legal_entity",
  "legal_name": "Acme Inc.",
  "trade_name": "Acme Trading",
  "rfc": "NVA120490XD2",
  "website": "https://acme.co.mx",
  "operating_address": "Prolongación Caridad 0, 48913 Zaragoza, Nav",
  "applicant": {
    "first_name": "José Luis",
    "last_name": "Saavedra",
    "email": "Miguel0@gmail.com",
    "phone": "+52 23-22-54-23-45"
  }
}
This will return a submission ID, which you'll use in subsequent API calls.

Next Steps#

1.
Learn how to upload documents and complete the verification process in our Verifying a business guide.
2.
Set up webhooks to receive real-time updates about your submissions. See our Webhooks guide.
3.
Explore our API Reference for detailed endpoint information.

Error Handling#

The API uses standard HTTP response codes. In case of an error, the response body will contain more details about the error.

Support#

If you need assistance or have any questions about integrating our API, please contact our support team at support@niva.co.
Next
Authentication