cURL
curl --request PUT \ --url https://app.mailrify.com/api/v1/contactBooks/{contactBookId}/contacts/{contactId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "<string>", "firstName": "<string>", "lastName": "<string>", "properties": {}, "subscribed": true } '
{ "contactId": "<string>" }
Upsert contact
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
3
"cuiwqdj74rygf74"
Show child attributes
Contact upserted successfully