Replace subscriber properties

Replaces the entire collection of properties associated with a subscriber. All desired properties, even unchanged properties, must be set each time this method is called. Property names must be camel cased or this call will fail. Note that subscriber properties are visible to bots through the subscriber.properties hash. See the Bot Documentation for more information.

Resource URL:

PUT https://api.essential.to/v2/account/subscribers/{subscriber_sid}/properties

Resource information:

Response formatJSON
Requires authentication?Yes

Parameters:

properties
required

Properties to set for the subscriber.

Sample code:

curl -X PUT \
     -u '[SID]:[TOKEN]' \
     -H 'Content-Type: application/json' \
     'https://api.essential.to/v2/account/subscribers/RsbrYCSo2m0sShMLOlZqtw/properties' \
     -d '{"properties": { "randomProperty": 456 }}'

# Sample response
{
  "randomProperty": 456
}
Python coming soon.
Node coming soon.