Skip to content

Company Incorporation

Registers a private company limited by shares with the CAC. Four steps. Paths are under /api/order/v1/CompanyIncorporation.

Step Endpoint Call it
1. Company details POST …/step1 Once. Creates the order.
2. Shareholders POST …/step2?order-ref=… Once per shareholder.
3. Directors POST …/step3?order-ref=… Once per director who isn't already a shareholder-director.
4. Company secretary POST …/step4?order-ref=… Once.

Before you start: get the share capital ID from ShareCapitals, country and nationality IDs from Options, and upload each person's ID with FileUpload.

Step 1: company details

Creates the order. Send the proposed names without the suffix; it goes in suffix. Give at least two names in case the first is unavailable at the CAC.

POSThttps://partners.diylaw.ng/api/order/v1/CompanyIncorporation/step1
{
  "category": 7,
  "suffix": "Ltd",
  "preferred_name1": "Acme Foods",
  "preferred_name2": "Acme Farms",
  "preferred_name3": "Acme Agro",
  "business_nature": "Processing and packaging of cassava flour",
  "address": "12 Marina Road",
  "country": 165,
  "state": "Lagos",
  "city": "Lagos Island"
}
curl -X POST "https://partners.diylaw.ng/api/order/v1/CompanyIncorporation/step1" \
  -H "Authorization: Bearer $DIYLAW_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "category": 7,
  "suffix": "Ltd",
  "preferred_name1": "Acme Foods",
  "preferred_name2": "Acme Farms",
  "preferred_name3": "Acme Agro",
  "business_nature": "Processing and packaging of cassava flour",
  "address": "12 Marina Road",
  "country": 165,
  "state": "Lagos",
  "city": "Lagos Island"
}
JSON
{
  "orderReference": "k3v9q2m7xa",
  "data": {
    "category": 7,
    "suffix": "Ltd",
    "preferred_name1": "Acme Foods",
    "preferred_name2": "Acme Farms",
    "preferred_name3": "Acme Agro",
    "preferred_name4": null,
    "business_nature": "Processing and packaging of cassava flour",
    "address": "12 Marina Road",
    "country": 165,
    "state": "Lagos",
    "city": "Lagos Island"
  }
}

Save orderReference for the next steps.

Fields

Field Type Required Notes
category ID from ShareCapitals Yes Share capital. Must be one enabled for your account.
suffix one of Ltd, Limited (Suffix) Yes
preferred_name1 string, max 200 Yes Proposed company name, first choice, without the suffix.
preferred_name2 string, max 200 Yes Proposed company name, second choice.
preferred_name3 string, max 200 No Optional extra choice.
preferred_name4 string, max 200 No Optional extra choice.
business_nature string Yes Free text: what the company will do.
address string, max 200 Yes Registered address of the company.
country ID from Countries Yes
state string, max 200 No State name: the display from States.
city string, max 200 Yes

category must be a share capital enabled for your account. Any other ID returns 400 with an error under category.

Read step 1

GEThttps://partners.diylaw.ng/api/order/v1/CompanyIncorporation/step1?order-ref={orderReference}
curl -X GET "https://partners.diylaw.ng/api/order/v1/CompanyIncorporation/step1?order-ref=k3v9q2m7xa" \
  -H "Authorization: Bearer $DIYLAW_API_KEY"
{
  "orderReference": "k3v9q2m7xa",
  "data": {
    "category": 7,
    "suffix": "Ltd",
    "preferred_name1": "Acme Foods",
    "preferred_name2": "Acme Farms",
    "preferred_name3": "Acme Agro",
    "preferred_name4": null,
    "business_nature": "Processing and packaging of cassava flour",
    "address": "12 Marina Road",
    "country": 165,
    "state": "Lagos",
    "city": "Lagos Island"
  }
}

Step 2: shareholders

Adds one shareholder per call.

Shareholders who are also directors

Set is_shareholder_director to true and include their gender, date of birth, nationality and identity document. They're added as a director automatically, so don't send them again in step 3.

POSThttps://partners.diylaw.ng/api/order/v1/CompanyIncorporation/step2?order-ref={orderReference}

{
  "shareholder_type": "Individual",
  "firstname": "Adaeze",
  "middlename": "Chioma",
  "lastname": "Obi",
  "occupation": "Engineer",
  "dob": "1990-01-31",
  "gender": "Female",
  "nationality": 124,
  "identity_type": "National ID Card",
  "identity_number": "12345678901",
  "identity": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc1.pdf",
  "shareholder_address": "2 Allen Avenue",
  "shareholder_country": 165,
  "shareholder_state": "Lagos",
  "shareholder_city": "Ikeja",
  "shareholder_email": "[email protected]",
  "shareholder_phone": "08012345678",
  "no_of_shares": 600000,
  "is_shareholder_director": true
}
curl -X POST "https://partners.diylaw.ng/api/order/v1/CompanyIncorporation/step2?order-ref=k3v9q2m7xa" \
  -H "Authorization: Bearer $DIYLAW_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "shareholder_type": "Individual",
  "firstname": "Adaeze",
  "middlename": "Chioma",
  "lastname": "Obi",
  "occupation": "Engineer",
  "dob": "1990-01-31",
  "gender": "Female",
  "nationality": 124,
  "identity_type": "National ID Card",
  "identity_number": "12345678901",
  "identity": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc1.pdf",
  "shareholder_address": "2 Allen Avenue",
  "shareholder_country": 165,
  "shareholder_state": "Lagos",
  "shareholder_city": "Ikeja",
  "shareholder_email": "[email protected]",
  "shareholder_phone": "08012345678",
  "no_of_shares": 600000,
  "is_shareholder_director": true
}
JSON
{
  "orderReference": "k3v9q2m7xa",
  "data": {
    "id": 1,
    "shareholder_type": "Individual",
    "firstname": "Adaeze",
    "middlename": "Chioma",
    "lastname": "Obi",
    "occupation": "Engineer",
    "dob": "1990-01-31",
    "gender": "Female",
    "nationality": 124,
    "registered_country": null,
    "identity_type": "National ID Card",
    "identity_number": "12345678901",
    "identity": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc1.pdf",
    "cac_certificate": null,
    "shareholder_signature": null,
    "shareholder_address": "2 Allen Avenue",
    "shareholder_country": 165,
    "shareholder_state": "Lagos",
    "shareholder_city": "Ikeja",
    "shareholder_email": "[email protected]",
    "shareholder_phone": "08012345678",
    "no_of_shares": 600000,
    "is_shareholder_director": true
  }
}

For a company that holds shares, put the company's name in firstname and its RC number in lastname, and add registered_country and cac_certificate.

Integrations built on the older …/step2/AddCompany URL keep working: it behaves exactly like step2.

POSThttps://partners.diylaw.ng/api/order/v1/CompanyIncorporation/step2?order-ref={orderReference}

{
  "shareholder_type": "Company",
  "firstname": "Obi Holdings Limited",
  "lastname": "RC1234567",
  "registered_country": 165,
  "cac_certificate": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc1.pdf",
  "shareholder_address": "7 Adeola Odeku Street",
  "shareholder_country": 165,
  "shareholder_state": "Lagos",
  "shareholder_city": "Victoria Island",
  "shareholder_email": "[email protected]",
  "shareholder_phone": "08023456789",
  "no_of_shares": 400000,
  "is_shareholder_director": false
}
curl -X POST "https://partners.diylaw.ng/api/order/v1/CompanyIncorporation/step2?order-ref=k3v9q2m7xa" \
  -H "Authorization: Bearer $DIYLAW_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "shareholder_type": "Company",
  "firstname": "Obi Holdings Limited",
  "lastname": "RC1234567",
  "registered_country": 165,
  "cac_certificate": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc1.pdf",
  "shareholder_address": "7 Adeola Odeku Street",
  "shareholder_country": 165,
  "shareholder_state": "Lagos",
  "shareholder_city": "Victoria Island",
  "shareholder_email": "[email protected]",
  "shareholder_phone": "08023456789",
  "no_of_shares": 400000,
  "is_shareholder_director": false
}
JSON
{
  "orderReference": "k3v9q2m7xa",
  "data": {
    "id": 2,
    "shareholder_type": "Company",
    "firstname": "Obi Holdings Limited",
    "middlename": null,
    "lastname": "RC1234567",
    "occupation": null,
    "dob": null,
    "gender": null,
    "nationality": null,
    "registered_country": 165,
    "identity_type": null,
    "identity_number": null,
    "identity": null,
    "cac_certificate": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc1.pdf",
    "shareholder_signature": null,
    "shareholder_address": "7 Adeola Odeku Street",
    "shareholder_country": 165,
    "shareholder_state": "Lagos",
    "shareholder_city": "Victoria Island",
    "shareholder_email": "[email protected]",
    "shareholder_phone": "08023456789",
    "no_of_shares": 400000,
    "is_shareholder_director": false
  }
}

Fields

Field Type Required Notes
shareholder_type one of Individual, Company (ShareholderTypes) Yes
firstname string, max 200 Yes Individual: first name. Company: the company's name.
middlename string, max 200 No
lastname string, max 200 Yes Individual: last name. Company: the company's RC number.
occupation string, max 200 No
dob date, YYYY-MM-DD Sometimes Required when is_shareholder_director is true.
gender one of Male, Female (Genders) Sometimes Required when is_shareholder_director is true.
nationality ID from Nationalities Sometimes Required when is_shareholder_director is true.
registered_country ID from Countries No Company shareholders: country of registration.
identity_type one of Driver's Licence, National ID Card, International Passport, Voters Card (IdentityTypes) Sometimes Required when is_shareholder_director is true.
identity_number string, max 200 Sometimes Required when is_shareholder_director is true.
identity file reference from FileUpload Sometimes Required when is_shareholder_director is true. Scan of the identity document.
cac_certificate file reference from FileUpload No Company shareholders: CAC certificate.
shareholder_signature file reference from FileUpload No
shareholder_address string, max 200 Yes
shareholder_country ID from Countries No
shareholder_state string, max 200 No State name: the display from States.
shareholder_city string, max 200 Yes
shareholder_email string, email Yes
shareholder_phone string, max 20 Yes
no_of_shares integer, at least 1 Yes Number of shares held.
is_shareholder_director true or false Yes With true, the shareholder is also added as a director, so you don't send them again in step 3.

List shareholders

GEThttps://partners.diylaw.ng/api/order/v1/CompanyIncorporation/step2?order-ref={orderReference}
curl -X GET "https://partners.diylaw.ng/api/order/v1/CompanyIncorporation/step2?order-ref=k3v9q2m7xa" \
  -H "Authorization: Bearer $DIYLAW_API_KEY"
{
  "orderReference": "k3v9q2m7xa",
  "data": [
    {
      "id": 1,
      "shareholder_type": "Individual",
      "firstname": "Adaeze",
      "middlename": "Chioma",
      "lastname": "Obi",
      "occupation": "Engineer",
      "dob": "1990-01-31",
      "gender": "Female",
      "nationality": 124,
      "registered_country": null,
      "identity_type": "National ID Card",
      "identity_number": "12345678901",
      "identity": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc1.pdf",
      "cac_certificate": null,
      "shareholder_signature": null,
      "shareholder_address": "2 Allen Avenue",
      "shareholder_country": 165,
      "shareholder_state": "Lagos",
      "shareholder_city": "Ikeja",
      "shareholder_email": "[email protected]",
      "shareholder_phone": "08012345678",
      "no_of_shares": 600000,
      "is_shareholder_director": true
    },
    {
      "id": 2,
      "shareholder_type": "Company",
      "firstname": "Obi Holdings Limited",
      "middlename": null,
      "lastname": "RC1234567",
      "occupation": null,
      "dob": null,
      "gender": null,
      "nationality": null,
      "registered_country": 165,
      "identity_type": null,
      "identity_number": null,
      "identity": null,
      "cac_certificate": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc1.pdf",
      "shareholder_signature": null,
      "shareholder_address": "7 Adeola Odeku Street",
      "shareholder_country": 165,
      "shareholder_state": "Lagos",
      "shareholder_city": "Victoria Island",
      "shareholder_email": "[email protected]",
      "shareholder_phone": "08023456789",
      "no_of_shares": 400000,
      "is_shareholder_director": false
    }
  ]
}

Step 3: directors

Adds one director per call. A company needs at least one director. Shareholders added with is_shareholder_director: true already count.

POSThttps://partners.diylaw.ng/api/order/v1/CompanyIncorporation/step3?order-ref={orderReference}
{
  "director_firstname": "Babatunde",
  "director_lastname": "Adeyemi",
  "director_dob": "1985-03-14",
  "director_gender": "Male",
  "director_nationality": 124,
  "director_identity_type": "International Passport",
  "director_identity_number": "A01234567",
  "director_identity": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc2.pdf",
  "director_address": "3 Awolowo Road",
  "director_country": 165,
  "director_state": "Lagos",
  "director_city": "Ikoyi",
  "director_email": "[email protected]",
  "director_phone": "08087654321"
}
curl -X POST "https://partners.diylaw.ng/api/order/v1/CompanyIncorporation/step3?order-ref=k3v9q2m7xa" \
  -H "Authorization: Bearer $DIYLAW_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "director_firstname": "Babatunde",
  "director_lastname": "Adeyemi",
  "director_dob": "1985-03-14",
  "director_gender": "Male",
  "director_nationality": 124,
  "director_identity_type": "International Passport",
  "director_identity_number": "A01234567",
  "director_identity": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc2.pdf",
  "director_address": "3 Awolowo Road",
  "director_country": 165,
  "director_state": "Lagos",
  "director_city": "Ikoyi",
  "director_email": "[email protected]",
  "director_phone": "08087654321"
}
JSON
{
  "orderReference": "k3v9q2m7xa",
  "data": {
    "id": 2,
    "director_firstname": "Babatunde",
    "director_middlename": null,
    "director_lastname": "Adeyemi",
    "director_dob": "1985-03-14",
    "director_gender": "Male",
    "director_nationality": 124,
    "director_identity_type": "International Passport",
    "director_identity_number": "A01234567",
    "director_identity": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc2.pdf",
    "director_signature": null,
    "director_address": "3 Awolowo Road",
    "director_country": 165,
    "director_state": "Lagos",
    "director_city": "Ikoyi",
    "director_email": "[email protected]",
    "director_phone": "08087654321"
  }
}

Fields

Field Type Required Notes
director_firstname string, max 200 Yes
director_middlename string, max 200 No
director_lastname string, max 200 Yes
director_dob date, YYYY-MM-DD Yes
director_gender one of Male, Female (Genders) Yes
director_nationality ID from Nationalities Yes
director_identity_type one of Driver's Licence, National ID Card, International Passport, Voters Card (IdentityTypes) Yes
director_identity_number string, max 200 Yes
director_identity file reference from FileUpload Yes Scan of the identity document.
director_signature file reference from FileUpload No Image of the director's signature.
director_address string, max 200 Yes
director_country ID from Countries No
director_state string, max 200 No State name: the display from States.
director_city string, max 200 Yes
director_email string, email Yes
director_phone string, max 20 Yes

List directors

The list includes shareholder-directors from step 2 (here, Adaeze Obi) as well as directors added in this step.

GEThttps://partners.diylaw.ng/api/order/v1/CompanyIncorporation/step3?order-ref={orderReference}
curl -X GET "https://partners.diylaw.ng/api/order/v1/CompanyIncorporation/step3?order-ref=k3v9q2m7xa" \
  -H "Authorization: Bearer $DIYLAW_API_KEY"
{
  "orderReference": "k3v9q2m7xa",
  "data": [
    {
      "id": 1,
      "director_firstname": "Adaeze",
      "director_middlename": "Chioma",
      "director_lastname": "Obi",
      "director_dob": "1990-01-31",
      "director_gender": "Female",
      "director_nationality": 124,
      "director_identity_type": "National ID Card",
      "director_identity_number": "12345678901",
      "director_identity": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc1.pdf",
      "director_signature": null,
      "director_address": "2 Allen Avenue",
      "director_country": 165,
      "director_state": "Lagos",
      "director_city": "Ikeja",
      "director_email": "[email protected]",
      "director_phone": "08012345678"
    },
    {
      "id": 2,
      "director_firstname": "Babatunde",
      "director_middlename": null,
      "director_lastname": "Adeyemi",
      "director_dob": "1985-03-14",
      "director_gender": "Male",
      "director_nationality": 124,
      "director_identity_type": "International Passport",
      "director_identity_number": "A01234567",
      "director_identity": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc2.pdf",
      "director_signature": null,
      "director_address": "3 Awolowo Road",
      "director_country": 165,
      "director_state": "Lagos",
      "director_city": "Ikoyi",
      "director_email": "[email protected]",
      "director_phone": "08087654321"
    }
  ]
}

Step 4: company secretary

Says whether the company appoints a secretary, and gives their details if so. If there's no secretary, send only {"company_secretary": "No"}.

POSThttps://partners.diylaw.ng/api/order/v1/CompanyIncorporation/step4?order-ref={orderReference}
{
  "company_secretary": "Yes",
  "secretary_type": "Individual",
  "secretary_firstname": "Chinedu",
  "secretary_surname": "Eze",
  "secretary_address": "4 Broad Street",
  "secretary_country": 165,
  "secretary_state": "Lagos",
  "secretary_city": "Lagos Island",
  "secretary_email": "[email protected]",
  "secretary_phone": "08011112222",
  "identity_type": "Voters Card",
  "identity_number": "90F5B1234567"
}
curl -X POST "https://partners.diylaw.ng/api/order/v1/CompanyIncorporation/step4?order-ref=k3v9q2m7xa" \
  -H "Authorization: Bearer $DIYLAW_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "company_secretary": "Yes",
  "secretary_type": "Individual",
  "secretary_firstname": "Chinedu",
  "secretary_surname": "Eze",
  "secretary_address": "4 Broad Street",
  "secretary_country": 165,
  "secretary_state": "Lagos",
  "secretary_city": "Lagos Island",
  "secretary_email": "[email protected]",
  "secretary_phone": "08011112222",
  "identity_type": "Voters Card",
  "identity_number": "90F5B1234567"
}
JSON
{
  "orderReference": "k3v9q2m7xa",
  "data": {
    "company_secretary": "Yes",
    "secretary_type": "Individual",
    "secretary_firstname": "Chinedu",
    "secretary_surname": "Eze",
    "secretary_address": "4 Broad Street",
    "secretary_country": 165,
    "secretary_state": "Lagos",
    "secretary_city": "Lagos Island",
    "secretary_email": "[email protected]",
    "secretary_phone": "08011112222",
    "identity_type": "Voters Card",
    "identity_number": "90F5B1234567",
    "identity": null
  }
}

Fields

Field Type Required Notes
company_secretary one of Yes, No (YesNo) Yes Is a company secretary being appointed? With No, send nothing else.
secretary_type one of Individual, Corporate Organization (SecretaryTypes) Sometimes Required when company_secretary is Yes.
secretary_firstname string, max 200 Sometimes Required when company_secretary is Yes. For a corporate secretary, the company's name.
secretary_surname string, max 200 Sometimes Required when company_secretary is Yes.
secretary_address string, max 200 Sometimes Required when company_secretary is Yes.
secretary_country ID from Countries Sometimes Required when company_secretary is Yes.
secretary_state string, max 200 No State name: the display from States.
secretary_city string, max 200 Sometimes Required when company_secretary is Yes.
secretary_email string, email Sometimes Required when company_secretary is Yes.
secretary_phone string, max 15 Sometimes Required when company_secretary is Yes.
identity_type one of Driver's Licence, National ID Card, International Passport, Voters Card (IdentityTypes) No
identity_number string, max 200 No
identity file reference from FileUpload No Scan of the secretary's identity document.

Read step 4

GEThttps://partners.diylaw.ng/api/order/v1/CompanyIncorporation/step4?order-ref={orderReference}
curl -X GET "https://partners.diylaw.ng/api/order/v1/CompanyIncorporation/step4?order-ref=k3v9q2m7xa" \
  -H "Authorization: Bearer $DIYLAW_API_KEY"
{
  "orderReference": "k3v9q2m7xa",
  "data": {
    "company_secretary": "Yes",
    "secretary_type": "Individual",
    "secretary_firstname": "Chinedu",
    "secretary_surname": "Eze",
    "secretary_address": "4 Broad Street",
    "secretary_country": 165,
    "secretary_state": "Lagos",
    "secretary_city": "Lagos Island",
    "secretary_email": "[email protected]",
    "secretary_phone": "08011112222",
    "identity_type": "Voters Card",
    "identity_number": "90F5B1234567",
    "identity": null
  }
}

After step 4 the order is complete on your side. Follow its progress on the dashboard.