Get User Profile

Get your user profile details

Request

curl --location 'https://delivery-staging.apiideraos.com/api/v2/token/user/myprofile' \
--header 'Authorization: Bearer Secret Key'

Response

{
    "data": {
        "firstname": "Chris",
        "lastname": "Miracle",
        "email": "chris@gmail.com",
        "phone": "+2348131133039",
        "balance": "997499.99",
        "id": 96,
        "companyName": "Lazy Corp",
        "user_analytics": {
            "shipments": 15,
            "totalDelivered": 1,
            "totalExpense": "1235416.09",
            "cancelled": 0,
            "pending": 12
        },
        "email_encoded": "Y2hyaXNzdG26272pcmExNUBnbWFpbC5jb20=",
        "user_unsubscribe_link": "https://shiip.app/unsubscribe/Y2hya29nj21pcmExNUBnbWFpbC5jb20=",
        "warehouse_business": null,
        "roles": []
    },
    "status": true,
    "message": "OK",
    "status_code": 200
}

Last updated