curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.stateset.com/api/v1/segments/{id}/members/{customer_id}' \
--header "Authorization: Bearer $STATESET_API_KEY"
Add a member
Add a member
POST
/
api
/
v1
/
segments
/
{id}
/
members
/
{customer_id}
curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.stateset.com/api/v1/segments/{id}/members/{customer_id}' \
--header "Authorization: Bearer $STATESET_API_KEY"
Confirm your deployment before running this request. This page describes an API contract;
a published reference does not establish hosted availability. Check the dated
host report and obtain your deployment URL and credentials.
Replace the example host if your provisioned service uses a different URL.
Path parameters
string
required
Segment ID
string
required
Customer ID
Request body
No request body.Response
No response body. Member added.Status codes
| Code | Meaning |
|---|---|
204 | Member added |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.stateset.com/api/v1/segments/{id}/members/{customer_id}' \
--header "Authorization: Bearer $STATESET_API_KEY"
Last modified on August 31, 2026