curl --request GET \
--url https://panel.sendcloud.sc/api/v3/contracts/{id} \
--header 'Authorization: Basic <encoded-value>'{
"data": {
"id": 60,
"carrier": {
"code": "lettresuivie",
"name": "Lettre Suivie"
},
"client_id": "sendcloud-1",
"is_default_per_carrier": true,
"state": "active",
"type": "direct"
}
}Retrieve information about a specific contract by including the id of the contract as a path parameter.
curl --request GET \
--url https://panel.sendcloud.sc/api/v3/contracts/{id} \
--header 'Authorization: Basic <encoded-value>'{
"data": {
"id": 60,
"carrier": {
"code": "lettresuivie",
"name": "Lettre Suivie"
},
"client_id": "sendcloud-1",
"is_default_per_carrier": true,
"state": "active",
"type": "direct"
}
}Basic Authentication using API key and secrets is currently the main authentication mechanism.
The id of the contract.
OK
Retrieve contract
User contract
Show child attributes