Get Client By Id

Retrieve all user clients.

Authenticating Your Access

To retrieve clients, you must authenticate your access. To learn how, refer to Authentication.

Get Clients

GET /api/v1/users/clients

Query Parameters

Name
Type
Description

size

String

page

String

Headers

Name
Type
Description

x-token*

String

Token provided

{
    "client": {
        "avatar": "https://res.cloudinary.com/jonmenez/image/upload/v1673008065/default-img_uzvear.png",
        "id": "b0814e93-1b37-4be0-9d9f-eb62e5bcc091",
        "full_name": "Jon Sinclair",
        "email": "[email protected]",
        "wallet": "0xfc2d73824a4BfAc55E8f9dEB71FE7E19f8C6d8A0",
        "seller_id": 2
    },
    "bookings": [
        {
            "id": "6042f859-0f90-46ef-bede-5af1538a68a9",
            "name": "The Weeknd",
            "date": "2023-02-08",
            "time": "20:15:00",
            "tx_link": "https://mumbai.polygonscan.com/tx/0xd3c6c5fab60c6778cb950886a5b48551b968aeaf6399a7344d065d45e942bfd5",
            "price": 15000
        },
        {
            "id": "10fa5796-1b78-4557-b28f-371317268272",
            "name": "VAN GOGH - EL SUEÑO INMERSIVO 2023",
            "date": "2023-02-07",
            "time": "19:15:00",
            "tx_link": "https://mumbai.polygonscan.com/tx/0x0c10731507433fc7fa29b5ad276bb701f2e5dd9cdccd9c110df3f2f80058b700",
            "price": 15000
        },
        {
            "id": "09f8510b-2925-4c18-a214-8dd4e075d6a9",
            "name": "VAN GOGH - EL SUEÑO INMERSIVO 2023",
            "date": "2023-02-07",
            "time": "19:15:00",
            "tx_link": "https://mumbai.polygonscan.com/tx/0x6f03a9ccdf235feb458414786a57d3ec95af6c360e475729dcdf57ae8c6bcd10",
            "price": 15000
        },
        {
            "id": "14379713-9a57-4e33-99d1-ce394d25e259",
            "name": "VAN GOGH - EL SUEÑO INMERSIVO 2023",
            "date": "2023-02-07",
            "time": "19:15:00",
            "tx_link": "https://mumbai.polygonscan.com/tx/0xe31955a1935ca52798183115dea085c3bbb7e9b466b3e39dcade17d4ae9b2e24",
            "price": 15000
        }
    ]
}

Example

{
    "client": {
        "avatar": "https://res.cloudinary.com/jonmenez/image/upload/v1673008065/default-img_uzvear.png",
        "id": "b0814e93-1b37-4be0-9d9f-eb62e5bcc091",
        "full_name": "Jon Sinclair",
        "email": "[email protected]",
        "wallet": "0xfc2d73824a4BfAc55E8f9dEB71FE7E19f8C6d8A0",
        "seller_id": 2
    },
    "bookings": [
        {
            "id": "6042f859-0f90-46ef-bede-5af1538a68a9",
            "name": "The Weeknd",
            "date": "2023-02-08",
            "time": "20:15:00",
            "tx_link": "https://mumbai.polygonscan.com/tx/0xd3c6c5fab60c6778cb950886a5b48551b968aeaf6399a7344d065d45e942bfd5",
            "price": 15000
        },
        {
            "id": "10fa5796-1b78-4557-b28f-371317268272",
            "name": "VAN GOGH - EL SUEÑO INMERSIVO 2023",
            "date": "2023-02-07",
            "time": "19:15:00",
            "tx_link": "https://mumbai.polygonscan.com/tx/0x0c10731507433fc7fa29b5ad276bb701f2e5dd9cdccd9c110df3f2f80058b700",
            "price": 15000
        },
        {
            "id": "09f8510b-2925-4c18-a214-8dd4e075d6a9",
            "name": "VAN GOGH - EL SUEÑO INMERSIVO 2023",
            "date": "2023-02-07",
            "time": "19:15:00",
            "tx_link": "https://mumbai.polygonscan.com/tx/0x6f03a9ccdf235feb458414786a57d3ec95af6c360e475729dcdf57ae8c6bcd10",
            "price": 15000
        },
        {
            "id": "14379713-9a57-4e33-99d1-ce394d25e259",
            "name": "VAN GOGH - EL SUEÑO INMERSIVO 2023",
            "date": "2023-02-07",
            "time": "19:15:00",
            "tx_link": "https://mumbai.polygonscan.com/tx/0xe31955a1935ca52798183115dea085c3bbb7e9b466b3e39dcade17d4ae9b2e24",
            "price": 15000
        }
    ]
}

Last updated