Jobs
Create job
Create a new job with property and customer details.
post/v1/jobs
Request
- Base URLhttps://api.spruce.eco
- AuthHTTP bearer
Request body
Example request
{
"altitude_m": 50,
"built_form": "semi_detached",
"floor_area_m2": 120,
"fuel_type": "mains_gas",
"loft_insulation": "150mm",
"num_bathrooms": 2,
"num_bedrooms": 3,
"num_storeys": 2,
"postcode": "SW1A 1AA",
"property_type": "house",
"room_height_m": 2.4,
"wall_type": "cavity_wall_filled",
"window_type": "double_glazing",
"floor_u_value": 0.18,
"roof_u_value": 0.11,
"wall_u_value": 0.18,
"window_u_value": 1.4,
"address": "10 Downing Street, Westminster, London",
"cibse_design_temperature_version": 2,
"country": "England",
"customer_email": "james.bond@example.com",
"customer_first_name": "James",
"customer_last_name": "Bond",
"customer_phone": "07700 900123",
"epc_certificate_number": "0123-4567-8901-2345-6789",
"job_name": "Bond Residence Heat Pump Installation",
"job_reference": "BON-007",
"lat_lng": [
51.5033,
-0.1276
],
"outdoor_space": "ground_floor",
"payaca_project_id": "deea7132-665b-4531-86fb-072439bd68ba",
"source": "API",
"tags": [
"From API",
"Referral"
],
"udprn": "23747771",
"uprn": "100023336956",
"year_built": 1949
}Response
Job created successfully
Example response
{
"job_reference": "custom_ref_001",
"url": "https://app.spruce.eco/admin/quotes/d87fd67e-f2dd-4363-80ef-b5e9d60048de",
"uuid": "d87fd67e-f2dd-4363-80ef-b5e9d60048de"
}Changes
No recorded changes to this operation across all 1 revision of this API.