This endpoint has been deprecated. For new code, please implement its replacement instead.

To migrate from v2 to v3, simply send the contact object as the JSON body rather than wrapping it in another JSON object with a single contact attribute. The syntax is otherwise the same.

POSThttps://www.prayerletters.com/api/v2/contacts/:id

Update an existing contact in the database.

The request body should be a JSON object containing the contact to be updated. All attributes are optional. Any omitted attributed will be left unchanged.

Scope Required

contacts.write

Request Body

contacts.contact_wrapper.v1 Object

Example

{
   "contact" : {
      "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

204 No Content

Rate Limit

  • 200 requests per hour
  • 600 requests per day
  • 50 requests per day per ID