v1 Services
Services define what you can order (measurement report types) and what you pay. Pricing returned here is your tenant's contracted pricing.
GET /v1/services
bash
curl https://sandboxclient-api.roofangle.com/v1/services \
-H "Authorization: Bearer eyJhbGciOi..."Returns the available services with ids, names, delivery times, and your price. Use the serviceId when creating an order.
GET
/v1/servicesPaste your sandbox credentials to run this request. The secret is held in memory for this tab only and is never stored. Need keys? Create a sandbox account.
POST /v1/services/calculate-price
Quote an order before placing it, useful for showing a total in your checkout.
Request
json
{
"serviceId": "SERVICE_ID",
"rushOrder": false,
"pdfRequired": true
}Response 200: the calculated total, including any rush or add-on charges.
TIP
Prices can change. Quote at the moment of purchase rather than caching prices long-term.
