curl --request GET \
--url https://panel.sendcloud.sc/api/v2/user \
--header 'Authorization: Basic <encoded-value>'{
"user": {
"data": [],
"username": "user-417170",
"company_name": "Sendcloud",
"telephone": "+33123456789",
"address": "Simpel&Snel 123",
"postal_code": "1234AB",
"city": "SendCloud City",
"email": "example@sendcloud.com",
"company_logo": null,
"registered": "2022-04-06 11:29:37",
"modules": [
{
"id": 5,
"name": "SendCloud Client",
"settings": null,
"activated": true,
"short_name": "sendcloud_client"
}
],
"invoices": []
}
}Request the data connected with your user account. The response includes your invoice address details, your Sendcloud username, and a list of all your invoices with the associated invoice ids.
curl --request GET \
--url https://panel.sendcloud.sc/api/v2/user \
--header 'Authorization: Basic <encoded-value>'{
"user": {
"data": [],
"username": "user-417170",
"company_name": "Sendcloud",
"telephone": "+33123456789",
"address": "Simpel&Snel 123",
"postal_code": "1234AB",
"city": "SendCloud City",
"email": "example@sendcloud.com",
"company_logo": null,
"registered": "2022-04-06 11:29:37",
"modules": [
{
"id": 5,
"name": "SendCloud Client",
"settings": null,
"activated": true,
"short_name": "sendcloud_client"
}
],
"invoices": []
}
}