post
https://api.lodgestory.com/api/wp-crm/segments/
Create an empty segment, then add people with POST …/{segmentId}/members (up to 1,000 per call) or a CSV import. Names are unique per organisation, ignoring case; a duplicate name or externalId returns 409 with the existing segmentId in the body, so a retry never creates a second list.
Security:
- The
organisationIdin the URL must match the organisation your JWT was issued for — requests for a different organisation fail with 401. - Requires
CRM_ADMIN,ACCOUNT_OWNER, orCRM_BOTrole; other roles receive 403.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
400Bad request — invalid name / description / externalId
401Unauthorized — invalid/expired JWT or organisation ID does not match the token
403Forbidden — role not permitted
409A segment with this name or externalId exists — body carries its segmentId
429Too many requests
503Segments are not available yet on this server
