Skip to content

Create a New Person

POST https://api.prosperworks.com/developer_api/v1/people

Request Body

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  "name":"My Contact",
  "emails": [
    {
    "email":"mycontact_1233@noemail.com",
    "category":"work"
    }
  ],
  "address": {
    "street": "123 Main Street",
    "city": "Savannah",
    "state": "Georgia",
    "postal_code": "31410",
    "country": "United States"
  },
  "phone_numbers": [
    {
    "number":"415-123-45678",
    "category":"mobile"
    }
  ]
}

Example Requests

Create New Person

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
curl --location --request POST "https://api.prosperworks.com/developer_api/v1/people" \
  --header "X-PW-AccessToken: YOUR_TOKEN_HERE" \
  --header "X-PW-Application: developer_api" \
  --header "X-PW-UserEmail: " YOUR_EMAIL_HERE \
  --header "Content-Type: application/json" \
  --data "{
    \"name\":\"My Contact\",
    \"emails\": [
        {
        \"email\":\"mycontact_1233@noemail.com\",
        \"category\":\"work\"
        }
    ],
    \"phone_numbers\": [
        {
        \"number\":\"415-123-45678\",
        \"category\":\"mobile\"
        }
    ]
}"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
  "id": 27140448,
  "name": "My Contact",
  "prefix": null,
  "first_name": "My",
  "middle_name": null,
  "last_name": "Contact",
  "suffix": null,
  "address": null,
  "assignee_id": null,
  "company_id": null,
  "company_name": null,
  "contact_type_id": 451492,
  "details": null,
  "emails": [
    {
      "email": "mycontact_1233@noemail.com",
      "category": "work"
    }
  ],
  "phone_numbers": [
    {
      "number": "415-123-45678",
      "category": "mobile"
    }
  ],
  "socials": [],
  "tags": [],
  "title": null,
  "websites": [],
  "custom_fields": [
    {
      "custom_field_definition_id": 100764,
      "value": null
    },
    {
      "custom_field_definition_id": 103481,
      "value": null
    }
  ],
  "date_created": 1490045450,
  "date_modified": 1490045450
}