post
https://api.lodgestory.com/api/wp-crm/segments//upload-url
Step 1 of a CSV import: a presigned URL valid for 15 minutes. PUT your file to uploadUrl with Content-Type: text/csv, then start the import with the returned fileKey.
The first row is the header. phone (E.164, or national with a countrycode column — India is assumed only when neither says otherwise), email, name are read as such; every other column becomes a member attribute.
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…
401Unauthorized — invalid/expired JWT or organisation ID does not match the token
403Forbidden — role not permitted
429Too many requests
503Segments are not available yet on this server
