[{"data":1,"prerenderedAt":1774},["ShallowReactive",2],{"navigation":3,"\u002Faccount-api":80,"\u002Faccount-api-surround":1771},[4,30,60,75],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15,20,25],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"WordPress plugin","\u002Fgetting-started\u002Fwordpress-plugin","1.getting-started\u002F2.wordpress-plugin","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"API quickstart","\u002Fgetting-started\u002Fapi-quickstart","1.getting-started\u002F3.api-quickstart","i-lucide-terminal",{"title":26,"path":27,"stem":28,"icon":29},"FAQ","\u002Fgetting-started\u002Ffaq","1.getting-started\u002F4.faq","i-lucide-circle-help",{"title":31,"path":32,"stem":33,"children":34,"page":6},"Reference","\u002Freference","2.reference",[35,40,45,50,55],{"title":36,"path":37,"stem":38,"icon":39},"Optimize API","\u002Freference\u002Foptimize-api","2.reference\u002F1.optimize-api","i-lucide-image",{"title":41,"path":42,"stem":43,"icon":44},"Smart crop","\u002Freference\u002Fsmartcrop","2.reference\u002F2.smartcrop","i-lucide-crop",{"title":46,"path":47,"stem":48,"icon":49},"Job polling","\u002Freference\u002Fjobs","2.reference\u002F3.jobs","i-lucide-list-checks",{"title":51,"path":52,"stem":53,"icon":54},"Plans & limits","\u002Freference\u002Fplans-and-limits","2.reference\u002F4.plans-and-limits","i-lucide-credit-card",{"title":56,"path":57,"stem":58,"icon":59},"Account usage","\u002Freference\u002Faccount","2.reference\u002F5.account","i-lucide-gauge",{"title":61,"path":62,"stem":63,"children":64,"page":6},"AI","\u002Fai","3.ai",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"AI alt text & SEO","\u002Fai\u002Falt-text-and-seo","3.ai\u002F1.alt-text-and-seo","i-lucide-sparkles",{"title":71,"path":72,"stem":73,"icon":74},"AI background removal","\u002Fai\u002Fbackground-removal","3.ai\u002F2.background-removal","i-lucide-scissors",{"title":76,"path":77,"stem":78,"icon":79},"Account API","\u002Faccount-api","4.account-api","i-lucide-key-round",{"id":81,"title":76,"body":82,"description":1764,"extension":1765,"links":1766,"meta":1767,"navigation":1768,"path":77,"seo":1769,"stem":78,"__hash__":1770},"docs\u002F4.account-api.md",{"type":83,"value":84,"toc":1752},"minimark",[85,94,118,123,136,151,164,168,171,201,204,212,219,255,259,264,275,305,418,422,447,452,476,615,620,678,743,763,768,822,842,847,875,880,884,904,909,962,1051,1078,1082,1105,1233,1238,1243,1271,1276,1280,1289,1313,1490,1505,1508,1715,1719,1748],[86,87,88,89,93],"p",{},"The Account API gives agencies and resellers full programmatic control over\ntheir helloIMG account: create, rename, and delete websites, mint and revoke\nthe ",[90,91,92],"code",{},"himg_live_"," keys each website uses, and read usage — all without\ntouching the dashboard.",[95,96,97],"callout",{},[86,98,99,100,104,105,110,111,117],{},"This is a reseller feature. It requires a reseller account on the\n",[101,102,103],"strong",{},"Reseller + AI"," plan — ",[106,107,109],"a",{"href":108},"mailto:hello@helloimg.io","contact us"," to have\nreseller status enabled on your account, then subscribe to Reseller + AI\nfrom the dashboard's ",[106,112,116],{"href":113,"rel":114},"https:\u002F\u002Fapp.helloimg.io\u002Fbilling",[115],"nofollow","Billing"," page.",[119,120,122],"h2",{"id":121},"getting-a-key","Getting a key",[86,124,125,126,129,130,135],{},"Once your account has reseller status, account keys are minted from\n",[101,127,128],{},"Settings → Account API → Create key"," in the\n",[106,131,134],{"href":132,"rel":133},"https:\u002F\u002Fapp.helloimg.io",[115],"helloIMG dashboard",".",[86,137,138,139,142,143,146,147,150],{},"The full key — ",[90,140,141],{},"himg_acct_..."," — is shown ",[101,144,145],{},"once",", at creation time. Store\nit somewhere safe; helloIMG only ever keeps its hash and can't show it to\nyou again. Up to ",[101,148,149],{},"10 active account keys"," per account — revoke one before\nminting past that.",[95,152,153],{},[86,154,155,156,159,160,135],{},"Both account keys and website keys can only be minted once the account's\nemail address is verified. An unverified account gets a ",[90,157,158],{},"403"," on any\nkey-creation call — see ",[106,161,163],{"href":162},"#errors","Errors",[119,165,167],{"id":166},"authentication","Authentication",[86,169,170],{},"Send the key as a bearer token on every request:",[172,173,179],"pre",{"className":174,"code":175,"filename":176,"language":177,"meta":178,"style":178},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","Authorization: Bearer himg_acct_xxxxxxxx_************\n","Terminal","bash","",[90,180,181],{"__ignoreMap":178},[182,183,186,190,194,197],"span",{"class":184,"line":185},"line",1,[182,187,189],{"class":188},"sBMFI","Authorization:",[182,191,193],{"class":192},"sfazB"," Bearer",[182,195,196],{"class":192}," himg_acct_xxxxxxxx_",[182,198,200],{"class":199},"sTEyZ","************\n",[86,202,203],{},"Base URL:",[172,205,210],{"className":206,"code":208,"language":209},[207],"language-text","https:\u002F\u002Fapp.helloimg.io\u002Fportal\u002Faccount\n","text",[90,211,208],{"__ignoreMap":178},[86,213,214,215,218],{},"Requests are rate-limited to 10 requests\u002Fsecond (burst 20), both per\ncalling IP and per key — whichever limit you hit first answers ",[90,216,217],{},"429",".\nEvery error comes back as JSON:",[172,220,224],{"className":221,"code":222,"language":223,"meta":178,"style":178},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{ \"error\": \"...\" }\n","json",[90,225,226],{"__ignoreMap":178},[182,227,228,232,235,239,242,245,247,250,252],{"class":184,"line":185},[182,229,231],{"class":230},"sMK4o","{",[182,233,234],{"class":230}," \"",[182,236,238],{"class":237},"spNyl","error",[182,240,241],{"class":230},"\"",[182,243,244],{"class":230},":",[182,246,234],{"class":230},[182,248,249],{"class":192},"...",[182,251,241],{"class":230},[182,253,254],{"class":230}," }\n",[119,256,258],{"id":257},"endpoints","Endpoints",[260,261,263],"h3",{"id":262},"account","Account",[172,265,269],{"className":266,"code":267,"language":268,"meta":178,"style":178},"language-http shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","GET \u002Fme\n","http",[90,270,271],{"__ignoreMap":178},[182,272,273],{"class":184,"line":185},[182,274,267],{},[172,276,278],{"className":174,"code":277,"filename":176,"language":177,"meta":178,"style":178},"curl https:\u002F\u002Fapp.helloimg.io\u002Fportal\u002Faccount\u002Fme \\\n  -H \"Authorization: Bearer himg_acct_xxxxxxxx_************\"\n",[90,279,280,291],{"__ignoreMap":178},[182,281,282,285,288],{"class":184,"line":185},[182,283,284],{"class":188},"curl",[182,286,287],{"class":192}," https:\u002F\u002Fapp.helloimg.io\u002Fportal\u002Faccount\u002Fme",[182,289,290],{"class":199}," \\\n",[182,292,294,297,299,302],{"class":184,"line":293},2,[182,295,296],{"class":192},"  -H",[182,298,234],{"class":230},[182,300,301],{"class":192},"Authorization: Bearer himg_acct_xxxxxxxx_************",[182,303,304],{"class":230},"\"\n",[172,306,308],{"className":221,"code":307,"language":223,"meta":178,"style":178},"{\n  \"id\": \"3f9c1a2b-6d4e-4f8a-9c3b-1a2b3c4d5e6f\",\n  \"email\": \"you@agency.example\",\n  \"plan\": \"reseller_ai\",\n  \"website_count\": 12,\n  \"key_count\": 3\n}\n",[90,309,310,315,337,358,379,397,412],{"__ignoreMap":178},[182,311,312],{"class":184,"line":185},[182,313,314],{"class":230},"{\n",[182,316,317,320,323,325,327,329,332,334],{"class":184,"line":293},[182,318,319],{"class":230},"  \"",[182,321,322],{"class":237},"id",[182,324,241],{"class":230},[182,326,244],{"class":230},[182,328,234],{"class":230},[182,330,331],{"class":192},"3f9c1a2b-6d4e-4f8a-9c3b-1a2b3c4d5e6f",[182,333,241],{"class":230},[182,335,336],{"class":230},",\n",[182,338,340,342,345,347,349,351,354,356],{"class":184,"line":339},3,[182,341,319],{"class":230},[182,343,344],{"class":237},"email",[182,346,241],{"class":230},[182,348,244],{"class":230},[182,350,234],{"class":230},[182,352,353],{"class":192},"you@agency.example",[182,355,241],{"class":230},[182,357,336],{"class":230},[182,359,361,363,366,368,370,372,375,377],{"class":184,"line":360},4,[182,362,319],{"class":230},[182,364,365],{"class":237},"plan",[182,367,241],{"class":230},[182,369,244],{"class":230},[182,371,234],{"class":230},[182,373,374],{"class":192},"reseller_ai",[182,376,241],{"class":230},[182,378,336],{"class":230},[182,380,382,384,387,389,391,395],{"class":184,"line":381},5,[182,383,319],{"class":230},[182,385,386],{"class":237},"website_count",[182,388,241],{"class":230},[182,390,244],{"class":230},[182,392,394],{"class":393},"sbssI"," 12",[182,396,336],{"class":230},[182,398,400,402,405,407,409],{"class":184,"line":399},6,[182,401,319],{"class":230},[182,403,404],{"class":237},"key_count",[182,406,241],{"class":230},[182,408,244],{"class":230},[182,410,411],{"class":393}," 3\n",[182,413,415],{"class":184,"line":414},7,[182,416,417],{"class":230},"}\n",[260,419,421],{"id":420},"websites","Websites",[172,423,425],{"className":266,"code":424,"language":268,"meta":178,"style":178},"GET \u002Fwebsites\nPOST \u002Fwebsites\nPATCH \u002Fwebsites\u002F{id}\nDELETE \u002Fwebsites\u002F{id}\n",[90,426,427,432,437,442],{"__ignoreMap":178},[182,428,429],{"class":184,"line":185},[182,430,431],{},"GET \u002Fwebsites\n",[182,433,434],{"class":184,"line":293},[182,435,436],{},"POST \u002Fwebsites\n",[182,438,439],{"class":184,"line":339},[182,440,441],{},"PATCH \u002Fwebsites\u002F{id}\n",[182,443,444],{"class":184,"line":360},[182,445,446],{},"DELETE \u002Fwebsites\u002F{id}\n",[86,448,449],{},[101,450,451],{},"List:",[172,453,455],{"className":174,"code":454,"filename":176,"language":177,"meta":178,"style":178},"curl https:\u002F\u002Fapp.helloimg.io\u002Fportal\u002Faccount\u002Fwebsites \\\n  -H \"Authorization: Bearer himg_acct_xxxxxxxx_************\"\n",[90,456,457,466],{"__ignoreMap":178},[182,458,459,461,464],{"class":184,"line":185},[182,460,284],{"class":188},[182,462,463],{"class":192}," https:\u002F\u002Fapp.helloimg.io\u002Fportal\u002Faccount\u002Fwebsites",[182,465,290],{"class":199},[182,467,468,470,472,474],{"class":184,"line":293},[182,469,296],{"class":192},[182,471,234],{"class":230},[182,473,301],{"class":192},[182,475,304],{"class":230},[172,477,479],{"className":221,"code":478,"language":223,"meta":178,"style":178},"{\n  \"websites\": [\n    {\n      \"id\": \"7f3a1c92-6b4d-4e8f-9a21-5c6d7e8f9a0b\",\n      \"domain\": \"client-site.example.com\",\n      \"name\": \"Client Site\",\n      \"created_at\": \"2026-08-01T12:00:00Z\",\n      \"active_key_count\": 1\n    }\n  ]\n}\n",[90,480,481,485,498,503,523,543,563,583,598,604,610],{"__ignoreMap":178},[182,482,483],{"class":184,"line":185},[182,484,314],{"class":230},[182,486,487,489,491,493,495],{"class":184,"line":293},[182,488,319],{"class":230},[182,490,420],{"class":237},[182,492,241],{"class":230},[182,494,244],{"class":230},[182,496,497],{"class":230}," [\n",[182,499,500],{"class":184,"line":339},[182,501,502],{"class":230},"    {\n",[182,504,505,508,510,512,514,516,519,521],{"class":184,"line":360},[182,506,507],{"class":230},"      \"",[182,509,322],{"class":188},[182,511,241],{"class":230},[182,513,244],{"class":230},[182,515,234],{"class":230},[182,517,518],{"class":192},"7f3a1c92-6b4d-4e8f-9a21-5c6d7e8f9a0b",[182,520,241],{"class":230},[182,522,336],{"class":230},[182,524,525,527,530,532,534,536,539,541],{"class":184,"line":381},[182,526,507],{"class":230},[182,528,529],{"class":188},"domain",[182,531,241],{"class":230},[182,533,244],{"class":230},[182,535,234],{"class":230},[182,537,538],{"class":192},"client-site.example.com",[182,540,241],{"class":230},[182,542,336],{"class":230},[182,544,545,547,550,552,554,556,559,561],{"class":184,"line":399},[182,546,507],{"class":230},[182,548,549],{"class":188},"name",[182,551,241],{"class":230},[182,553,244],{"class":230},[182,555,234],{"class":230},[182,557,558],{"class":192},"Client Site",[182,560,241],{"class":230},[182,562,336],{"class":230},[182,564,565,567,570,572,574,576,579,581],{"class":184,"line":414},[182,566,507],{"class":230},[182,568,569],{"class":188},"created_at",[182,571,241],{"class":230},[182,573,244],{"class":230},[182,575,234],{"class":230},[182,577,578],{"class":192},"2026-08-01T12:00:00Z",[182,580,241],{"class":230},[182,582,336],{"class":230},[182,584,586,588,591,593,595],{"class":184,"line":585},8,[182,587,507],{"class":230},[182,589,590],{"class":188},"active_key_count",[182,592,241],{"class":230},[182,594,244],{"class":230},[182,596,597],{"class":393}," 1\n",[182,599,601],{"class":184,"line":600},9,[182,602,603],{"class":230},"    }\n",[182,605,607],{"class":184,"line":606},10,[182,608,609],{"class":230},"  ]\n",[182,611,613],{"class":184,"line":612},11,[182,614,417],{"class":230},[86,616,617],{},[101,618,619],{},"Create:",[172,621,623],{"className":174,"code":622,"filename":176,"language":177,"meta":178,"style":178},"curl -X POST https:\u002F\u002Fapp.helloimg.io\u002Fportal\u002Faccount\u002Fwebsites \\\n  -H \"Authorization: Bearer himg_acct_xxxxxxxx_************\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"domain\":\"client-site.example.com\",\"name\":\"Client Site\"}'\n",[90,624,625,639,651,664],{"__ignoreMap":178},[182,626,627,629,632,635,637],{"class":184,"line":185},[182,628,284],{"class":188},[182,630,631],{"class":192}," -X",[182,633,634],{"class":192}," POST",[182,636,463],{"class":192},[182,638,290],{"class":199},[182,640,641,643,645,647,649],{"class":184,"line":293},[182,642,296],{"class":192},[182,644,234],{"class":230},[182,646,301],{"class":192},[182,648,241],{"class":230},[182,650,290],{"class":199},[182,652,653,655,657,660,662],{"class":184,"line":339},[182,654,296],{"class":192},[182,656,234],{"class":230},[182,658,659],{"class":192},"Content-Type: application\u002Fjson",[182,661,241],{"class":230},[182,663,290],{"class":199},[182,665,666,669,672,675],{"class":184,"line":360},[182,667,668],{"class":192},"  -d",[182,670,671],{"class":230}," '",[182,673,674],{"class":192},"{\"domain\":\"client-site.example.com\",\"name\":\"Client Site\"}",[182,676,677],{"class":230},"'\n",[172,679,681],{"className":221,"code":680,"language":223,"meta":178,"style":178},"{\n  \"id\": \"7f3a1c92-6b4d-4e8f-9a21-5c6d7e8f9a0b\",\n  \"domain\": \"client-site.example.com\",\n  \"name\": \"Client Site\"\n}\n",[90,682,683,687,705,723,739],{"__ignoreMap":178},[182,684,685],{"class":184,"line":185},[182,686,314],{"class":230},[182,688,689,691,693,695,697,699,701,703],{"class":184,"line":293},[182,690,319],{"class":230},[182,692,322],{"class":237},[182,694,241],{"class":230},[182,696,244],{"class":230},[182,698,234],{"class":230},[182,700,518],{"class":192},[182,702,241],{"class":230},[182,704,336],{"class":230},[182,706,707,709,711,713,715,717,719,721],{"class":184,"line":339},[182,708,319],{"class":230},[182,710,529],{"class":237},[182,712,241],{"class":230},[182,714,244],{"class":230},[182,716,234],{"class":230},[182,718,538],{"class":192},[182,720,241],{"class":230},[182,722,336],{"class":230},[182,724,725,727,729,731,733,735,737],{"class":184,"line":360},[182,726,319],{"class":230},[182,728,549],{"class":237},[182,730,241],{"class":230},[182,732,244],{"class":230},[182,734,234],{"class":230},[182,736,558],{"class":192},[182,738,304],{"class":230},[182,740,741],{"class":184,"line":381},[182,742,417],{"class":230},[86,744,745,747,748,750,751,754,755,758,759,762],{},[90,746,549],{}," is optional. ",[90,749,529],{}," must look like a real hostname — at least one\ndot, lowercase ",[90,752,753],{},"a-z0-9-"," labels, no more than 253 characters — or the call\nanswers ",[90,756,757],{},"400",". A domain already registered on your account answers ",[90,760,761],{},"409","\ninstead of creating a duplicate.",[86,764,765],{},[101,766,767],{},"Rename:",[172,769,771],{"className":174,"code":770,"filename":176,"language":177,"meta":178,"style":178},"curl -X PATCH https:\u002F\u002Fapp.helloimg.io\u002Fportal\u002Faccount\u002Fwebsites\u002F7f3a1c92-6b4d-4e8f-9a21-5c6d7e8f9a0b \\\n  -H \"Authorization: Bearer himg_acct_xxxxxxxx_************\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"name\":\"New Client Name\"}'\n",[90,772,773,787,799,811],{"__ignoreMap":178},[182,774,775,777,779,782,785],{"class":184,"line":185},[182,776,284],{"class":188},[182,778,631],{"class":192},[182,780,781],{"class":192}," PATCH",[182,783,784],{"class":192}," https:\u002F\u002Fapp.helloimg.io\u002Fportal\u002Faccount\u002Fwebsites\u002F7f3a1c92-6b4d-4e8f-9a21-5c6d7e8f9a0b",[182,786,290],{"class":199},[182,788,789,791,793,795,797],{"class":184,"line":293},[182,790,296],{"class":192},[182,792,234],{"class":230},[182,794,301],{"class":192},[182,796,241],{"class":230},[182,798,290],{"class":199},[182,800,801,803,805,807,809],{"class":184,"line":339},[182,802,296],{"class":192},[182,804,234],{"class":230},[182,806,659],{"class":192},[182,808,241],{"class":230},[182,810,290],{"class":199},[182,812,813,815,817,820],{"class":184,"line":360},[182,814,668],{"class":192},[182,816,671],{"class":230},[182,818,819],{"class":192},"{\"name\":\"New Client Name\"}",[182,821,677],{"class":230},[86,823,824,827,828,830,831,834,835,837,838,841],{},[90,825,826],{},"204"," on success, no body. ",[90,829,549],{}," is required on this call — omit it (or\nsend it as ",[90,832,833],{},"null",") and you get a ",[90,836,757],{},", unlike ",[90,839,840],{},"POST \u002Fwebsites"," where it's\noptional.",[86,843,844],{},[101,845,846],{},"Delete:",[172,848,850],{"className":174,"code":849,"filename":176,"language":177,"meta":178,"style":178},"curl -X DELETE https:\u002F\u002Fapp.helloimg.io\u002Fportal\u002Faccount\u002Fwebsites\u002F7f3a1c92-6b4d-4e8f-9a21-5c6d7e8f9a0b \\\n  -H \"Authorization: Bearer himg_acct_xxxxxxxx_************\"\n",[90,851,852,865],{"__ignoreMap":178},[182,853,854,856,858,861,863],{"class":184,"line":185},[182,855,284],{"class":188},[182,857,631],{"class":192},[182,859,860],{"class":192}," DELETE",[182,862,784],{"class":192},[182,864,290],{"class":199},[182,866,867,869,871,873],{"class":184,"line":293},[182,868,296],{"class":192},[182,870,234],{"class":230},[182,872,301],{"class":192},[182,874,304],{"class":230},[86,876,877,879],{},[90,878,826],{}," on success. Deleting a website revokes every one of its keys along\nwith it.",[260,881,883],{"id":882},"website-keys","Website keys",[172,885,887],{"className":266,"code":886,"language":268,"meta":178,"style":178},"POST \u002Fwebsites\u002F{id}\u002Fkeys\nGET \u002Fwebsites\u002F{id}\u002Fkeys\nDELETE \u002Fwebsites\u002F{id}\u002Fkeys\u002F{prefix}\n",[90,888,889,894,899],{"__ignoreMap":178},[182,890,891],{"class":184,"line":185},[182,892,893],{},"POST \u002Fwebsites\u002F{id}\u002Fkeys\n",[182,895,896],{"class":184,"line":293},[182,897,898],{},"GET \u002Fwebsites\u002F{id}\u002Fkeys\n",[182,900,901],{"class":184,"line":339},[182,902,903],{},"DELETE \u002Fwebsites\u002F{id}\u002Fkeys\u002F{prefix}\n",[86,905,906],{},[101,907,908],{},"Mint:",[172,910,912],{"className":174,"code":911,"filename":176,"language":177,"meta":178,"style":178},"curl -X POST https:\u002F\u002Fapp.helloimg.io\u002Fportal\u002Faccount\u002Fwebsites\u002F7f3a1c92-6b4d-4e8f-9a21-5c6d7e8f9a0b\u002Fkeys \\\n  -H \"Authorization: Bearer himg_acct_xxxxxxxx_************\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"name\":\"Production\"}'\n",[90,913,914,927,939,951],{"__ignoreMap":178},[182,915,916,918,920,922,925],{"class":184,"line":185},[182,917,284],{"class":188},[182,919,631],{"class":192},[182,921,634],{"class":192},[182,923,924],{"class":192}," https:\u002F\u002Fapp.helloimg.io\u002Fportal\u002Faccount\u002Fwebsites\u002F7f3a1c92-6b4d-4e8f-9a21-5c6d7e8f9a0b\u002Fkeys",[182,926,290],{"class":199},[182,928,929,931,933,935,937],{"class":184,"line":293},[182,930,296],{"class":192},[182,932,234],{"class":230},[182,934,301],{"class":192},[182,936,241],{"class":230},[182,938,290],{"class":199},[182,940,941,943,945,947,949],{"class":184,"line":339},[182,942,296],{"class":192},[182,944,234],{"class":230},[182,946,659],{"class":192},[182,948,241],{"class":230},[182,950,290],{"class":199},[182,952,953,955,957,960],{"class":184,"line":360},[182,954,668],{"class":192},[182,956,671],{"class":230},[182,958,959],{"class":192},"{\"name\":\"Production\"}",[182,961,677],{"class":230},[172,963,965],{"className":221,"code":964,"language":223,"meta":178,"style":178},"{\n  \"id\": \"2b9e4f7a-1d3c-4a6b-8f0e-9c8d7e6f5a4b\",\n  \"name\": \"Production\",\n  \"prefix\": \"h4k2x9mq\",\n  \"key\": \"himg_live_h4k2x9mq_************************************\"\n}\n",[90,966,967,971,990,1009,1029,1047],{"__ignoreMap":178},[182,968,969],{"class":184,"line":185},[182,970,314],{"class":230},[182,972,973,975,977,979,981,983,986,988],{"class":184,"line":293},[182,974,319],{"class":230},[182,976,322],{"class":237},[182,978,241],{"class":230},[182,980,244],{"class":230},[182,982,234],{"class":230},[182,984,985],{"class":192},"2b9e4f7a-1d3c-4a6b-8f0e-9c8d7e6f5a4b",[182,987,241],{"class":230},[182,989,336],{"class":230},[182,991,992,994,996,998,1000,1002,1005,1007],{"class":184,"line":339},[182,993,319],{"class":230},[182,995,549],{"class":237},[182,997,241],{"class":230},[182,999,244],{"class":230},[182,1001,234],{"class":230},[182,1003,1004],{"class":192},"Production",[182,1006,241],{"class":230},[182,1008,336],{"class":230},[182,1010,1011,1013,1016,1018,1020,1022,1025,1027],{"class":184,"line":360},[182,1012,319],{"class":230},[182,1014,1015],{"class":237},"prefix",[182,1017,241],{"class":230},[182,1019,244],{"class":230},[182,1021,234],{"class":230},[182,1023,1024],{"class":192},"h4k2x9mq",[182,1026,241],{"class":230},[182,1028,336],{"class":230},[182,1030,1031,1033,1036,1038,1040,1042,1045],{"class":184,"line":381},[182,1032,319],{"class":230},[182,1034,1035],{"class":237},"key",[182,1037,241],{"class":230},[182,1039,244],{"class":230},[182,1041,234],{"class":230},[182,1043,1044],{"class":192},"himg_live_h4k2x9mq_************************************",[182,1046,304],{"class":230},[182,1048,1049],{"class":184,"line":399},[182,1050,417],{"class":230},[86,1052,1053,747,1055,1057,1058,1060,1061,1064,1065,1067,1068,1070,1071,1074,1075,1077],{},[90,1054,549],{},[90,1056,1035],{}," is the full ",[90,1059,92],{}," key — this is what you\nconfigure in the ",[106,1062,1063],{"href":17},"LW Image"," WordPress\nplugin on the client's site. It's shown ",[101,1066,145],{},"; only ",[90,1069,1015],{}," is ever\nretrievable afterwards. Max ",[101,1072,1073],{},"2 active keys per website"," — ",[90,1076,761],{}," past\nthat, revoke one first.",[86,1079,1080],{},[101,1081,451],{},[172,1083,1085],{"className":174,"code":1084,"filename":176,"language":177,"meta":178,"style":178},"curl https:\u002F\u002Fapp.helloimg.io\u002Fportal\u002Faccount\u002Fwebsites\u002F7f3a1c92-6b4d-4e8f-9a21-5c6d7e8f9a0b\u002Fkeys \\\n  -H \"Authorization: Bearer himg_acct_xxxxxxxx_************\"\n",[90,1086,1087,1095],{"__ignoreMap":178},[182,1088,1089,1091,1093],{"class":184,"line":185},[182,1090,284],{"class":188},[182,1092,924],{"class":192},[182,1094,290],{"class":199},[182,1096,1097,1099,1101,1103],{"class":184,"line":293},[182,1098,296],{"class":192},[182,1100,234],{"class":230},[182,1102,301],{"class":192},[182,1104,304],{"class":230},[172,1106,1108],{"className":221,"code":1107,"language":223,"meta":178,"style":178},"{\n  \"keys\": [\n    {\n      \"id\": \"2b9e4f7a-1d3c-4a6b-8f0e-9c8d7e6f5a4b\",\n      \"name\": \"Production\",\n      \"prefix\": \"h4k2x9mq\",\n      \"created_at\": \"2026-08-01T12:00:00Z\",\n      \"last_used_at\": \"2026-08-20T09:14:32Z\"\n    }\n  ]\n}\n",[90,1109,1110,1114,1127,1131,1149,1167,1185,1203,1221,1225,1229],{"__ignoreMap":178},[182,1111,1112],{"class":184,"line":185},[182,1113,314],{"class":230},[182,1115,1116,1118,1121,1123,1125],{"class":184,"line":293},[182,1117,319],{"class":230},[182,1119,1120],{"class":237},"keys",[182,1122,241],{"class":230},[182,1124,244],{"class":230},[182,1126,497],{"class":230},[182,1128,1129],{"class":184,"line":339},[182,1130,502],{"class":230},[182,1132,1133,1135,1137,1139,1141,1143,1145,1147],{"class":184,"line":360},[182,1134,507],{"class":230},[182,1136,322],{"class":188},[182,1138,241],{"class":230},[182,1140,244],{"class":230},[182,1142,234],{"class":230},[182,1144,985],{"class":192},[182,1146,241],{"class":230},[182,1148,336],{"class":230},[182,1150,1151,1153,1155,1157,1159,1161,1163,1165],{"class":184,"line":381},[182,1152,507],{"class":230},[182,1154,549],{"class":188},[182,1156,241],{"class":230},[182,1158,244],{"class":230},[182,1160,234],{"class":230},[182,1162,1004],{"class":192},[182,1164,241],{"class":230},[182,1166,336],{"class":230},[182,1168,1169,1171,1173,1175,1177,1179,1181,1183],{"class":184,"line":399},[182,1170,507],{"class":230},[182,1172,1015],{"class":188},[182,1174,241],{"class":230},[182,1176,244],{"class":230},[182,1178,234],{"class":230},[182,1180,1024],{"class":192},[182,1182,241],{"class":230},[182,1184,336],{"class":230},[182,1186,1187,1189,1191,1193,1195,1197,1199,1201],{"class":184,"line":414},[182,1188,507],{"class":230},[182,1190,569],{"class":188},[182,1192,241],{"class":230},[182,1194,244],{"class":230},[182,1196,234],{"class":230},[182,1198,578],{"class":192},[182,1200,241],{"class":230},[182,1202,336],{"class":230},[182,1204,1205,1207,1210,1212,1214,1216,1219],{"class":184,"line":585},[182,1206,507],{"class":230},[182,1208,1209],{"class":188},"last_used_at",[182,1211,241],{"class":230},[182,1213,244],{"class":230},[182,1215,234],{"class":230},[182,1217,1218],{"class":192},"2026-08-20T09:14:32Z",[182,1220,304],{"class":230},[182,1222,1223],{"class":184,"line":600},[182,1224,603],{"class":230},[182,1226,1227],{"class":184,"line":606},[182,1228,609],{"class":230},[182,1230,1231],{"class":184,"line":612},[182,1232,417],{"class":230},[86,1234,1235,1236,135],{},"The secret is never returned after the mint response — only ",[90,1237,1015],{},[86,1239,1240],{},[101,1241,1242],{},"Revoke:",[172,1244,1246],{"className":174,"code":1245,"filename":176,"language":177,"meta":178,"style":178},"curl -X DELETE https:\u002F\u002Fapp.helloimg.io\u002Fportal\u002Faccount\u002Fwebsites\u002F7f3a1c92-6b4d-4e8f-9a21-5c6d7e8f9a0b\u002Fkeys\u002Fh4k2x9mq \\\n  -H \"Authorization: Bearer himg_acct_xxxxxxxx_************\"\n",[90,1247,1248,1261],{"__ignoreMap":178},[182,1249,1250,1252,1254,1256,1259],{"class":184,"line":185},[182,1251,284],{"class":188},[182,1253,631],{"class":192},[182,1255,860],{"class":192},[182,1257,1258],{"class":192}," https:\u002F\u002Fapp.helloimg.io\u002Fportal\u002Faccount\u002Fwebsites\u002F7f3a1c92-6b4d-4e8f-9a21-5c6d7e8f9a0b\u002Fkeys\u002Fh4k2x9mq",[182,1260,290],{"class":199},[182,1262,1263,1265,1267,1269],{"class":184,"line":293},[182,1264,296],{"class":192},[182,1266,234],{"class":230},[182,1268,301],{"class":192},[182,1270,304],{"class":230},[86,1272,1273,1275],{},[90,1274,826],{}," on success.",[260,1277,1279],{"id":1278},"usage","Usage",[172,1281,1283],{"className":266,"code":1282,"language":268,"meta":178,"style":178},"GET \u002Fusage\n",[90,1284,1285],{"__ignoreMap":178},[182,1286,1287],{"class":184,"line":185},[182,1288,1282],{},[172,1290,1292],{"className":174,"code":1291,"filename":176,"language":177,"meta":178,"style":178},"curl https:\u002F\u002Fapp.helloimg.io\u002Fportal\u002Faccount\u002Fusage \\\n  -H \"Authorization: Bearer himg_acct_xxxxxxxx_************\"\n",[90,1293,1294,1303],{"__ignoreMap":178},[182,1295,1296,1298,1301],{"class":184,"line":185},[182,1297,284],{"class":188},[182,1299,1300],{"class":192}," https:\u002F\u002Fapp.helloimg.io\u002Fportal\u002Faccount\u002Fusage",[182,1302,290],{"class":199},[182,1304,1305,1307,1309,1311],{"class":184,"line":293},[182,1306,296],{"class":192},[182,1308,234],{"class":230},[182,1310,301],{"class":192},[182,1312,304],{"class":230},[172,1314,1316],{"className":221,"code":1315,"language":223,"meta":178,"style":178},"{\n  \"plan\": \"reseller_ai\",\n  \"month\": \"2026-08\",\n  \"websites\": [\n    {\n      \"website_id\": \"7f3a1c92-6b4d-4e8f-9a21-5c6d7e8f9a0b\",\n      \"domain\": \"client-site.example.com\",\n      \"images\": 4213,\n      \"bytes_saved\": 891234567,\n      \"limit\": -1,\n      \"over_limit\": false\n    }\n  ]\n}\n",[90,1317,1318,1322,1340,1360,1372,1376,1395,1413,1429,1445,1461,1475,1480,1485],{"__ignoreMap":178},[182,1319,1320],{"class":184,"line":185},[182,1321,314],{"class":230},[182,1323,1324,1326,1328,1330,1332,1334,1336,1338],{"class":184,"line":293},[182,1325,319],{"class":230},[182,1327,365],{"class":237},[182,1329,241],{"class":230},[182,1331,244],{"class":230},[182,1333,234],{"class":230},[182,1335,374],{"class":192},[182,1337,241],{"class":230},[182,1339,336],{"class":230},[182,1341,1342,1344,1347,1349,1351,1353,1356,1358],{"class":184,"line":339},[182,1343,319],{"class":230},[182,1345,1346],{"class":237},"month",[182,1348,241],{"class":230},[182,1350,244],{"class":230},[182,1352,234],{"class":230},[182,1354,1355],{"class":192},"2026-08",[182,1357,241],{"class":230},[182,1359,336],{"class":230},[182,1361,1362,1364,1366,1368,1370],{"class":184,"line":360},[182,1363,319],{"class":230},[182,1365,420],{"class":237},[182,1367,241],{"class":230},[182,1369,244],{"class":230},[182,1371,497],{"class":230},[182,1373,1374],{"class":184,"line":381},[182,1375,502],{"class":230},[182,1377,1378,1380,1383,1385,1387,1389,1391,1393],{"class":184,"line":399},[182,1379,507],{"class":230},[182,1381,1382],{"class":188},"website_id",[182,1384,241],{"class":230},[182,1386,244],{"class":230},[182,1388,234],{"class":230},[182,1390,518],{"class":192},[182,1392,241],{"class":230},[182,1394,336],{"class":230},[182,1396,1397,1399,1401,1403,1405,1407,1409,1411],{"class":184,"line":414},[182,1398,507],{"class":230},[182,1400,529],{"class":188},[182,1402,241],{"class":230},[182,1404,244],{"class":230},[182,1406,234],{"class":230},[182,1408,538],{"class":192},[182,1410,241],{"class":230},[182,1412,336],{"class":230},[182,1414,1415,1417,1420,1422,1424,1427],{"class":184,"line":585},[182,1416,507],{"class":230},[182,1418,1419],{"class":188},"images",[182,1421,241],{"class":230},[182,1423,244],{"class":230},[182,1425,1426],{"class":393}," 4213",[182,1428,336],{"class":230},[182,1430,1431,1433,1436,1438,1440,1443],{"class":184,"line":600},[182,1432,507],{"class":230},[182,1434,1435],{"class":188},"bytes_saved",[182,1437,241],{"class":230},[182,1439,244],{"class":230},[182,1441,1442],{"class":393}," 891234567",[182,1444,336],{"class":230},[182,1446,1447,1449,1452,1454,1456,1459],{"class":184,"line":606},[182,1448,507],{"class":230},[182,1450,1451],{"class":188},"limit",[182,1453,241],{"class":230},[182,1455,244],{"class":230},[182,1457,1458],{"class":393}," -1",[182,1460,336],{"class":230},[182,1462,1463,1465,1468,1470,1472],{"class":184,"line":612},[182,1464,507],{"class":230},[182,1466,1467],{"class":188},"over_limit",[182,1469,241],{"class":230},[182,1471,244],{"class":230},[182,1473,1474],{"class":230}," false\n",[182,1476,1478],{"class":184,"line":1477},12,[182,1479,603],{"class":230},[182,1481,1483],{"class":184,"line":1482},13,[182,1484,609],{"class":230},[182,1486,1488],{"class":184,"line":1487},14,[182,1489,417],{"class":230},[86,1491,1492,1493,1495,1496,1498,1499,1501,1502,135],{},"Current calendar month, per website: images processed and bytes saved.\n",[90,1494,1451],{}," and ",[90,1497,1467],{}," are account-wide values repeated on every entry —\nReseller + AI carries no image cap, so ",[90,1500,1451],{}," is always ",[90,1503,1504],{},"-1",[119,1506,163],{"id":1507},"errors",[1509,1510,1511,1527],"table",{},[1512,1513,1514],"thead",{},[1515,1516,1517,1521,1524],"tr",{},[1518,1519,1520],"th",{},"Status",[1518,1522,1523],{},"Body",[1518,1525,1526],{},"Cause",[1528,1529,1530,1551,1573,1589,1609,1624,1638,1654,1669,1683,1697],"tbody",{},[1515,1531,1532,1537,1542],{},[1533,1534,1535],"td",{},[90,1536,757],{},[1533,1538,1539],{},[90,1540,1541],{},"{ \"error\": \"invalid json\" }",[1533,1543,1544,1545,1547,1548,135],{},"The request body isn't valid JSON, on ",[90,1546,840],{}," or ",[90,1549,1550],{},"POST \u002Fwebsites\u002F{id}\u002Fkeys",[1515,1552,1553,1557,1562],{},[1533,1554,1555],{},[90,1556,757],{},[1533,1558,1559],{},[90,1560,1561],{},"{ \"error\": \"invalid domain\" }",[1533,1563,1564,1566,1567,1569,1570,135],{},[90,1565,529],{}," isn't a valid hostname shape on ",[90,1568,840],{}," — see ",[106,1571,421],{"href":1572},"#websites",[1515,1574,1575,1579,1584],{},[1533,1576,1577],{},[90,1578,757],{},[1533,1580,1581],{},[90,1582,1583],{},"{ \"error\": \"name too long\" }",[1533,1585,1586,1588],{},[90,1587,549],{}," is over 200 characters, on a website or a key.",[1515,1590,1591,1595,1600],{},[1533,1592,1593],{},[90,1594,757],{},[1533,1596,1597],{},[90,1598,1599],{},"{ \"error\": \"name required\" }",[1533,1601,1602,1605,1606,1608],{},[90,1603,1604],{},"PATCH \u002Fwebsites\u002F{id}"," was called without a ",[90,1607,549],{}," field (or the body wasn't valid JSON).",[1515,1610,1611,1616,1621],{},[1533,1612,1613],{},[90,1614,1615],{},"401",[1533,1617,1618],{},[90,1619,1620],{},"{ \"error\": \"invalid account key\" }",[1533,1622,1623],{},"Missing, malformed, unknown, or revoked bearer key.",[1515,1625,1626,1630,1635],{},[1533,1627,1628],{},[90,1629,158],{},[1533,1631,1632],{},[90,1633,1634],{},"{ \"error\": \"reseller plan required\" }",[1533,1636,1637],{},"The account isn't flagged as a reseller, or isn't on the Reseller + AI plan.",[1515,1639,1640,1644,1649],{},[1533,1641,1642],{},[90,1643,158],{},[1533,1645,1646],{},[90,1647,1648],{},"{ \"error\": \"email verification required\" }",[1533,1650,1651,1652,135],{},"The account's email isn't verified yet — blocks minting a key on ",[90,1653,1550],{},[1515,1655,1656,1661,1666],{},[1533,1657,1658],{},[90,1659,1660],{},"404",[1533,1662,1663],{},[90,1664,1665],{},"{ \"error\": \"not found\" }",[1533,1667,1668],{},"The website or key doesn't exist, or belongs to a different account.",[1515,1670,1671,1675,1680],{},[1533,1672,1673],{},[90,1674,761],{},[1533,1676,1677],{},[90,1678,1679],{},"{ \"error\": \"website already registered\" }",[1533,1681,1682],{},"That domain is already on your account.",[1515,1684,1685,1689,1694],{},[1533,1686,1687],{},[90,1688,761],{},[1533,1690,1691],{},[90,1692,1693],{},"{ \"error\": \"two active keys already — revoke one before minting another\" }",[1533,1695,1696],{},"The target website already has 2 active keys.",[1515,1698,1699,1703,1708],{},[1533,1700,1701],{},[90,1702,217],{},[1533,1704,1705],{},[90,1706,1707],{},"{ \"error\": \"too many requests\" }",[1533,1709,1710,1711,1714],{},"Rate limit exceeded — retry after the ",[90,1712,1713],{},"Retry-After"," header.",[119,1716,1718],{"id":1717},"notes","Notes",[1720,1721,1722,1732,1742],"ul",{},[1723,1724,1725,1726,1728,1729,1731],"li",{},"The ",[90,1727,92],{}," website keys minted here are exactly what you configure\nin the ",[106,1730,1063],{"href":17}," WordPress plugin for\neach client site.",[1723,1733,1734,1735,1737,1738,1741],{},"Account keys (",[90,1736,141],{},") and website keys (",[90,1739,1740],{},"himg_live_...",") are not\ninterchangeable — an account key never works as an image-API key, and a\nwebsite key never authenticates against the Account API.",[1723,1743,1744,1745,1747],{},"Ownership errors always come back as ",[90,1746,1660],{},", whether the resource doesn't\nexist at all or just belongs to a different account.",[1749,1750,1751],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":178,"searchDepth":185,"depth":293,"links":1753},[1754,1755,1756,1762,1763],{"id":121,"depth":293,"text":122},{"id":166,"depth":293,"text":167},{"id":257,"depth":293,"text":258,"children":1757},[1758,1759,1760,1761],{"id":262,"depth":339,"text":263},{"id":420,"depth":339,"text":421},{"id":882,"depth":339,"text":883},{"id":1278,"depth":339,"text":1279},{"id":1507,"depth":293,"text":163},{"id":1717,"depth":293,"text":1718},"Full website and API key CRUD over a bearer-authenticated REST API, for agencies and resellers on the Reseller + AI plan.","md",null,{},{"icon":79},{"title":76,"description":1764},"LOQKi1lLvKYvZVX08zfWikx49_LpywD6E22KElifico",[1772,1766],{"title":71,"path":72,"stem":73,"description":1773,"icon":74,"children":-1},"POST \u002Fv1\u002Fai\u002Fbg-remove — send an image, get back a transparent PNG with the background removed.",1787466466329]