Data

GET https://checkitin.bio/api/data/
curl --request GET \
--url 'https://checkitin.bio/api/data/' \
--header 'Authorization: Bearer {api_key}' \
Parameters Details Description
page Optional Integer The page number that you want results from. Defaults to 1.
results_per_page Optional Integer How many results you want per page. Allowed values are: 10 , 25 , 50 , 100 , 250 , 500. Defaults to 25.
{
    "data": [
        {
            "id": 1,
            "biolink_block_id": 1,
            "link_id": 1,
            "project_id": 1,
            "type": "mail",
            "data": {
                "email": "email@example.com",
                "name": "John doe"
            },
            "datetime": "2021-09-17 20:56:23"
        },
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://checkitin.bio/api/data?&page=1",
        "last": "https://checkitin.bio/api/data?&page=1",
        "next": null,
        "prev": null,
        "self": "https://checkitin.bio/api/data?&page=1"
    }
}
GET https://checkitin.bio/api/data/{datum_id}
curl --request GET \
--url 'https://checkitin.bio/api/data/{datum_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "biolink_block_id": 1,
        "link_id": 1,
        "project_id": 1,
        "type": "mail",
        "data": {
            "email": "email@example.com",
            "name": "John doe"
        },
        "datetime": "2021-09-17 20:56:23"
    }
}
DELETE https://checkitin.bio/api/data/{datum_id}
curl --request DELETE \
--url 'https://checkitin.bio/api/data/{datum_id}' \
--header 'Authorization: Bearer {api_key}' \