Skip to main content
POST
/
v1
/
referrals
cURL
curl --request POST \
  --url https://revive-api-v2-production.herokuapp.com/v1/referrals/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "referralType": "buyer",
  "clientEmail": "<string>",
  "city": "<string>",
  "listingAddress": "<string>",
  "zipCode": "<string>",
  "latitude": "<string>"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
referralType
enum<string>
required
Available options:
buyer,
seller,
both
clientEmail
string
city
string
listingAddress
string
zipCode
string
latitude
string

Response

200

Success