Subscribers
Subscriber management operations
Retrieve a list of subscribers
Number of items to skip
0
Maximum number of items to return
10
List of subscribers retrieved successfully
Bad request - Invalid input parameters
Unauthorized - Invalid or missing authentication
GET /v1/subscribers HTTP/1.1
Host: api.onset.com
Authorization: Bearer JWT
Accept: */*
[
{
"id": "text",
"email": "[email protected]",
"lists": [
{
"id": "text",
"name": "text"
}
],
"created_at": "2025-09-12T16:33:51.584Z",
"updated_at": "2025-09-12T16:33:51.584Z"
}
]
Create a new subscriber in the workspace
Subscriber email address
Array of list IDs to subscribe to
Subscriber created successfully
Bad request - Invalid input parameters
Unauthorized - Invalid or missing authentication
POST /v1/subscribers HTTP/1.1
Host: api.onset.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 78
{
"email": "[email protected]",
"list_ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
{
"id": "text",
"email": "[email protected]",
"lists": [
{
"id": "text",
"name": "text"
}
],
"created_at": "2025-09-12T16:33:51.584Z",
"updated_at": "2025-09-12T16:33:51.584Z"
}
Retrieve a specific subscriber by their ID
Subscriber ID
Subscriber retrieved successfully
Unauthorized - Invalid or missing authentication
Not found - Resource does not exist
GET /v1/subscribers/{id} HTTP/1.1
Host: api.onset.com
Authorization: Bearer JWT
Accept: */*
{
"id": "text",
"email": "[email protected]",
"lists": [
{
"id": "text",
"name": "text"
}
],
"created_at": "2025-09-12T16:33:51.584Z",
"updated_at": "2025-09-12T16:33:51.584Z"
}
Delete a subscriber by their ID
Subscriber ID
Subscriber deleted successfully
No content
Unauthorized - Invalid or missing authentication
Not found - Resource does not exist
DELETE /v1/subscribers/{id} HTTP/1.1
Host: api.onset.com
Authorization: Bearer JWT
Accept: */*
No content
Update an existing subscriber
Subscriber ID
Array of list IDs to subscribe to
Subscriber updated successfully
Bad request - Invalid input parameters
Unauthorized - Invalid or missing authentication
Not found - Resource does not exist
PATCH /v1/subscribers/{id} HTTP/1.1
Host: api.onset.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"list_ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
{
"id": "text",
"email": "[email protected]",
"lists": [
{
"id": "text",
"name": "text"
}
],
"created_at": "2025-09-12T16:33:51.584Z",
"updated_at": "2025-09-12T16:33:51.584Z"
}