ReferenceCampaigns API
Update one segment member
PATCH
Send only the fields that change. phone must stay E.164. bsuid must stay in the provider format. The member still needs a phone or a BSUID after the update.
bearerheader
AuthorizationBearer <token>Key issued in Settings → Developer → API key. Inbox methods need the Inbox scope. Campaigns methods need the Campaigns scope.
segmentId*stringSegment id returned by create or list.
memberId*stringMember id returned by the member list.
application/json- body
name?stringNew name, up to 200 characters.
phone?stringE.164 phone, for example +15551234567. After the update the member still needs a phone or a BSUID.
bsuid?stringProvider BSUID, for example ab.abc123xyz. A trailing @lid is stored without it.
application/json- response
id*stringMember id.
name*stringMember name.
phone*|Phone in E.164, or null when the member is stored by BSUID.
bsuid*|Provider BSUID without a trailing @lid, or null when the member is stored by phone.
curl -X PATCH 'https://api.1msg.io/api/v1/campaigns/segments/string/members/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "cm3member01", "name": "Ana", "phone": "+15551234567", "bsuid": "ab.abc123xyz"}