List of Businesses


The Business List API gives you a straightforward method to access the list of your businesses. This API provides a convenient solution for your applications that require business data for various purposes such as analysis, integration, or presentation.


Request and Headers

curl --location --request GET 'https://core.getfaceage.com/api/v1/business' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer your_secret_key'

Response

{success} Response 200

{
    "status": true,
    "data": {
        "data": [
            {
                "id": 8820,
                "user_id": 5,
                "name": "My First beauty business",
                "main_domain": "myfirst-beauty.com",
                "site": "https://www.myfirst-beauty.com",
                "country_id": 22,
                "business_size": "small",
                "token": "MdaC91iYkkDU7FMyj6Rd",
                "status": "active",
                "created_at": "2024-03-12T10:29:08.000000Z",
                "updated_at": "2024-03-12T10:29:08.000000Z",
                "country_list": {
                    "id": 22,
                    "name": "Belgium",
                    "code": "BE",
                    "status": "active",
                    "created_at": "2023-10-04T03:53:05.000000Z",
                    "updated_at": "2023-10-04T03:53:05.000000Z"
                },
                "access_list": [
                    {
                        "id": 26,
                        "business_id": 8820,
                        "site": "https://www.myfirst-beauty.com",
                        "created_at": "2024-03-12T10:29:08.000000Z",
                        "updated_at": "2024-03-12T10:29:08.000000Z"
                    }
                ],
                "total_bought_credits": null,
                "total_deducted_credits": null,
                "invoice": []
            },
            {
                "id": 9821,
                "user_id": 5,
                "name": "My Second beauty business",
                "main_domain": "mysecond-beauty.com",
                "site": "https://www.mysecond-beauty.com",
                "country_id": 22,
                "business_size": "small",
                "token": "uttxrlKe0tU01dRuwH51",
                "status": "active",
                "created_at": "2024-03-12T10:54:42.000000Z",
                "updated_at": "2024-03-12T10:54:42.000000Z",
                "country_list": {
                    "id": 22,
                    "name": "Belgium",
                    "code": "BE",
                    "status": "active",
                    "created_at": "2023-10-04T03:53:05.000000Z",
                    "updated_at": "2023-10-04T03:53:05.000000Z"
                },
                "access_list": [
                    {
                        "id": 27,
                        "business_id": 9821,
                        "site": "https://www.mysecond-beauty.com",
                        "created_at": "2024-03-12T10:54:42.000000Z",
                        "updated_at": "2024-03-12T10:54:42.000000Z"
                    }
                ],
                "total_bought_credits": null,
                "total_deducted_credits": null,
                "invoice": []
            }
        ]
    }
}


{warning} Response 401 : Unauthorized

{
    "message": "Unauthenticated."
}