Latest stories

set_auto_reply

  • Inputs
{
    "auto_reply": "integer numeric: inclusive 0 and 1 for inactive or active auto reply",
    "auto_reply_content": "string max length:256: message for auto replay, its mandatory in case auto_replay set 1"
}

  • Errors
{
    "auto_reply": [
        {
            "max value is 1": "auto_reply maximum valid value is  1"
        },
        {
            "min value is 0": "auto_reply minimum valid value is  0"
        }
    ],
    "auto_reply_content_field_is_required": "auto_reply_content needed if auto_reply set 1",
    "must_login": "user must be login"
}

  • Extra Description
Change auto reply status, 0 for deactivate auto reply 1 for active auto reply

  • Sample
  • Url:
https://api.pantel.me/a/set_auto_reply?auto_reply=1&auto_reply_content=Sorry!, I`ll answer you as soon as possible
  • Output:
                                {
    "status": "success",
    "time": 1546160744.7574213
}