Skip to content

DIYLaw Partners API

The DIYLaw Partners API lets your product file Nigerian business registrations with DIYLaw. Your customers fill in their details in your app, your server sends them to us, and DIYLaw handles the filing with the Corporate Affairs Commission (CAC) and the tax authority.

  • Company Incorporation


    Register a private company limited by shares, with shareholders, directors and an optional company secretary.

    Company Incorporation →

  • Business Name


    Register a business name for a sole proprietor or partnership, including partners that are companies.

    Business Name →

  • TIN & VAT


    Get a Tax Identification Number and register for VAT for an existing business or company.

    TIN & VAT →

  • TIN Update


    Update the details held on an existing Tax Identification Number.

    TIN Update →

How an order works

Each product is ordered in steps. The first step creates the order and returns an orderReference. You send that reference with every later step.

sequenceDiagram
    participant You as Your server
    participant API as DIYLaw Partners API
    You->>API: GET options (countries, states, share capitals…)
    You->>API: POST FileUpload (ID documents)
    API-->>You: file reference
    You->>API: POST step 1
    API-->>You: 201 { orderReference, data }
    You->>API: POST step 2, 3… ?order-ref=…
    API-->>You: { orderReference, data }
    Note over API: DIYLaw processes the order

The order then appears on your partner dashboard, where you can follow its status until it is complete.

What you need

  • A partner account. DIYLaw creates it, enables the products you've agreed on, and gives you a temporary password.
  • An API key. You generate it yourself on the dashboard. See Authentication.
  • A server. Your API key is a secret, so calls must come from your backend, never from a browser or mobile app.

Base URL

https://partners.diylaw.ng

Every endpoint in these docs is relative to this URL. All calls must use HTTPS.

Where to start

  1. Follow the Quickstart to make your first calls in about ten minutes.
  2. Import the Postman collection to try every request without writing code.
  3. Read Requests and responses before building. It covers the rules every endpoint follows.

Already integrated with version 1.1?

Authentication, the base URL and some request formats have changed. See Changes from v1.1.