Skip to main content
PUT

Overview

Update a subscriber’s profile information including their name, phone number, status, custom fields, and group memberships. Only include the fields you want to update.

Authentication

Authorization
string
required
Bearer token. Format: Bearer YOUR_API_KEY

Path Parameters

subscriberId
string
required
The unique identifier (UUID) of the subscriber to update.Example: 550e8400-e29b-41d4-a716-446655440000

Request Body

Only include the fields you want to update. Unspecified fields will remain unchanged.
first_name
string
Updated first name.
last_name
string
Updated last name.
phone
string
Updated phone number.
status
string
Updated status. Options:
  • active - Subscriber can receive emails
  • unsubscribed - Subscriber has opted out
group_ids
array
Array of group UUIDs. This will replace all current group memberships.
custom_fields
object
Object containing custom field key-value pairs. Merges with existing custom fields.

Response

success
boolean
Indicates if the update was successful
data
object
The updated subscriber object

Examples

Unsubscribe a Subscriber

Add to Groups

Setting group_ids will replace all current group memberships. To add a subscriber to additional groups without removing existing ones, first fetch the current groups and include them in the array.