Add Users to List
Changed onAPI to add users to the list by passing their distinct_ids.
post/v1/subscriber_list/{list_id}/subscriber/add/
Request
- Base URLhttps://hub.suprsend.com
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/suprsend/apis/suprsend-api/docs/v1/subscriber_list/:list_id/subscriber/add/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
list_idstring required
Unique string identifier of the list to which user needs to be updated
Request body
Response
201
Example response
{
"success": true,
"affected_count": 2
}Changes
- breaking
added the pattern
^[a-z0-9_-]+$to thepathrequest parameterlist_id
- breaking
- breaking
api path removed without deprecation
- info
endpoint added
- breaking