cURL
curl --request POST \ --url https://api.onset.io/v1/subscribers \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]", "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" }
Create a new subscriber in the workspace
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Subscriber email address
Array of list IDs to subscribe to
Subscriber created successfully
Unique subscriber identifier
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?