Skip to main content
PATCH
/
v1
/
contactBooks
/
{contactBookId}
/
contacts
/
{contactId}
cURL
curl --request PATCH \
  --url https://app.mailrify.com/api/v1/contactBooks/{contactBookId}/contacts/{contactId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "firstName": "<string>",
  "lastName": "<string>",
  "properties": {},
  "subscribed": true
}
'
{
  "contactId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

contactBookId
string
required
Example:

"cuiwqdj74rygf74"

contactId
string
required
Example:

"cuiwqdj74rygf74"

Body

application/json
firstName
string
lastName
string
properties
object
subscribed
boolean

Response

200 - application/json

Successfully updated contact

contactId
string