Curacel Insurance Brokers API
Everything relating to brokers
Everything relating to brokers
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/curacel:curacel-insurance-brokers-api"
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.
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: 3.2.0
info:
version: 1.0.0
title: Curacel Grow API Docs Insurance Brokers 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: insurance-brokers
description: Everything relating to brokers
x-displayName: Brokers
paths:
/v1/credit-notes:
post:
operationId: createCreditNote
tags:
- insurance-brokers
summary: Insurance brokers ability to create a credit note
description: Make a request to create a credit note
requestBody:
description: The request body to be sent with this request
content:
application/json:
schema:
type: object
required:
- insurer_code
- customer_ref
- premium
- premium_due_date
- current_date
- product_code
properties:
insurer_code:
type: string
description: The unique code of the insurer
customer_ref:
type: string
description: The unique ref attached to the customer
premium:
type: number
description: The credit note amount
premium_due_date:
type: string
format: date
description: The due date of the premium
current_date:
type: string
format: date
description: The current date / Day credit note is created
product_code:
type: string
description: The unique code for the product
responses:
201:
description: Created
content:
application/json:
schema:
properties:
data:
$ref: '#/components/schemas/CreditNote'
422:
description: Unprocessable Content
content:
application/json:
schema:
properties:
message:
type: string
errors:
type: object
properties:
product_code:
type: array
items:
type: string
get:
operationId: retrieveListOfCreditNotes
tags:
- insurance-brokers
summary: List credit notes
description: This endpoint allows you to retrieve a list of created credit notes.
parameters:
- 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
- in: query
name: status
schema:
type: string
enum:
- pending
- active
description: Can be any one of this 2 status. active, pending
description: Filter the credit notes returned by its status.
- in: query
name: insurer
schema:
type: string
description: Insurer's unique code
description: Filter the credit notes returned by insurer.
responses:
'200':
description: OK
content:
application/json:
schema:
properties:
data:
type: array
items:
$ref: '#/components/schemas/CreditNote'
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/credit-notes/{code}:
get:
operationId: retrieveSingleCreditNote
tags:
- insurance-brokers
summary: Get a single credit note
description: This endpoint allows you to retrieve a credit note by its unique code
parameters:
- in: path
name: code
required: true
schema:
type: string
description: The unique identifier for the credit note
responses:
'200':
description: OK
content:
application/json:
schema:
properties:
data:
$ref: '#/components/schemas/CreditNote'
400:
description: Bad request.
content:
application/json:
schema:
properties:
message:
type: string
/v1/debit-notes:
post:
operationId: createDebitNote
tags:
- insurance-brokers
summary: Insurance brokers ability to create a debit note
description: Make a request to create a debit note
requestBody:
description: The request body to be sent with this request
content:
application/json:
schema:
type: object
required:
- insurer_code
- customer_ref
- premium
- premium_due_date
- current_date
- product_code
properties:
insurer_code:
type: string
description: The unique code of the insurer
customer_ref:
type: string
description: The unique ref attached to the customer
premium:
type: number
description: The credit note amount
premium_due_date:
type: string
format: date
description: The due date of the premium
current_date:
type: string
format: date
description: The current date / Day debit note is created
product_code:
type: string
description: The unique code for the product
payment_details:
type: object
required:
- bank_name
- account_number
properties:
bank_name:
type: string
description: The name of the bank
account_number:
type: number
description: bank account number
sort_code:
type: integer
description: Six digits bank sort code
responses:
201:
description: Created
content:
application/json:
schema:
properties:
data:
$ref: '#/components/schemas/DebitNote'
422:
description: Unprocessable Content
content:
application/json:
schema:
properties:
message:
type: string
errors:
type: object
properties:
product_code:
type: array
items:
type: string
get:
operationId: retieveListOfDebitNotes
tags:
- insurance-brokers
summary: List debit notes
description: This endpoint allows you to retrieve a list of created debit notes.
parameters:
- 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
- in: query
name: status
schema:
type: string
enum:
- pending
- active
description: Can be any one of this 2 status. active, pending
description: Filter the credit notes returned by its status.
- in: query
name: insurer
schema:
type: string
description: Insurer's unique code
description: Filter the credit notes returned by insurer.
responses:
'200':
description: OK
content:
application/json:
schema:
properties:
data:
type: array
items:
$ref: '#/components/schemas/DebitNote'
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/debit-notes/{code}:
get:
operationId: retrieveDebitNote
tags:
- insurance-brokers
summary: Get a single debit note
description: This endpoint allows you to retrieve a debit note by its unique code
parameters:
- in: path
name: code
required: true
schema:
type: string
description: The unique identifier for the debit note
responses:
'200':
description: OK
content:
application/json:
schema:
properties:
data:
$ref: '#/components/schemas/DebitNote'
'401':
description: Unauthenticated
components:
schemas:
CreditNote:
properties:
code:
type: string
description: The unique identifier for credit note
status:
type: string
description: Current status of the policy
premium:
type: number
description: The credit note premium
premium_due_date:
type: string
format: date
description: Date when premium will be due
current_date:
type: string
format: date
description: Date of creation
customer:
$ref: '#/components/schemas/Customer'
insurer:
$ref: '#/components/schemas/Insurer'
product:
$ref: '#/components/schemas/Product'
type: object
description: Credit Note
Insurer:
properties:
code:
type: string
description: The unique code of the insurer
name:
type: string
description: The name of the insurer
logo_url:
type: string
description: A link to the Insurer's logo
terms_conditions:
type: string
description: Insurer's terms and conditions
type: object
description: An insurance provider
Product:
properties:
title:
type: string
description: The name of the product
code:
type: string
description: The unique identifier for technical purposes
id:
type: integer
description: Unique Id of the product.
insurer:
$ref: '#/components/schemas/Insurer'
product type:
$ref: '#/components/schemas/ProductType'
cover-benefits:
type: object
description: list of the nefits covered.
created-at:
type: string
description: Date of product creation
price:
type: integer
description: Price of product
premium-type:
type: string
description: Define the product premium tier.
premium-rate-unit:
type: integer
premium-rate:
type: number
premium:
type: number
partner-commision-rate:
type: number
min-premium:
type: string
premium-rules:
type: string
premium_frequency:
type: string
enum:
- monthly
- quarterly
- annually
default: annually
type: object
description: An individual insurance product or plan
DebitNote:
properties:
code:
type: string
description: The unique identifier for debit note
status:
type: string
description: Current status of the policy
premium:
type: number
description: The debit note premium
premium_due_date:
type: string
format: date
description: Date when premium will be due
current_date:
type: string
format: date
description: Date of creation
payment_details:
type: object
properties:
bank_name:
type: string
description: The name of the bank
account_number:
type: number
description: bank account number
sort_code:
type: integer
description: Six digits bank sort code
customer:
$ref: '#/components/schemas/Customer'
insurer:
$ref: '#/components/schemas/Insurer'
product:
$ref: '#/components/schemas/Product'
type: object
description: Debit Note
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
ProductType:
properties:
name:
type: string
description: The generally accepted human friendly name
slug:
type: string
description: The unique identifier for technical purposes
type: object
description: A major category of insurance e.g Health, Automobile, Life, Gadget, Goods in transit, etc
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: API KEY from your account dashboard