Reorder request with this mail
http://api.kopeechka.store/mailbox-reorder?site=$SITE&email=$EMAIL®ex=$REGEX&token=$TOKEN&type=$TYPE&subject=$SUBJECT&api=2.0
$SITE - The site you need mail for.
$EMAIL - mail, for receive a repeat email
$TOKEN - Your API key from kopeechka.store
$TYPE - Specify in what form to give you the letter (JSON (by default) / TEXT (the body of the letter) )
$REGEX - it is intended for your regular expression so that we can find the information for you ourselves and give you only that.
$SUBJECT - Specify if you want to receive an email with a specific subject (one word is enough). Is a priority. If the specified word is not in the subject, the letter will NOT GIVE OUT!
For example: the subject is "For Facebook account registration", specify "registration" in the parameter - it will find the necessary letter. If you specify "activation" in the parameter, the email will not issue
✅ Answer:
JSON
{"status":"OK","id":$TASK_ID,"mail":"$MAIL"}
TEXT
OK|$TASK_ID|$MAIL
$TAKS_ID - by this parameter, you need to make further requests to the kopeechka.store service. This is your activation number.
$MAIL - Mail from the service.
❌ Possible errors:
Invalid token
JSON
{"status":"ERROR","value":"BAD_TOKEN"}
TEXT
ERROR|BAD_TOKEN
Activattion not found (It`s not your activation)
JSON
{"status":"ERROR","value":"NO_ACTIVATION"}
TEXT
ERROR|NO_ACTIVATION
First letter has not been received, reorder isn`t possible
JSON
{"status":"ERROR","value":"Activation not found"}
TEXT
{"status":"ERROR","value":"Activation not found"}
Email was banned
JSON
{"status":"ERROR","value":"BAD_EMAIL"}
TEXT
{"status":"ERROR","value":"BAD_EMAIL"}
Unknown, system error. Contact support - we will help!
JSON
{"status":"ERROR","value":"SYSTEM_ERROR"}
TEXT
ERROR|SYSTEM_ERROR
Have you figured it out? Rather try :)