# Update subscriber

# HTTP method: PATCH

https://api.sender.net/v2/subscribers/{email}

Updates subscriber's information, fields, groups or status.

email string required

Subscriber's email address

firstname string

Updated first name

lastname string

Updated last name

groups array

New groups assigned to the subscriber, you can use group ids separated by commas for more than one.

fields array

Provide an array formed by key - field name, value - field value.

subscriber_status string

The value must be one of ACTIVE, UNSUBSCRIBED, BOUNCED, SPAM_REPORTED

phone string

Phone number must include the country code: +370 or 00370 follow by a valid phone number

trigger_automation boolean

This property by default its true. You ca send it as false if you want not to activate an automation.

Code snippets

Response example

{
  "success": true,
  "message": "Subscriber updated"
}