Set a comment to the ordered mail
http://api.kopeechka.store/mailbox-set-comment?token=$TOKEN&id=$TASK_ID&comment=$TEXT&type=$TYPE&api=2.0
$TOKEN - Your API key from kopeechka.store
$TYPE - Specify in what form to give the answer (JSON (by default) / TEXT )
$TASK_ID - ID of the activation to which we add a comment.
$TEXT - The text of the comment (be sure to make a URLENCODE in order to prevent data distortion)
✅ Answer:
JSON
{"status":"OK"}
TEXT
OK
❌ Possible errors:
Invalid token
JSON
{"status":"ERROR","value":"BAD_TOKEN"}
TEXT
ERROR|BAD_TOKEN
Invalid $TASK_ID
JSON
{"status":"ERROR","value":"NO_ACTIVATION"}
TEXT
ERROR|NO_ACTIVATION
Did not specify $TEXT
JSON
{"status":"ERROR","value":"BAD_COMMENT"}
TEXT
ERROR|BAD_COMMENT
Have you figured it out? Rather try :)