4 simple endpoints. No complex setup. Start sending jobs in minutes.
/registerMake a request to see the response
curl -X POST https://rohzayllygnhxacxvyfs.supabase.co/functions/v1/b2b-api/register \
-H "Content-Type: application/json" \
-d '{
"company_name": "Your Company",
"contact_email": "api@company.com",
"contact_phone": "+44 20 1234 5678"
}'curl -X POST https://rohzayllygnhxacxvyfs.supabase.co/functions/v1/b2b-api/job \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"job_type": "breakdown",
"customer_name": "John Smith",
"customer_phone": "+44 7700 900123",
"pickup_address": "123 High Street, London",
"pickup_postcode": "SW1A 1AA",
"vehicle_make": "Ford",
"vehicle_model": "Focus",
"vehicle_reg": "AB12 CDE"
}'curl -X GET "https://rohzayllygnhxacxvyfs.supabase.co/functions/v1/b2b-api/job/JOB_ID" \
-H "x-api-key: YOUR_API_KEY"curl -X GET "https://rohzayllygnhxacxvyfs.supabase.co/functions/v1/b2b-api/report?days=30" \
-H "x-api-key: YOUR_API_KEY"Include your API key in the x-api-key header for all authenticated requests.
Configure a webhook to receive job_completed notifications when jobs finish.
ART Services B2B API v1.0 • Full Documentation • Powered by Readdy