Skip to main content
POST
/
referral-requests
/
batch
Batch import referral requests
curl --request POST \
  --url https://www.renovationfind.com/rest-api-v1/referral-requests/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "referralsToImport": [
    {
      "firstName": "John",
      "lastName": "Doe",
      "emailTo": "john@example.com",
      "phone": "5551234567"
    },
    {
      "firstName": "Jane",
      "lastName": "Smith",
      "emailTo": "jane@example.com",
      "phone": "5559876543"
    }
  ]
}
'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

JWT token issued from the RenovationFind Manager Portal

Body

application/json
referralsToImport
object[]
required

Response

Batch import accepted

success
boolean
Example:

true

message
string