cURL
curl --request POST \ --url https://monitoring.safeturf.ai/api/applications \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "type": "<string>", "source": "<string>", "form_data": {}, "redirect_url": "<string>", "callback_url": "<string>" } '
Start a new onboarding application
draft
id
"ONBOARDING"
"PALMETTO"
POST
curl -X POST "https://monitoring.safeturf.ai/api/applications" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "type": "ONBOARDING", "source": "PALMETTO", "redirect_url": "https://portal.partner.com/dealers/123", "callback_url": "https://your-server.com/webhooks/safeturf" }'
{ "id": "550e8400-e29b-41d4-a716-446655440000", "status": "draft", "current_step": null, "form_data": {} }