Forum Discussion

patils27's avatar
5 years ago

How to add multiple tags to a message

 

curl --location --request PUT '.../api/2.0/messages/882?restapi.session_key=...' \
--header 'Content-Type: application/json' \
--data-raw '{
    "data":{
        "type":"message",
        "tags": [
        	{
            	"type": "tag",
            	"text": "tag3"
        	},
        	{
            	"type": "tag",
            	"text": "tag4"
        	}
        ]
    }
}'