cURL
curl --request PATCH \ --url https://api.onset.io/v1/subscribers/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "list_ids": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ] } '
{ "id": "<string>", "email": "[email protected]", "lists": [ { "id": "<string>", "name": "<string>" } ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Update an existing subscriber
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Subscriber ID
Array of list IDs to subscribe to
Subscriber updated successfully
Unique subscriber identifier
Subscriber email address
Lists the subscriber belongs to
Show child attributes
Unique list identifier
List name
When the subscriber was created
When the subscriber was last updated
Was this page helpful?