POSThttps://www.prayerletters.com/api/v3/contacts

Create a new contact.

Scope Required

contacts.write

Request Body

contacts.contact.v1 Object

Example

{
   "address" : {
      "city" : "Lebanon",
      "country" : "",
      "postal_code" : "03766",
      "state" : "NH",
      "street" : "123 Main St."
   },
   "company" : null,
   "contact_id" : "c-###-####",
   "external_id" : null,
   "file_as" : "Tischler, Joe",
   "greeting" : "Joe and Mary",
   "name" : "Joe and Mary Tischler"
}

Response

200 OK

Response Body

contacts.contact_created.v1 Object

Example

{
   "contact_id" : "c-###-####"
}

Rate Limit

  • 200 requests per hour
  • 600 requests per day

Errors

400 contacts.insufficient_address

An address must contain a street or city.

400 contacts.invalid_address

The address attribute must be an object.

400 contacts.missing_address

A contact must have an address object.

400 contacts.missing_name

A contact must have a name or company.