MAILBOX SEARcH BY PARAMETERS

http://api.kopeechka.store/mailbox-get-bulk?token=$TOKEN&count=$COUNT&comment=$TEXT&email=$EMAIL&site=$SITE&type=$TYPE&api=2.0

$TOKEN -API key from kopeechka.store

$TYPE - Specify in what form to give the answer (JSON (by default) / TEXT )


Optional parameters:

$COUNT - The number of activations returned (by default 1).

$TEXT - The text of your comment (be sure to make a URLENCODE in order to avoid data loss).

$EMAIL - The mail you want to find.

$SITE - The site where you want to find mail.

Answer:

JSON

{"status":"OK","count":$COUNT,"items":[{"id":$TASK_ID,"service":"$SERVICE","email":"$EMAIL","date":$DATE,"status":"$STATUS","value":$LINK,"comment":"$COMMENT"}]}

TEXT

$TASK_ID:$SERVICE:$EMAIL:$DATE:$STATUS:$LINK:$COMMENT

$COUNT - The number of activations in the response.

$TASK_ID - Activation number in the system.

$SERVICE - The site for which activation was ordered.

$EMAIL - The mailbox used in the activation.

$DATE - The date of the activation.

$STATUS - Activation status.

  • It can be CANCELED (activation canceled), READY (activation is waiting for a letter), DONE (activation received a letter), HISTORY (activation in history, the letter was received).

$LINK - Parsed link from the message. (urlencode)

$COMMENT - A comment linked to your activation. (urlencode)

Possible errors

  • Invalid token

JSON

{"status":"ERROR","value":"BAD_TOKEN"}

TEXT

ERROR|BAD_TOKEN

Have you figured it out? Rather try :)