MyCover AI
Operational APIs

Auxiliary

Find additional API endpoints for fetching or posting auxiliary data as a complement to other APIs.

File Upload

Use this endpoint to upload a file

POST

https://v2.api.mycover.ai/v2/utilities/files/upload

Query Parameters

NameTypeDescription
file[form-data] fileFile to upload

Response

201 Created
{
    "responseCode": 1,
    "responseText": "File upload successful",
    "data": {
        "upload_id": "03a6d0d5-7a7a-4cbe-a26d-89f53558492a" // UUID of the uploaded file
    }
}

Get genders

Use this endpoint to get genders

GET

https://v2.api.mycover.ai/v2/utilities/genders

Response

200 OK
{
    "responseCode": 1,
    "responseText": "Genders retrieved",
    "data": {
        "genders": [
            "Male",
            "Female"
        ]
    }
}

Get states

Use this endpoint to get states and LGAs in Nigeria

Response

GET

https://v2.api.mycover.ai/v2/products/utility/e55de863-7d98-4236-bd61-40328cd7f7fc

200 OK
{
    "responseCode": 1,
    "responseText": "Product utility fetched successfully",
    "data": [
        {
            "label": "Abia",
            "value": "Abia"
        },
        {
            "label": "Adamawa",
            "value": "Adamawa"
        },
        {
            "label": "Akwa Ibom",
            "value": "Akwa Ibom"
        },
        {
            "label": "Anambra",
            "value": "Anambra"
        },
        {
            "label": "Bauchi",
            "value": "Bauchi"
        },
        {
            "label": "Bayelsa",
            "value": "Bayelsa"
        },
       // ...
    ]
}

Get AIICO vehicle make list

Use this endpoint to get AIICO vehicle make list

Response

GET

https://v2.api.mycover.ai/v2/products/utility/fa2fb85f-9d1a-4652-a136-9da8e4c57c5c

200 OK
{
    "responseCode": 1,
    "responseText": "Product utility fetched successfully",
    "data": [
        {
            "label": "Acura",
            "value": "Acura"
        },
        {
            "label": "Alfa Romeo",
            "value": "Alfa Romeo"
        },
        {
            "label": "Audi",
            "value": "Audi"
        },
        // ...
    ]
}