Skip to main content
POST
/
api
/
v3
/
donors
Create Donor Profile
curl --request POST \
  --url https://server.stage.overflow.co/api/v3/donors \
  --header 'Content-Type: application/json' \
  --header 'x-client-id: <api-key>' \
  --data '
{
  "firstName": "John",
  "lastName": "Doe",
  "email": "[email protected]",
  "mailingAddress": {
    "city": "Anytown",
    "line1": "123 Main St",
    "line2": "Apt 1",
    "state": "CA",
    "zip": "12345"
  },
  "phone": "+1234567890"
}
'
{
  "data": "<string>"
}

Authorizations

x-client-id
string
header
required

Client ID for API authentication

Body

application/json

Parameters to create a new Donor Profile

firstName
string
required

The first name of the donor

Example:

"John"

lastName
string
required

The last name of the donor

Example:

"Doe"

email
string<email>

The email address of the donor

mailingAddress
object

The mailing address of the donor

Example:
{
"city": "Anytown",
"line1": "123 Main St",
"line2": "Apt 1",
"state": "CA",
"zip": "12345"
}
phone
string

The phone number of the donor

Example:

"+1234567890"

Response

201 - application/json
data
string
required

The id of the new donor profile