Curacel Customers API

Everything about customers

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

POST /v1/customers Create a new customer on our platform #
GET /v1/customers List customers #
GET /v1/customers/{ref} Get a single customer #
PATCH /v1/customers/{ref} Update the missing details of a customer #
DELETE /v1/customers/{ref} Delete the detials of a customer #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/curacel:curacel-customers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

curacel-customers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Curacel Grow API Docs Customers API
  description: '# Introduction

    Curacel Grow is an embedded insurance that aims to drive insurance literacy and inclusion in Africa. This API allows developers, product owners, and business owners to tap into retail insurance by embedding insurance with their solutions, thereby offering customers tailored insurance to fit thier needs. This API gives you access to:


    - **Insurance**


    - **Custom**


    In this API reference, you''ll find all the information you need about each endpoint and resource. Tip: Make sure to also visit our Developer Portal for guides on Getting started with Grow, Setting up your environment, and Using our drop-in widget,


    ## Environment

    We currently offer two environments: sandbox and production. | Environment | Purpose | Access |

    |----------|-------|-------|

    | **Sandbox** | We''ve created a sandbox environment where you can test your API client code without incurring any costs. In this environment, you can create links without real credentials. No data is tampered with and you are able to thoroughly test API endpoints in test mode before going live. | Base URL (cURL): https://api.playbox.grow.curacel.co/api


    | **Production** | The Production environment is recommended for live applications that have direct connections to institutions. You will need real credentials to create links in this environment, and you will be pulling real data from the institutions.| Base URL (cURL): https://api.grow.curacel.co/api |


    Note

    You can''t create an application for live mode and sandbox using the same API key. We use the same endpoint structure, the only difference is the base URL. Therefore, for each environment, you''ll need to generate seperate API keys. ## HTTP Response status codes


    | Status Code | Description |

    | ----------- | ------- |

    | `1xx` | Informational. |

    | `2xx` | Successful - Everything worked as expected.|

    | `3xx` | Redirection messages. |

    | `4xx` | Client Error responses. |

    | `5xx` | Server error responses. |


    ## HTTP Response Status Codes Summary

    Curacel Grow uses the standard HTTP response codes to indicate if an API request was successful or not. | Status Code | Description |

    |-----------|-------|

    | `200` - **OK** | ✅ Everything worked perfectly.|

    | `201` - **Created** | ✅ As a result of the request''s success, a new resource was created. Most common use-case is in a POST request.|

    | `204` - **Success** | ✅ Although, the request was successful, no content to return by the server.|

    | `400` - **Bad Request** | ❌ The request was denied, usually because a required parameter was missing. |

    | `401` - **Unauthorized** | ❌ Unauthenticated because no valid API key was provided. |

    | `402` - **Request Failed**| ❌ The parameters were correct, however, the request did not succeed.|

    | `403` | ❌ The client does not have access rights to the content. |

    | `404` - **Not Found** | ❌ The server can not find the requested resource. The link may be correct, but the resource does not exist.|

    | `409` - **Conflict** | ❌ This response is sent when a request conflicts with the current state of the server.|

    | `422` - **Unprocessable Entity** | ❌ The request was well-formed, however, it couldn''t be carried out because of semantic flaws. |

    | `429` - **Too Many Requests** | ❌ The user has issued an excessive number of requests in a short period of time ("rate limiting"). |

    | `500`, `502`, `503`, `504` - **Server Errors** | ❌ Something went wrong on Curacels'' end. (These are rare.)


    Note that together with this response, a user-friendly page explaining the problem should be sent.|


    ## Error handling


    ### Error messages


    We don''t yet have any custom error codes, but errors would always contain one of the standard HTTP codes with a message in the payload. Curacel Grow API errors are returned in JSON format.'
  contact:
    name: Curacel Grow API Support
    email: grow@curacel.ai
    url: https://docs.curacel.co/
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: https://api.playbox.grow.curacel.co/api
  description: Sandbox
- url: https://api.grow.curacel.co/api
  description: Production
security:
- bearerAuth: []
tags:
- name: Customers
  description: Everything about customers
  x-displayName: Customers
paths:
  /v1/customers:
    post:
      operationId: createNewCustomer
      tags:
      - Customers
      summary: Create a new customer on our platform
      description: '**Create a new customer**


        Creates a new customer. You can then use this customer to place an order for a product. Insurance regulation requires KYC, so some fields are mandatory.


        **Customer types**


        - **Individual** (default): omit `customer_type`, or set it to `individual`.

        - **Business**: set `customer_type` to `business`.


        **Optional KYC parameters**


        You can omit these parameters:

        - bvn

        - proof_of_address'
      requestBody:
        required: true
        description: Details of the customer to create
        content:
          application/json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/CustomerIndividual'
              - $ref: '#/components/schemas/customerBusiness'
          multipart/form-data:
            schema:
              oneOf:
              - $ref: '#/components/schemas/CustomerIndividual'
              - $ref: '#/components/schemas/customerBusiness'
      responses:
        201:
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerDetail'
        401:
          description: Unauthenticated
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
        404:
          description: Curacel could not download the file at `proof_of_address.url`
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Could not load proof of address url
        422:
          description: Unprocessable Content
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: The email address is already registered.
                  errors:
                    type: object
                    description: Validation errors. Each key is a request field and each value is a list of error messages for that field.
                    additionalProperties:
                      type: array
                      items:
                        type: string
                    example:
                      email:
                      - The email address is already registered.
                      id_number:
                      - The id number field is required.
    get:
      operationId: fetchlistOfCustomers
      tags:
      - Customers
      summary: List customers
      description: This endpoint allows you to retrieve a list of customers.
      parameters:
      - in: query
        name: search
        schema:
          type: string
        description: 'Any text supplied here would be used to search for customers in any of the following fields


          - customer email

          - customer name

          - customer phone

          - customer ref

          '
      - in: query
        name: page
        schema:
          type: integer
          default: 1
        description: The page of results
      - in: query
        name: per_page
        schema:
          type: integer
          default: 15
        description: Maximum Number of results per page
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Customer'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                      last:
                        type: string
                      prev:
                        type: string
                      next:
                        type: string
        400:
          description: Bad request.
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
  /v1/customers/{ref}:
    get:
      operationId: fetchSingleCustomer
      tags:
      - Customers
      summary: Get a single customer
      parameters:
      - in: path
        name: ref
        required: true
        schema:
          type: string
        description: The unique identifier for the customer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/Customer'
        400:
          description: Bad request.
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
    patch:
      operationId: updateCustomer
      tags:
      - Customers
      parameters:
      - in: path
        name: ref
        required: true
        schema:
          type: string
        description: The unique identifier for the customer
      summary: Update the missing details of a customer
      description: This allows any missing info of the customer to be provided. Any info previously provided will not be overwritten. Please contact support if you need to over write a customer's info.
      requestBody:
        description: Accepts the same details you would normally use to create a customer
        content:
          application/json:
            schema:
              type: object
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/Customer'
        422:
          description: Unprocessable
    delete:
      operationId: deleteCustomer
      parameters:
      - in: path
        name: ref
        required: true
        schema:
          type: string
        description: The unique identifier for the customer
      tags:
      - Customers
      summary: Delete the detials of a customer
      description: Permanently remove a customer from your account
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
        401:
          description: Unauthenticated
        404:
          description: Not found
        422:
          description: Unprocessable Request
components:
  schemas:
    Customer:
      required:
      - email
      - ref
      - first_name
      - last_name
      properties:
        ref:
          type: string
          description: Unique identifier for the customer on your system
        email:
          type: string
          description: The customer's email address
        phone:
          type: string
        first_name:
          type: string
        last_name:
          type: string
      type: object
      description: The the customer's information
    CustomerIndividual:
      title: Individual
      type: object
      required:
      - first_name
      - last_name
      - email
      properties:
        customer_type:
          type:
          - string
          - 'null'
          enum:
          - individual
          - null
          default: individual
          description: Omit this field, or set it to `individual`, to create an individual customer.
        ref:
          type:
          - string
          - 'null'
          maxLength: 150
          example: 189jwsp9
          description: Your unique identifier for the customer as it exists on your database. It must be unique for your account. If you omit it, Curacel generates one. This would be used to identify this customer in all other operations.
        first_name:
          type: string
          example: John
          description: Letters, numbers, dashes and underscores only. Spaces are not allowed.
        last_name:
          type: string
          example: Doe
          description: Letters, numbers, dashes and underscores only. Spaces are not allowed.
        middle_name:
          type:
          - string
          - 'null'
          example: Smith
        sex:
          type:
          - string
          - 'null'
          enum:
          - M
          - F
          - null
          example: M
          description: Must be either M or F
        birth_date:
          type:
          - string
          - 'null'
          format: date
          example: '1990-10-10'
          description: Customer's date of birth in `YYYY-MM-DD` format. The customer must be at least 18 years old. Required for partners onboarded on or after 1 August 2023.
        email:
          type: string
          format: email
          example: john.doe@example.com
          description: Customer's email address. It must be unique for your account when you do not send `ref`.
        phone:
          type:
          - string
          - 'null'
          example: '+2348123456789'
          description: Customer's phone number. Required for partners onboarded on or after 1 August 2023.
        occupation:
          type:
          - string
          - 'null'
          example: Accountant
        specialty:
          type:
          - string
          - 'null'
          example: Cardiologist
          description: The specialty of the policy holder
        state_of_origin:
          type:
          - string
          - 'null'
          example: Lagos
        nationality:
          type:
          - string
          - 'null'
          example: Nigerian
        residential_address:
          type:
          - string
          - 'null'
          example: 6, some street
          description: Customer's home address. Required for partners onboarded on or after 1 August 2023. Also required to buy credit life products.
        town:
          type:
          - string
          - 'null'
          example: Yaba
        city:
          type:
          - string
          - 'null'
          example: Ikeja
        state:
          type:
          - string
          - 'null'
          example: Lagos
        country:
          type:
          - string
          - 'null'
          example: Nigeria
        bvn:
          type:
          - string
          - 'null'
          pattern: ^[0-9]+$
          example: '93201832987'
          description: Bank Verification Number. Digits only. This KYC field is optional.
        proof_of_address:
          type:
          - object
          - 'null'
          required:
          - type
          - url
          properties:
            type:
              type: string
              example: Electricity bill
              description: The type of proof of address e.g Electricity bill
            url:
              type: string
              format: url
              example: https://example.com/proof_of_address.jpg
              description: A publicly available URL to the customer's proof of address file
          description: The proof of the customer's address. This KYC field is optional. When you send it, both `type` and `url` are required. The type can be any string that describes the document. The url must be publicly accessible when you make this request, because Curacel copies and stores the file for insurers to view.
        next_of_kin_name:
          type:
          - string
          - 'null'
          example: Jane Doe
          description: The name of the customer's next of kin. Required to buy credit life products.
        next_of_kin_phone:
          type:
          - string
          - 'null'
          example: '+2348123456780'
          description: Phone number of the customer's next of kin. Required to buy credit life products.
        id_card:
          type:
          - string
          - 'null'
          format: binary
          description: ID card of the customer. To upload it, send the request as `multipart/form-data`. When you upload it, `id_number` and `id_expiry` are required.
        id_type:
          type:
          - string
          - 'null'
          enum:
          - driversLicense
          - internationalPassport
          - votersCard
          - nimc
          - null
          description: Type of ID
        id_number:
          type:
          - string
          - 'null'
          example: 32wef0erwr
          description: Number of the ID. Required when you upload `id_card`.
        id_expiry:
          type:
          - string
          - 'null'
          format: date
          example: '2030-12-31'
          description: Expiry date of the ID in `YYYY-MM-DD` format. It must be today or a later date. Required when you upload `id_card`.
    customerBusiness:
      title: Business
      type: object
      required:
      - customer_type
      - business_name
      - email
      - country
      - residential_address
      - description
      - registration_number
      - tin
      - birth_date
      - registration_certificate
      - id_card
      - id_number
      - id_expiry
      properties:
        customer_type:
          type: string
          enum:
          - business
          description: Must be `business` to create a business customer.
        ref:
          type:
          - string
          - 'null'
          maxLength: 150
          example: 189jwsp9
          description: Your unique identifier for the customer as it exists on your database. It must be unique for your account. If you omit it, Curacel generates one. This would be used to identify this customer in all other operations.
        business_name:
          type: string
          example: ACME Corp
        email:
          type: string
          format: email
          example: info@acme.example.com
          description: Business email address. It must be unique for your account when you do not send `ref`.
        phone:
          type:
          - string
          - 'null'
          example: '+2348123456789'
          description: Business phone number. Required for partners onboarded on or after 1 August 2023.
        description:
          type: string
          example: Logistics and haulage company
          description: Description of the business.
        residential_address:
          type: string
          example: 6, some street
          description: Address of the business
        country:
          type: string
          example: NG
          description: ISO 3166-1 alpha-2 code of the business country, for example `NG`, `KE` or `GH`.
        state:
          type:
          - string
          - 'null'
          example: Lagos
          description: State of the business address
        city:
          type:
          - string
          - 'null'
          example: Ikeja
          description: City of the business address
        registration_number:
          type: string
          example: RC123456
          description: Business registration number
        tin:
          type: string
          example: 12345678-0001
          description: Tax Identification Number (TIN) of the business
        registration_certificate:
          type: string
          format: binary
          description: Proof of business registration (file)
        memart:
          type: string
          format: binary
          description: Memorandum and Articles of Association (file). Required when `country` is `NG`.
        birth_date:
          type: string
          format: date
          example: '1985-04-12'
          description: Date of birth of the director whose ID you upload, in `YYYY-MM-DD` format. The director must be at least 18 years old.
        id_card:
          type: string
          format: binary
          description: ID card of one director (file)
        id_type:
          type:
          - string
          - 'null'
          enum:
          - driversLicense
          - internationalPassport
          - votersCard
          - nimc
          - null
          description: Type of ID
        id_number:
          type: string
          example: 32wef0erwr
          description: Number of the ID
        id_expiry:
          type: string
          format: date
          example: '2030-12-31'
          description: Expiry date of the ID in `YYYY-MM-DD` format. It must be today or a later date.
    CustomerDetail:
      type: object
      description: The customer that was created
      properties:
        id:
          type: integer
          example: 1024
        ref:
          type: string
          example: 189jwsp9
          description: Unique identifier for the customer. This is the `ref` you sent, or the one that Curacel generated.
        email:
          type: string
          example: john.doe@example.com
        full_name:
          type: string
          example: John Doe
          description: First and last name for an individual. Business name for a business.
        first_name:
          type:
          - string
          - 'null'
          example: John
        last_name:
          type:
          - string
          - 'null'
          example: Doe
        phone:
          type:
          - string
          - 'null'
          example: '+2348123456789'
        sex:
          type:
          - string
          - 'null'
          example: M
        birth_date:
          type:
          - string
          - 'null'
          format: date
          example: '1990-10-10'
        next_of_kin_name:
          type:
          - string
          - 'null'
          example: Jane Doe
        next_of_kin_phone:
          type:
          - string
          - 'null'
          example: '+2348123456780'
        residential_address:
          type:
          - string
          - 'null'
          example: 6, some street
        country:
          type:
          - string
          - 'null'
          example: Nigeria
        state:
          type:
          - string
          - 'null'
          example: Lagos
        city:
          type:
          - string
          - 'null'
          example: Ikeja
        customer_type:
          type:
          - string
          - 'null'
          enum:
          - individual
          - business
          - null
          example: individual
          description: The value you sent in `customer_type`. It is `null` when you omit it.
        created_at:
          type: string
          format: date-time
          example: '2026-10-23T10:15:30.000000Z'
        id_card:
          type:
          - string
          - 'null'
          format: url
          example: https://example.com/customers/attachments/id-card.jpg
          description: URL of the uploaded ID card
        id_type:
          type:
          - string
          - 'null'
          example: nimc
        id_number:
          type:
          - string
          - 'null'
          example: 32wef0erwr
        channel:
          type:
          - string
          - 'null'
          description: The sales channel of the customer, when set.
        specialty:
          type: string
          example: Cardiologist
          description: Only present when you send `specialty`.
        business_name:
          type: string
          example: ACME Corp
          description: Only present for business customers.
        description:
          type: string
          example: Logistics and haulage company
          description: Only present for business customers.
        tin:
          type: string
          example: 12345678-0001
          description: Only present for business customers.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API KEY from your account dashboard