cURL
curl --request POST \ --url https://api.toingg.com/api/v3/set_campaign_detect_inactivity \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "campId": "<string>", "detectInactivity": true } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response