[{"data":1,"prerenderedAt":121},["ShallowReactive",2],{"pseo:errors:token-revoked":3,"highlight:error:token-revoked":115},{"cause":4,"code":5,"example":6,"faqs":10,"feature":17,"fix_steps":21,"http_status":25,"message":8,"protocol_aliases":26,"raised_by":27,"related":57,"retryable":94,"seo":95,"slug":112,"tier":113,"title":114,"updated":110,"url":106},"The token you presented was issued for this channel but has since been rotated or revoked, either by someone pressing rotate in the dashboard or automatically when the channel was deleted or relinked to a different phone. The old value stops working the moment the new one is shown. Wapito stores only a hash of each token, so a revoked token can never be recovered - a new one has to be issued.","token_revoked",{"error":7},{"code":5,"message":8,"request_id":9},"This channel token has been revoked.","req_01JRQ8F4X9N2K7YB3C5V6W8H0T",[11,14],{"a":12,"q":13},"It does not. Rotation takes effect immediately and there is no grace window, because a grace window would defeat the point of rotating a leaked credential. Plan a short deploy that swaps the secret, and rotate at a quiet hour if your sending is continuous.","How long does an old token keep working after a rotation?",{"a":15,"q":16},"No. The token is an API credential and the WhatsApp session is a separate thing entirely. Rotating a token leaves the linked number connected, keeps the warm-up ladder intact, and does not touch delivery of webhooks that are already configured.","Does rotating the token disconnect the WhatsApp number?",{"name":18,"slug":19,"url":20},"Connect a Number","connect-number-qr-pairing","\u002Fwhatsapp-api\u002Fconnect-number-qr-pairing\u002F",[22,23,24],"Open the channel in the dashboard, rotate the token, and copy the new value once - it is never shown again.","Put the new token in your secret manager and restart the workers that hold it in memory.","If you did not rotate it yourself, check who else has dashboard access before you assume it was an accident.",401,[],[28,37,45,51],{"availability":29,"ban_risk":30,"method":31,"operationId":32,"path":33,"summary":34,"tag":35,"url":36},"ga","low","GET","getChannel","\u002Fchannel","Get channel status and settings","channel","\u002Fdocs\u002Fapi\u002Fchannel\u002Fget-channel\u002F",{"availability":29,"ban_risk":38,"method":39,"operationId":40,"path":41,"summary":42,"tag":43,"url":44},"medium","POST","sendText","\u002Fmessages\u002Ftext","Send a text message","messages","\u002Fdocs\u002Fapi\u002Fmessages\u002Fsend-text\u002F",{"availability":29,"ban_risk":30,"method":31,"operationId":46,"path":47,"summary":48,"tag":49,"url":50},"listGroups","\u002Fgroups","List groups","groups","\u002Fdocs\u002Fapi\u002Fgroups\u002Flist-groups\u002F",{"availability":29,"ban_risk":30,"method":39,"operationId":52,"path":53,"summary":54,"tag":55,"url":56},"createWebhook","\u002Fwebhooks","Create a webhook","webhooks","\u002Fdocs\u002Fapi\u002Fwebhooks\u002Fcreate-webhook\u002F",{"glossary":58,"hub":68,"operations":69,"pillar":20,"siblings":78},[59,62,65],{"title":60,"url":61},"Pairing code","\u002Fglossary\u002Fpairing-code\u002F",{"title":63,"url":64},"QR linking","\u002Fglossary\u002Fqr-linking\u002F",{"title":66,"url":67},"Session","\u002Fglossary\u002Fsession\u002F","\u002Fdocs\u002Ferrors\u002F",[70,72,74,76],{"title":71,"url":36},"GET \u002Fchannel",{"title":73,"url":44},"POST \u002Fmessages\u002Ftext",{"title":75,"url":50},"GET \u002Fgroups",{"title":77,"url":56},"POST \u002Fwebhooks",[79,82,85,88,91],{"title":80,"url":81},"unauthorized (401)","\u002Fdocs\u002Ferrors\u002Funauthorized\u002F",{"title":83,"url":84},"invalid_request (400)","\u002Fdocs\u002Ferrors\u002Finvalid-request\u002F",{"title":86,"url":87},"invalid_recipient (400)","\u002Fdocs\u002Ferrors\u002Finvalid-recipient\u002F",{"title":89,"url":90},"plan_required (402)","\u002Fdocs\u002Ferrors\u002Fplan-required\u002F",{"title":92,"url":93},"forbidden (403)","\u002Fdocs\u002Ferrors\u002Fforbidden\u002F",false,{"breadcrumb":96,"canonical":107,"description":108,"h1":109,"lastmod":110,"title":111},[97,100,103,105],{"name":98,"url":99},"Home","\u002F",{"name":101,"url":102},"Docs","\u002Fdocs\u002F",{"name":104,"url":68},"Errors",{"name":5,"url":106},"\u002Fdocs\u002Ferrors\u002Ftoken-revoked\u002F","https:\u002F\u002Fwapito.com\u002Fdocs\u002Ferrors\u002Ftoken-revoked\u002F","401 token_revoked: This channel token has been revoked. The old value stops working the moment the new one is shown. 3 fix steps for the Wapito WhatsApp API.","token_revoked — Channel token was revoked","2026-09-15","token_revoked (401): Channel token was revoked | Wapito","token-revoked","t8","Channel token was revoked",[116],{"label":117,"id":118,"lang":118,"code":119,"html":120},"JSON","json","{\n  \"error\": {\n    \"code\": \"token_revoked\",\n    \"message\": \"This channel token has been revoked.\",\n    \"request_id\": \"req_01JRQ8F4X9N2K7YB3C5V6W8H0T\"\n  }\n}","\u003Cpre class=\"shiki shiki-themes github-light-default github-dark-default\" style=\"background-color:#ffffff;--shiki-dark-bg:#0d1117;color:#1f2328;--shiki-dark:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"color:#1F2328;--shiki-dark:#E6EDF3\">{\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#116329;--shiki-dark:#7EE787\">  \"error\"\u003C\u002Fspan>\u003Cspan style=\"color:#1F2328;--shiki-dark:#E6EDF3\">: {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#116329;--shiki-dark:#7EE787\">    \"code\"\u003C\u002Fspan>\u003Cspan style=\"color:#1F2328;--shiki-dark:#E6EDF3\">: \u003C\u002Fspan>\u003Cspan style=\"color:#0A3069;--shiki-dark:#A5D6FF\">\"token_revoked\"\u003C\u002Fspan>\u003Cspan style=\"color:#1F2328;--shiki-dark:#E6EDF3\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#116329;--shiki-dark:#7EE787\">    \"message\"\u003C\u002Fspan>\u003Cspan style=\"color:#1F2328;--shiki-dark:#E6EDF3\">: \u003C\u002Fspan>\u003Cspan style=\"color:#0A3069;--shiki-dark:#A5D6FF\">\"This channel token has been revoked.\"\u003C\u002Fspan>\u003Cspan style=\"color:#1F2328;--shiki-dark:#E6EDF3\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#116329;--shiki-dark:#7EE787\">    \"request_id\"\u003C\u002Fspan>\u003Cspan style=\"color:#1F2328;--shiki-dark:#E6EDF3\">: \u003C\u002Fspan>\u003Cspan style=\"color:#0A3069;--shiki-dark:#A5D6FF\">\"req_01JRQ8F4X9N2K7YB3C5V6W8H0T\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#1F2328;--shiki-dark:#E6EDF3\">  }\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#1F2328;--shiki-dark:#E6EDF3\">}\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",1790464915577]