SendLit logoSendLit Docs
API ReferenceContactsContactid

Update a contact

PATCH
/contacts/{contactId}
x-sendlit-apikey<token>

In: header

Path Parameters

contactId*string

Request Body

application/json

Body

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://api.sendlit.dev/contacts/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "contactId": "string",
  "email": "string",
  "name": "string",
  "subscribed": true,
  "customFields": {},
  "tags": [
    "string"
  ],
  "unsubscribeToken": "string",
  "createdAt": "string",
  "updatedAt": "string"
}
{
  "error": "string"
}