Latest stories

renew_invitation_code

  • Inputs
{
    "status": "string: allowed: 'delete', 'add'",
    "wall_id": "integer: wall id"
}

  • Errors
{
    "must_login": "user must be login",
    "permission_denied": "user is not admin"
}

  • Extra Description
Create invitation hash for private invites if 'status = add' and remove invitation hash if 'status = delete'

  • Sample
  • Url:
https://api.pantel.me/a/renew_invitation_code?wall_id=-1000918&status=add
  • Output:
                                {
    "invitation_hash": "f26a03ef6950b3efadc52b2df882661e",
    "status": "success",
    "time": 1548058906.2717903
}