curl --location --request PUT 'https://sux.chatsight.ai/api/properties' \
--header 'Authorization: Bearer <API_KEY>' \
--header 'Content-Type: application/json' \
--data-raw '{
"property_name": <PROPERTY_NAME>,
"property_type": <PROPERTY_TYPE>,
"property_platform_id": <PROPERTY_PLATFORM_ID>,
"property_tags":[...<PROPERTY_TAGS>]
}'
Key | Value |
---|---|
property_name | STRING The display name for the Property. |
property_type | STRING The platform the property is residing on. Case Sensitive; One of (without quotes): "Discord", "Telegram" |
property_platform_id | STRING The ID of the property on the platform. For example, this would be your GuildID on Discord, or your Telegram Chat ID . |
property_tags | ARRAY of STRING User-defined tags to give to this property. |