Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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'
import requests

url = "https://delivery-staging.apiideraos.com/api/v2/token/user/myprofile"

payload = {}
headers = {
  'Authorization': 'Bearer Secret Key'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)
require "uri"
require "net/http"

url = URI("https://delivery-staging.apiideraos.com/api/v2/token/user/myprofile")

https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = "Bearer Secret Key"

response = https.request(request)
puts response.read_body
// Some code

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