Skip to main content

Update Interaction

With the Update Interaction endpoint you can update the metadata of a previously stored interaction.

https://api.ploogins.com/v1/interactions/update

Body Params

The parameters passed to the interactions/update endpoint need to be encoded in a JSON format.

NameTypeDescriptionExample
interaction_id*string (UUID)The ID of the stored interaction072c2b17-4f8d-4e69-9814-5fdf598ce759
metadata*JSONThe interaction metadata{"message": "Great!", "positive": true}

Request Example

In order to register an interaction with the Ploogins API, it is necessary to call the update endpoint using the POST method, with all required parameters.

curl    --location 'api.ploogins.com/v1/interactions/register' \
--header 'Authorization: Bearer YOUR-API-TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"interaction_id": "55253fe5-3368-4520-9b4b-86689e204204",
"metadata": {
"message": "Good Results",
"positive": true
}
}'