qiwei-endpoints.json 131 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222
  1. {
  2. "version": "0.2.0",
  3. "updatedAt": "2026-07-10",
  4. "source": "企业微信开放接口资料",
  5. "gateway": {
  6. "baseUrl": "https://server.fmode.cn/api/qiwei",
  7. "endpoint": "POST {baseUrl}/doApi",
  8. "auth": "Authorization: Bearer <Fmode token>",
  9. "envelope": "Fmode 网关请求信封:{\"uid\": \"<本地稳定设备标识>\", \"method\": \"<接口 method 路径>\", \"params\": {...}};企业微信接口访问凭据和设备上下文由 Fmode 网关管理。",
  10. "note": "所有业务请求均通过 Fmode 网关转发的企业微信接口执行。清单未登记的普通 JSON 接口可用 qiwei_api_call 传 rawMethod + params;登录和设备接口必须使用 qiwei_login_* 专用工具。"
  11. },
  12. "modules": [
  13. "client",
  14. "cloud",
  15. "contact",
  16. "label",
  17. "login",
  18. "msg",
  19. "room",
  20. "session",
  21. "sns",
  22. "user"
  23. ],
  24. "endpoints": [
  25. {
  26. "id": "room.openidToId",
  27. "module": "room",
  28. "title": "OpenID转Roomid",
  29. "summary": "OpenID转Roomid 将 OpenID 转换为 Roomid,用于群聊等场景下的用户标识映射。",
  30. "method": "/room/openidToId",
  31. "category": [
  32. "API参考",
  33. "客户管理",
  34. "群模块"
  35. ],
  36. "docFile": "OpenID转Roomid.md",
  37. "tags": [
  38. "群模块",
  39. "room",
  40. "OpenID转Roomid",
  41. "客户管理",
  42. "API参考"
  43. ],
  44. "params": [
  45. {
  46. "name": "guid",
  47. "in": "body",
  48. "type": "string",
  49. "required": true,
  50. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  51. },
  52. {
  53. "name": "openRoomId",
  54. "in": "body",
  55. "type": "string",
  56. "required": true,
  57. "desc": "群openid。单个查询"
  58. },
  59. {
  60. "name": "openRoomIdList",
  61. "in": "body",
  62. "type": "array",
  63. "required": true,
  64. "desc": "群openid列表。批量查询(当单个查询时,批量查询不会生效,只能任选其一)"
  65. },
  66. {
  67. "name": "corpAgentId",
  68. "in": "body",
  69. "type": "string",
  70. "required": true,
  71. "desc": "企业应用id,请从企业模块-企业应用相关API中获取"
  72. }
  73. ],
  74. "responseHint": "data 字段:roomId(目标群聊 ID,可通过群分页或群详情接口获取 roomId);roomIdList(群Id列表)"
  75. },
  76. {
  77. "id": "contact.openidToId",
  78. "module": "contact",
  79. "title": "Openid转Userid",
  80. "summary": "Openid转Userid • OpenID:就是官方API的 external_userid(客户的唯一身份证)",
  81. "method": "/contact/openidToId",
  82. "category": [
  83. "API参考",
  84. "客户管理",
  85. "联系人模块"
  86. ],
  87. "docFile": "Openid转Userid.md",
  88. "tags": [
  89. "contact",
  90. "Openid转Userid",
  91. "联系人模块",
  92. "客户管理",
  93. "API参考"
  94. ],
  95. "params": [
  96. {
  97. "name": "guid",
  98. "in": "body",
  99. "type": "string",
  100. "required": true,
  101. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  102. },
  103. {
  104. "name": "openIdList",
  105. "in": "body",
  106. "type": "array",
  107. "required": true,
  108. "desc": "用户openid"
  109. },
  110. {
  111. "name": "openPartyIdList",
  112. "in": "body",
  113. "type": "array",
  114. "required": true,
  115. "desc": "部门openid"
  116. },
  117. {
  118. "name": "corpAgentId",
  119. "in": "body",
  120. "type": "string",
  121. "required": true,
  122. "desc": "企业应用id,请从企业模块-企业应用相关API中获取"
  123. }
  124. ],
  125. "responseHint": "data 字段:vid2UserIdList(Vid2用户Id列表);partyId2OpenPartyIdList(PartyId2OpenPartyId列表);vid2OpenIdList(Vid2OpenId列表)"
  126. },
  127. {
  128. "id": "room.openid",
  129. "module": "room",
  130. "title": "Roomid转OpenID",
  131. "summary": "Roomid转OpenID 将 Roomid 转换为 OpenID,用于跨场景的用户标识映射。",
  132. "method": "/room/openid",
  133. "category": [
  134. "API参考",
  135. "客户管理",
  136. "群模块"
  137. ],
  138. "docFile": "Roomid转OpenID.md",
  139. "tags": [
  140. "群模块",
  141. "room",
  142. "Roomid转OpenID",
  143. "客户管理",
  144. "API参考"
  145. ],
  146. "params": [
  147. {
  148. "name": "guid",
  149. "in": "body",
  150. "type": "string",
  151. "required": true,
  152. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  153. },
  154. {
  155. "name": "roomId",
  156. "in": "body",
  157. "type": "string",
  158. "required": true,
  159. "desc": "群聊 ID。"
  160. },
  161. {
  162. "name": "corpAgentId",
  163. "in": "body",
  164. "type": "string",
  165. "required": true,
  166. "desc": "请从企业模块-企业应用相关API中获取"
  167. }
  168. ],
  169. "responseHint": "data 字段:openRoomId(Open群Id)"
  170. },
  171. {
  172. "id": "contact.openid",
  173. "module": "contact",
  174. "title": "Userid转Openid",
  175. "summary": "Userid转Openid OpenID:就是官方API的 external_userid(客户的唯一身份证)",
  176. "method": "/contact/openid",
  177. "category": [
  178. "API参考",
  179. "客户管理",
  180. "联系人模块"
  181. ],
  182. "docFile": "Userid转Openid.md",
  183. "tags": [
  184. "contact",
  185. "联系人模块",
  186. "Userid转Openid",
  187. "客户管理",
  188. "API参考"
  189. ],
  190. "params": [
  191. {
  192. "name": "guid",
  193. "in": "body",
  194. "type": "string",
  195. "required": true,
  196. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  197. },
  198. {
  199. "name": "userIdList",
  200. "in": "body",
  201. "type": "array",
  202. "required": true,
  203. "desc": "用户id列表"
  204. },
  205. {
  206. "name": "corpAgentId",
  207. "in": "body",
  208. "type": "string",
  209. "required": true,
  210. "desc": "请从企业模块-企业应用相关API中获取"
  211. }
  212. ],
  213. "responseHint": "data 字段:openUserList(Open用户列表)"
  214. },
  215. {
  216. "id": "msg.syncCollectionMsg",
  217. "module": "msg",
  218. "title": "个人收藏-分页",
  219. "summary": "个人收藏-分页 • 接口返回结果包含 表情收藏列表 和 消息收藏列表 。",
  220. "method": "/msg/syncCollectionMsg",
  221. "category": [
  222. "API参考",
  223. "基础能力",
  224. "个人模块"
  225. ],
  226. "docFile": "个人收藏-分页.md",
  227. "tags": [
  228. "基础能力",
  229. "个人收藏-分页",
  230. "msg",
  231. "个人模块",
  232. "API参考"
  233. ],
  234. "params": [
  235. {
  236. "name": "guid",
  237. "in": "body",
  238. "type": "string",
  239. "required": true,
  240. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  241. },
  242. {
  243. "name": "msgSeq",
  244. "in": "body",
  245. "type": "integer",
  246. "required": true,
  247. "desc": "分页使用,首次传0,下次传入返回值seq"
  248. },
  249. {
  250. "name": "limit",
  251. "in": "body",
  252. "type": "integer",
  253. "required": true,
  254. "desc": "每页数量"
  255. }
  256. ],
  257. "responseHint": "data 字段:lastSeq(最后序号);list(列表)"
  258. },
  259. {
  260. "id": "msg.insertCollectionMsg",
  261. "module": "msg",
  262. "title": "个人收藏-添加GIF表情",
  263. "summary": "个人收藏-添加GIF表情 提示: 上传表情文件时,单文件大小不允许超过 1MB ,超出限制会导致添加失败",
  264. "method": "/msg/insertCollectionMsg",
  265. "category": [
  266. "API参考",
  267. "基础能力",
  268. "个人模块"
  269. ],
  270. "docFile": "个人收藏-添加GIF表情.md",
  271. "tags": [
  272. "基础能力",
  273. "个人收藏-添加GIF表情",
  274. "msg",
  275. "个人模块",
  276. "API参考"
  277. ],
  278. "params": [
  279. {
  280. "name": "guid",
  281. "in": "body",
  282. "type": "string",
  283. "required": true,
  284. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  285. },
  286. {
  287. "name": "msgData",
  288. "in": "body",
  289. "type": "object",
  290. "required": true,
  291. "desc": "消息数据",
  292. "children": [
  293. {
  294. "name": "fileMd5",
  295. "in": "body",
  296. "type": "string",
  297. "required": true,
  298. "desc": "图片md5"
  299. },
  300. {
  301. "name": "fileHttpUrl",
  302. "in": "body",
  303. "type": "string",
  304. "required": true,
  305. "desc": "接口详情见: 文件CDN转URL"
  306. }
  307. ]
  308. },
  309. {
  310. "name": "type",
  311. "in": "body",
  312. "type": "integer",
  313. "required": true,
  314. "desc": "类型编号。"
  315. }
  316. ]
  317. },
  318. {
  319. "id": "label.editLabel",
  320. "module": "label",
  321. "title": "个人标签-增删改",
  322. "summary": "个人标签-增删改 对个人标签进行新增、修改或删除操作。",
  323. "method": "/label/editLabel",
  324. "category": [
  325. "API参考",
  326. "客户管理",
  327. "标签模块"
  328. ],
  329. "docFile": "个人标签-增删改.md",
  330. "tags": [
  331. "label",
  332. "标签模块",
  333. "个人标签-增删改",
  334. "客户管理",
  335. "API参考"
  336. ],
  337. "params": [
  338. {
  339. "name": "guid",
  340. "in": "body",
  341. "type": "string",
  342. "required": true,
  343. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  344. },
  345. {
  346. "name": "opType",
  347. "in": "body",
  348. "type": "integer",
  349. "required": true,
  350. "desc": "1 新建标签, 此时必须设置 labelName 和 labelSuperId;2 删除标签,此时必须设置 labelId;3 修改标签, 此时必须设置 labelId 和 labelName,labelSuperId;"
  351. },
  352. {
  353. "name": "paramList",
  354. "in": "body",
  355. "type": "array",
  356. "required": true,
  357. "desc": "Param列表",
  358. "children": [
  359. {
  360. "name": "labelId",
  361. "in": "body",
  362. "type": "string",
  363. "required": false,
  364. "desc": "标签ID"
  365. },
  366. {
  367. "name": "labelSuperId",
  368. "in": "body",
  369. "type": "string",
  370. "required": false,
  371. "desc": "个人标签所属的分组ID"
  372. },
  373. {
  374. "name": "labelName",
  375. "in": "body",
  376. "type": "string",
  377. "required": false,
  378. "desc": "标签名称"
  379. }
  380. ]
  381. }
  382. ]
  383. },
  384. {
  385. "id": "cloud.wxDownload",
  386. "module": "cloud",
  387. "title": "个微文件下载",
  388. "summary": "个微文件下载 - 下载地址为临时云资源,非官方CDN,7–15天不定期清理,请及时下载。",
  389. "method": "/cloud/wxDownload",
  390. "category": [
  391. "API参考",
  392. "媒体与运营",
  393. "文件与媒体(下载",
  394. "上传)"
  395. ],
  396. "docFile": "个微文件下载.md",
  397. "tags": [
  398. "个微文件下载",
  399. "文件与媒体(下载",
  400. "上传)",
  401. "cloud",
  402. "媒体与运营",
  403. "API参考"
  404. ],
  405. "params": [
  406. {
  407. "name": "guid",
  408. "in": "body",
  409. "type": "string",
  410. "required": true,
  411. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  412. },
  413. {
  414. "name": "fileAeskey",
  415. "in": "body",
  416. "type": "string",
  417. "required": true,
  418. "desc": "文件Aeskey"
  419. },
  420. {
  421. "name": "fileAuthkey",
  422. "in": "body",
  423. "type": "string",
  424. "required": true,
  425. "desc": "文件Authkey"
  426. },
  427. {
  428. "name": "fileSize",
  429. "in": "body",
  430. "type": "integer",
  431. "required": true,
  432. "desc": "文件大小"
  433. },
  434. {
  435. "name": "fileType",
  436. "in": "body",
  437. "type": "integer",
  438. "required": true,
  439. "desc": "1: 大图. 如果【接收图片消息】中的字段 image_has_hd=1,或者fileBigHttpUrl有值, 则可以使用这个type下载2: 小图. 如果image_has_hd=0,或者fileMiddleHttpUrl有值, 则应该用这个type下载3: 视频/图片缩略图,对应thumb这个字段4: 视频5: 文件/语音文件"
  440. },
  441. {
  442. "name": "fileUrl",
  443. "in": "body",
  444. "type": "string",
  445. "required": true,
  446. "desc": "文件链接"
  447. }
  448. ],
  449. "responseHint": "data 字段:cloudUrl(云端文件地址。)"
  450. },
  451. {
  452. "id": "cloud.wxDownloadAsync",
  453. "module": "cloud",
  454. "title": "个微文件异步下载",
  455. "summary": "个微文件异步下载 - 下载地址为临时云资源,非官方CDN,7–15天不定期清理,请及时下载。• 异步下载结果通过回调通知,详情查阅回调结构说明中的 API 异步消息响应。• 根据回调返回的 requestId 值查询,requestId 一致即为对应下载结果。",
  456. "method": "/cloud/wxDownloadAsync",
  457. "category": [
  458. "API参考",
  459. "媒体与运营",
  460. "文件与媒体(下载",
  461. "上传)"
  462. ],
  463. "docFile": "个微文件异步下载.md",
  464. "tags": [
  465. "文件与媒体(下载",
  466. "上传)",
  467. "个微文件异步下载",
  468. "cloud",
  469. "媒体与运营",
  470. "API参考"
  471. ],
  472. "params": [
  473. {
  474. "name": "guid",
  475. "in": "body",
  476. "type": "string",
  477. "required": true,
  478. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  479. },
  480. {
  481. "name": "fileAeskey",
  482. "in": "body",
  483. "type": "string",
  484. "required": true,
  485. "desc": "文件Aeskey"
  486. },
  487. {
  488. "name": "fileAuthkey",
  489. "in": "body",
  490. "type": "string",
  491. "required": true,
  492. "desc": "文件Authkey"
  493. },
  494. {
  495. "name": "fileSize",
  496. "in": "body",
  497. "type": "integer",
  498. "required": true,
  499. "desc": "文件大小"
  500. },
  501. {
  502. "name": "fileType",
  503. "in": "body",
  504. "type": "integer",
  505. "required": true,
  506. "desc": "1: 大图. 如果【接收图片消息】中的字段 image_has_hd=1,或者fileBigHttpUrl有值, 则可以使用这个type下载2: 小图. 如果image_has_hd=0,或者fileMiddleHttpUrl有值, 则应该用这个type下载3: 视频/图片缩略图,对应thumb这个字段4: 视频5: 文件/语音文件"
  507. },
  508. {
  509. "name": "fileUrl",
  510. "in": "body",
  511. "type": "string",
  512. "required": true,
  513. "desc": "文件链接"
  514. }
  515. ],
  516. "responseHint": "data 字段:requestId(请使用requestId 去消息回调中获取文件地址)"
  517. },
  518. {
  519. "id": "login.verifyLoginQrcode",
  520. "module": "login",
  521. "title": "二维码-code验证(步骤4)",
  522. "summary": "二维码-code验证收到 6 位验证码后,调用本接口完成校验。 收到6位数验证码,执行此接口验证• 验证码校验成功后,必须再次调用 二维码状态-检测(步骤3) 接口,此时状态码将变为 Status=2,代表登录成功。",
  523. "method": "/login/verifyLoginQrcode",
  524. "category": [
  525. "API参考",
  526. "基础能力",
  527. "登录模块"
  528. ],
  529. "docFile": "二维码-code验证(步骤4).md",
  530. "tags": [
  531. "基础能力",
  532. "二维码-code验证(步骤4)",
  533. "登录模块",
  534. "login",
  535. "API参考"
  536. ],
  537. "params": [
  538. {
  539. "name": "guid",
  540. "in": "body",
  541. "type": "string",
  542. "required": true,
  543. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  544. },
  545. {
  546. "name": "code",
  547. "in": "body",
  548. "type": "string",
  549. "required": true,
  550. "desc": "手机端 6 位验证码。"
  551. }
  552. ]
  553. },
  554. {
  555. "id": "login.getLoginQrcode",
  556. "module": "login",
  557. "title": "二维码-获取(步骤2)",
  558. "summary": "二维码-获取 获取登录二维码及 loginQrcodeKey,供手机企微扫码完成设备绑定。 • 首次登录:请使用参数 useCache=false,获取全新二维码。 • 旧设备异常:提示设备不存在/不在线时,先调用恢复设备接口,再获取二维码。 • 恢复设备后:请使用参数 useCache=true,获取缓存二维码。",
  559. "method": "/login/getLoginQrcode",
  560. "category": [
  561. "API参考",
  562. "基础能力",
  563. "登录模块"
  564. ],
  565. "docFile": "二维码-获取(步骤2).md",
  566. "tags": [
  567. "基础能力",
  568. "登录模块",
  569. "login",
  570. "二维码-获取(步骤2)",
  571. "API参考"
  572. ],
  573. "params": [
  574. {
  575. "name": "guid",
  576. "in": "body",
  577. "type": "string",
  578. "required": true,
  579. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  580. },
  581. {
  582. "name": "useCache",
  583. "in": "body",
  584. "type": "boolean",
  585. "required": true,
  586. "desc": "是否使用缓存二维码,首次登录传 false。"
  587. }
  588. ],
  589. "responseHint": "data 字段:loginQrcodeBase64Data(二维码 Base64 图片。);loginQrcodeKey(二维码key)"
  590. },
  591. {
  592. "id": "login.checkLoginQrCode",
  593. "module": "login",
  594. "title": "二维码状态-检测(步骤3)",
  595. "summary": "二维码状态-检测 获取二维码后,需轮询调用本接口,实时获取用户的扫码进度。 核心逻辑 • 请求频率:建议轮询间隔 2-3 秒,避免请求过于频繁。 • 生命周期:从“获取二维码”开始,到“登录成功/失败”结束。超时将报错。",
  596. "method": "/login/checkLoginQrCode",
  597. "category": [
  598. "API参考",
  599. "基础能力",
  600. "登录模块"
  601. ],
  602. "docFile": "二维码状态-检测(步骤3).md",
  603. "tags": [
  604. "基础能力",
  605. "登录模块",
  606. "二维码状态-检测(步骤3)",
  607. "login",
  608. "API参考"
  609. ],
  610. "params": [
  611. {
  612. "name": "guid",
  613. "in": "body",
  614. "type": "string",
  615. "required": true,
  616. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  617. }
  618. ],
  619. "responseHint": "data 字段:corpId(企业 ID。);corpLogo(企业 Logo URL。);loginQrcodeKey(二维码 Key);loginQrcodeStatus(扫码状态:-1 未登陆,需要扫码登陆 · 0 未登陆,可免扫码登陆 · 1 已扫码待确认 · 2 登陆成功 · 4 用户取消登陆 · 10 已扫码确认,待检测6位验证码);nickname(昵称);userId(用户id);avatarUrl(头像 URL。)"
  620. },
  621. {
  622. "id": "cloud.cdnBigFileUploadByUrlAsync",
  623. "module": "cloud",
  624. "title": "企微大文件异步上传",
  625. "summary": "企微大文件异步上传 - 异步上传结果通过回调通知,详情查阅回调结构说明中的 API 异步消息响应。• 根据回调返回的 requestId 值查询,requestId 一致即为对应上传结果。",
  626. "method": "/cloud/cdnBigFileUploadByUrlAsync",
  627. "category": [
  628. "API参考",
  629. "媒体与运营",
  630. "文件与媒体(下载",
  631. "上传)"
  632. ],
  633. "docFile": "企微大文件异步上传.md",
  634. "tags": [
  635. "文件与媒体(下载",
  636. "企微大文件异步上传",
  637. "上传)",
  638. "cloud",
  639. "媒体与运营",
  640. "API参考"
  641. ],
  642. "params": [
  643. {
  644. "name": "guid",
  645. "in": "body",
  646. "type": "string",
  647. "required": true
  648. },
  649. {
  650. "name": "filename",
  651. "in": "body",
  652. "type": "string",
  653. "required": true
  654. },
  655. {
  656. "name": "fileUrl",
  657. "in": "body",
  658. "type": "string",
  659. "required": true
  660. },
  661. {
  662. "name": "fileType",
  663. "in": "body",
  664. "type": "integer",
  665. "required": true,
  666. "desc": "22大视频 35文件"
  667. }
  668. ],
  669. "responseHint": "data 字段:requestId(请求Id)"
  670. },
  671. {
  672. "id": "cloud.wxWorkDownload",
  673. "module": "cloud",
  674. "title": "企微文件下载",
  675. "summary": "企微文件下载 - 下载地址为临时云资源,非官方CDN,7–15天不定期清理,请及时下载。",
  676. "method": "/cloud/wxWorkDownload",
  677. "category": [
  678. "API参考",
  679. "媒体与运营",
  680. "文件与媒体(下载",
  681. "上传)"
  682. ],
  683. "docFile": "企微文件下载.md",
  684. "tags": [
  685. "文件与媒体(下载",
  686. "企微文件下载",
  687. "上传)",
  688. "cloud",
  689. "媒体与运营",
  690. "API参考"
  691. ],
  692. "params": [
  693. {
  694. "name": "guid",
  695. "in": "body",
  696. "type": "string",
  697. "required": true,
  698. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  699. },
  700. {
  701. "name": "fileAeskey",
  702. "in": "body",
  703. "type": "string",
  704. "required": true,
  705. "desc": "文件Aeskey"
  706. },
  707. {
  708. "name": "fileId",
  709. "in": "body",
  710. "type": "string",
  711. "required": true,
  712. "desc": "文件 ID"
  713. },
  714. {
  715. "name": "fileSize",
  716. "in": "body",
  717. "type": "integer",
  718. "required": true,
  719. "desc": "文件大小"
  720. },
  721. {
  722. "name": "fileType",
  723. "in": "body",
  724. "type": "integer",
  725. "required": true,
  726. "desc": "文件类型编号。"
  727. }
  728. ],
  729. "responseHint": "data 字段:cloudUrl(云端文件地址。)"
  730. },
  731. {
  732. "id": "cloud.cdnUploadByUrlAsync",
  733. "module": "cloud",
  734. "title": "企微文件异步上传",
  735. "summary": "企微文件异步上传 - 异步上传结果通过回调通知,详情查阅回调结构说明中的 API 异步消息响应。• 根据回调返回的 requestId 值查询,requestId 一致即为对应上传结果。",
  736. "method": "/cloud/cdnUploadByUrlAsync",
  737. "category": [
  738. "API参考",
  739. "媒体与运营",
  740. "文件与媒体(下载",
  741. "上传)"
  742. ],
  743. "docFile": "企微文件异步上传.md",
  744. "tags": [
  745. "文件与媒体(下载",
  746. "企微文件异步上传",
  747. "上传)",
  748. "cloud",
  749. "媒体与运营",
  750. "API参考"
  751. ],
  752. "params": [
  753. {
  754. "name": "guid",
  755. "in": "body",
  756. "type": "string",
  757. "required": true,
  758. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  759. },
  760. {
  761. "name": "filename",
  762. "in": "body",
  763. "type": "string",
  764. "required": true,
  765. "desc": "文件名称"
  766. },
  767. {
  768. "name": "fileUrl",
  769. "in": "body",
  770. "type": "string",
  771. "required": true,
  772. "desc": "文件url地址"
  773. },
  774. {
  775. "name": "fileType",
  776. "in": "body",
  777. "type": "integer",
  778. "required": true,
  779. "desc": "1: jpg图片4: mp4视频5: 文件(也包括语音silk文件)"
  780. }
  781. ],
  782. "responseHint": "data 字段:requestId(请求Id)"
  783. },
  784. {
  785. "id": "cloud.wxWorkDownloadAsync",
  786. "module": "cloud",
  787. "title": "企微文件异步下载",
  788. "summary": "企微文件异步下载 - 下载地址为临时云资源,非官方CDN,7–15天不定期清理,请及时下载。• 异步下载结果通过回调通知,详情查阅回调结构说明中的 API 异步消息响应。• 根据回调返回的 requestId 值查询,requestId 一致即为对应下载结果。",
  789. "method": "/cloud/wxWorkDownloadAsync",
  790. "category": [
  791. "API参考",
  792. "媒体与运营",
  793. "文件与媒体(下载",
  794. "上传)"
  795. ],
  796. "docFile": "企微文件异步下载.md",
  797. "tags": [
  798. "文件与媒体(下载",
  799. "企微文件异步下载",
  800. "上传)",
  801. "cloud",
  802. "媒体与运营",
  803. "API参考"
  804. ],
  805. "params": [
  806. {
  807. "name": "guid",
  808. "in": "body",
  809. "type": "string",
  810. "required": true,
  811. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  812. },
  813. {
  814. "name": "fileAeskey",
  815. "in": "body",
  816. "type": "string",
  817. "required": true,
  818. "desc": "文件Aeskey"
  819. },
  820. {
  821. "name": "fileId",
  822. "in": "body",
  823. "type": "string",
  824. "required": true,
  825. "desc": "文件 ID"
  826. },
  827. {
  828. "name": "fileSize",
  829. "in": "body",
  830. "type": "integer",
  831. "required": true,
  832. "desc": "文件大小"
  833. },
  834. {
  835. "name": "fileType",
  836. "in": "body",
  837. "type": "integer",
  838. "required": true,
  839. "desc": "1: 大图. 如果【接收图片消息】中的字段 image_has_hd=1, 则可以使用这个type下载2: 小图. 如果image_has_hd=0, 则应该用这个type下载3: 视频/图片缩略图,对应thumb这个字段4: 视频5: 文件/语音文件"
  840. }
  841. ],
  842. "responseHint": "data 字段:requestId(请使用requestId 去消息回调中获取文件地址)"
  843. },
  844. {
  845. "id": "session.getSessionPage",
  846. "module": "session",
  847. "title": "会话分页",
  848. "summary": "会话分页 分页查询会话列表,包含单聊与群聊会话。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  849. "method": "/session/getSessionPage",
  850. "category": [
  851. "API参考",
  852. "会话与消息",
  853. "会话模块"
  854. ],
  855. "docFile": "会话分页.md",
  856. "tags": [
  857. "会话与消息",
  858. "会话模块",
  859. "session",
  860. "会话分页",
  861. "API参考"
  862. ],
  863. "params": [
  864. {
  865. "name": "guid",
  866. "in": "body",
  867. "type": "string",
  868. "required": true,
  869. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  870. },
  871. {
  872. "name": "currentSeq",
  873. "in": "body",
  874. "type": "integer",
  875. "required": true,
  876. "desc": "暂时不支持。分页使用,首次传0,下次传入返回值currentSeq"
  877. }
  878. ],
  879. "responseHint": "data 字段:currentSeq(下次请求时应传入的currentSeq);hasMore(是否有更多);sessionCount(会话数量);sessionList(会话列表)"
  880. },
  881. {
  882. "id": "session.getSessionList",
  883. "module": "session",
  884. "title": "会话组-查询",
  885. "summary": "会话组-查询 查询会话分组列表及每个分组下的会话归属。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  886. "method": "/session/getSessionList",
  887. "category": [
  888. "API参考",
  889. "会话与消息",
  890. "会话模块"
  891. ],
  892. "docFile": "会话组-查询.md",
  893. "tags": [
  894. "会话与消息",
  895. "会话模块",
  896. "session",
  897. "会话组-查询",
  898. "API参考"
  899. ],
  900. "params": [
  901. {
  902. "name": "guid",
  903. "in": "body",
  904. "type": "string",
  905. "required": true,
  906. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  907. }
  908. ],
  909. "responseHint": "data 字段:collectList(通讯录列表);shieldList(免打扰列表);topList(置顶列表);markList(标记列表)"
  910. },
  911. {
  912. "id": "session.setSessionCmd",
  913. "module": "session",
  914. "title": "会话组-编辑",
  915. "summary": "会话组-编辑 创建、修改或删除会话分组,整理会话列表结构。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  916. "method": "/session/setSessionCmd",
  917. "category": [
  918. "API参考",
  919. "会话与消息",
  920. "会话模块"
  921. ],
  922. "docFile": "会话组-编辑.md",
  923. "tags": [
  924. "会话与消息",
  925. "会话组-编辑",
  926. "会话模块",
  927. "session",
  928. "API参考"
  929. ],
  930. "params": [
  931. {
  932. "name": "guid",
  933. "in": "body",
  934. "type": "string",
  935. "required": true,
  936. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  937. },
  938. {
  939. "name": "chatId",
  940. "in": "body",
  941. "type": "string",
  942. "required": true,
  943. "desc": "会话id"
  944. },
  945. {
  946. "name": "chatType",
  947. "in": "body",
  948. "type": "integer",
  949. "required": true,
  950. "desc": "1: 置顶 2: 取消置顶 3: 开启免打扰 4: 取消免打扰 5: 保存群聊到通讯录 6: 从通讯录移除群聊 7: 标记 8:取消标记"
  951. }
  952. ]
  953. },
  954. {
  955. "id": "msg.statusModify",
  956. "module": "msg",
  957. "title": "修改消息状态",
  958. "summary": "修改消息状态 批量查询朋友圈动态的详细内容,包括图片、视频与互动信息。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  959. "method": "/msg/statusModify",
  960. "category": [
  961. "API参考",
  962. "会话与消息",
  963. "消息模块 "
  964. ],
  965. "docFile": "修改消息状态.md",
  966. "tags": [
  967. "修改消息状态",
  968. "会话与消息",
  969. "msg",
  970. "消息模块 ",
  971. "API参考"
  972. ],
  973. "params": [
  974. {
  975. "name": "guid",
  976. "in": "body",
  977. "type": "string",
  978. "required": true,
  979. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  980. },
  981. {
  982. "name": "chatId",
  983. "in": "body",
  984. "type": "string",
  985. "required": true,
  986. "desc": "会话id,=sessionId"
  987. },
  988. {
  989. "name": "modifyType",
  990. "in": "body",
  991. "type": "integer",
  992. "required": true,
  993. "desc": "1: 标记为已读 2: 标记为未读 3: 清空聊天记录 4: 从聊天列表删除该聊天"
  994. }
  995. ]
  996. },
  997. {
  998. "id": "room.modifyRoomNotice",
  999. "module": "room",
  1000. "title": "修改群公告",
  1001. "summary": "修改群公告 修改指定群聊的公告内容。",
  1002. "method": "/room/modifyRoomNotice",
  1003. "category": [
  1004. "API参考",
  1005. "客户管理",
  1006. "群模块"
  1007. ],
  1008. "docFile": "修改群公告.md",
  1009. "tags": [
  1010. "修改群公告",
  1011. "群模块",
  1012. "room",
  1013. "客户管理",
  1014. "API参考"
  1015. ],
  1016. "params": [
  1017. {
  1018. "name": "guid",
  1019. "in": "body",
  1020. "type": "string",
  1021. "required": true,
  1022. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  1023. },
  1024. {
  1025. "name": "roomId",
  1026. "in": "body",
  1027. "type": "string",
  1028. "required": true,
  1029. "desc": "群聊 ID。"
  1030. },
  1031. {
  1032. "name": "notice",
  1033. "in": "body",
  1034. "type": "string",
  1035. "required": true,
  1036. "desc": "群公告。"
  1037. }
  1038. ]
  1039. },
  1040. {
  1041. "id": "room.modifyRoomNickname",
  1042. "module": "room",
  1043. "title": "修改群内昵称",
  1044. "summary": "修改群内昵称 修改当前账号在指定群内的显示昵称。",
  1045. "method": "/room/modifyRoomNickname",
  1046. "category": [
  1047. "API参考",
  1048. "客户管理",
  1049. "群模块"
  1050. ],
  1051. "docFile": "修改群内昵称.md",
  1052. "tags": [
  1053. "群模块",
  1054. "room",
  1055. "修改群内昵称",
  1056. "客户管理",
  1057. "API参考"
  1058. ],
  1059. "params": [
  1060. {
  1061. "name": "guid",
  1062. "in": "body",
  1063. "type": "string",
  1064. "required": true,
  1065. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  1066. },
  1067. {
  1068. "name": "roomId",
  1069. "in": "body",
  1070. "type": "string",
  1071. "required": true,
  1072. "desc": "群聊 ID。"
  1073. },
  1074. {
  1075. "name": "nickname",
  1076. "in": "body",
  1077. "type": "string",
  1078. "required": true,
  1079. "desc": "用户昵称。"
  1080. }
  1081. ]
  1082. },
  1083. {
  1084. "id": "room.modifyRoomName",
  1085. "module": "room",
  1086. "title": "修改群名称",
  1087. "summary": "修改群名称 修改指定群聊的名称。",
  1088. "method": "/room/modifyRoomName",
  1089. "category": [
  1090. "API参考",
  1091. "客户管理",
  1092. "群模块"
  1093. ],
  1094. "docFile": "修改群名称.md",
  1095. "tags": [
  1096. "群模块",
  1097. "room",
  1098. "客户管理",
  1099. "修改群名称",
  1100. "API参考"
  1101. ],
  1102. "params": [
  1103. {
  1104. "name": "guid",
  1105. "in": "body",
  1106. "type": "string",
  1107. "required": true,
  1108. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  1109. },
  1110. {
  1111. "name": "roomId",
  1112. "in": "body",
  1113. "type": "string",
  1114. "required": true,
  1115. "desc": "群聊 ID。"
  1116. },
  1117. {
  1118. "name": "name",
  1119. "in": "body",
  1120. "type": "string",
  1121. "required": true,
  1122. "desc": "名称"
  1123. }
  1124. ]
  1125. },
  1126. {
  1127. "id": "room.modifyRoomRemarkName",
  1128. "module": "room",
  1129. "title": "修改群备注",
  1130. "summary": "修改群备注 群备注仅自己可见",
  1131. "method": "/room/modifyRoomRemarkName",
  1132. "category": [
  1133. "API参考",
  1134. "客户管理",
  1135. "群模块"
  1136. ],
  1137. "docFile": "修改群备注.md",
  1138. "tags": [
  1139. "群模块",
  1140. "room",
  1141. "修改群备注",
  1142. "客户管理",
  1143. "API参考"
  1144. ],
  1145. "params": [
  1146. {
  1147. "name": "guid",
  1148. "in": "body",
  1149. "type": "string",
  1150. "required": true,
  1151. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  1152. },
  1153. {
  1154. "name": "roomId",
  1155. "in": "body",
  1156. "type": "string",
  1157. "required": true,
  1158. "desc": "群聊 ID。"
  1159. },
  1160. {
  1161. "name": "remarkName",
  1162. "in": "body",
  1163. "type": "string",
  1164. "required": true,
  1165. "desc": "备注名称"
  1166. }
  1167. ]
  1168. },
  1169. {
  1170. "id": "client.stopClient",
  1171. "module": "client",
  1172. "title": "停用设备",
  1173. "summary": "停用设备 设备切换 如需更换新设备或重新开始流程,请遵循 “先停再建” 原则:• 第一步:停用设备 调用「停用设备」接口,释放当前占用的资源。• 第二步:创建设备 调用 创建设备(步骤1) 接口,初始化全新的设备环境。",
  1174. "method": "/client/stopClient",
  1175. "category": [
  1176. "API参考",
  1177. "基础能力",
  1178. "登录模块"
  1179. ],
  1180. "docFile": "停用设备.md",
  1181. "tags": [
  1182. "基础能力",
  1183. "登录模块",
  1184. "client",
  1185. "停用设备",
  1186. "API参考"
  1187. ],
  1188. "params": [
  1189. {
  1190. "name": "guid",
  1191. "in": "body",
  1192. "type": "string",
  1193. "required": true,
  1194. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  1195. }
  1196. ]
  1197. },
  1198. {
  1199. "id": "contact.updateWxWorkContact",
  1200. "module": "contact",
  1201. "title": "内部联系人信息-更新",
  1202. "summary": "内部联系人信息-更新 更新内部联系人的备注等资料信息。",
  1203. "method": "/contact/updateWxWorkContact",
  1204. "category": [
  1205. "API参考",
  1206. "客户管理",
  1207. "联系人模块"
  1208. ],
  1209. "docFile": "内部联系人信息-更新.md",
  1210. "tags": [
  1211. "contact",
  1212. "联系人模块",
  1213. "客户管理",
  1214. "内部联系人信息-更新",
  1215. "API参考"
  1216. ],
  1217. "params": [
  1218. {
  1219. "name": "guid",
  1220. "in": "body",
  1221. "type": "string",
  1222. "required": true,
  1223. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  1224. },
  1225. {
  1226. "name": "userId",
  1227. "in": "body",
  1228. "type": "string",
  1229. "required": true,
  1230. "desc": "用户id"
  1231. },
  1232. {
  1233. "name": "remark",
  1234. "in": "body",
  1235. "type": "string",
  1236. "required": true,
  1237. "desc": "备注名。"
  1238. },
  1239. {
  1240. "name": "desc",
  1241. "in": "body",
  1242. "type": "string",
  1243. "required": true,
  1244. "desc": "描述"
  1245. }
  1246. ]
  1247. },
  1248. {
  1249. "id": "contact.getWxWorkContactList",
  1250. "module": "contact",
  1251. "title": "内部联系人分页",
  1252. "summary": "内部联系人分页 分页拉取企业内部联系人(同事)列表。",
  1253. "method": "/contact/getWxWorkContactList",
  1254. "category": [
  1255. "API参考",
  1256. "客户管理",
  1257. "联系人模块"
  1258. ],
  1259. "docFile": "内部联系人分页.md",
  1260. "tags": [
  1261. "contact",
  1262. "内部联系人分页",
  1263. "联系人模块",
  1264. "客户管理",
  1265. "API参考"
  1266. ],
  1267. "params": [
  1268. {
  1269. "name": "guid",
  1270. "in": "body",
  1271. "type": "string",
  1272. "required": true,
  1273. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  1274. },
  1275. {
  1276. "name": "clientVersion",
  1277. "in": "body",
  1278. "type": "string",
  1279. "required": true,
  1280. "desc": "客户端版本号。"
  1281. },
  1282. {
  1283. "name": "limit",
  1284. "in": "body",
  1285. "type": "integer",
  1286. "required": true,
  1287. "desc": "每页数量"
  1288. }
  1289. ],
  1290. "responseHint": "data 字段:contactCount(联系人数量);contactList(联系人列表);currentVersion(下次请求时应传入的currentVersion);hasMore(是否有更多)"
  1291. },
  1292. {
  1293. "id": "label.syncLabelList",
  1294. "module": "label",
  1295. "title": "列表分页",
  1296. "summary": "列表分页 分页查询列表数据。",
  1297. "method": "/label/syncLabelList",
  1298. "category": [
  1299. "API参考",
  1300. "客户管理",
  1301. "标签模块"
  1302. ],
  1303. "docFile": "列表分页.md",
  1304. "tags": [
  1305. "label",
  1306. "标签模块",
  1307. "客户管理",
  1308. "列表分页",
  1309. "API参考"
  1310. ],
  1311. "params": [
  1312. {
  1313. "name": "guid",
  1314. "in": "body",
  1315. "type": "string",
  1316. "required": true,
  1317. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  1318. },
  1319. {
  1320. "name": "currentSeq",
  1321. "in": "body",
  1322. "type": "integer",
  1323. "required": true,
  1324. "desc": "分页使用,首次传0,下次传入返回值currentSeq"
  1325. },
  1326. {
  1327. "name": "labelType",
  1328. "in": "body",
  1329. "type": "integer",
  1330. "required": true,
  1331. "desc": "1 企业标签 =2 个人标签"
  1332. }
  1333. ],
  1334. "responseHint": "data 字段:currentSeq(下次请求时应传入的currentSeq);hasMore(是否有更多);labelCount(标签数量);labelList(标签列表)"
  1335. },
  1336. {
  1337. "id": "room.createRoom",
  1338. "module": "room",
  1339. "title": "创建群",
  1340. "summary": "创建群 创建新的群聊。",
  1341. "method": "/room/createRoom",
  1342. "category": [
  1343. "API参考",
  1344. "客户管理",
  1345. "群模块"
  1346. ],
  1347. "docFile": "创建群.md",
  1348. "tags": [
  1349. "群模块",
  1350. "room",
  1351. "客户管理",
  1352. "创建群",
  1353. "API参考"
  1354. ],
  1355. "params": [
  1356. {
  1357. "name": "guid",
  1358. "in": "body",
  1359. "type": "string",
  1360. "required": true,
  1361. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  1362. },
  1363. {
  1364. "name": "isOuterRoom",
  1365. "in": "body",
  1366. "type": "integer",
  1367. "required": true,
  1368. "desc": "是否外部群"
  1369. },
  1370. {
  1371. "name": "memberList",
  1372. "in": "body",
  1373. "type": "array",
  1374. "required": true,
  1375. "desc": "成员列表。"
  1376. }
  1377. ],
  1378. "responseHint": "data 字段:memberList(群成员列表);roomCreatetime(创建时间);roomCreatorId(创建人id);roomId(群id)"
  1379. },
  1380. {
  1381. "id": "client.createClient",
  1382. "module": "client",
  1383. "title": "创建设备(步骤1)",
  1384. "summary": "创建设备 — 获取虚拟设备实例 通过该接口创建一个企业微信云设备实例,返回 guid(设备唯一标识)。后续所有操作(扫码登录、收发消息等)均依赖此 guid。 重要:创建/恢复设备后 5 分钟内未完成登录,该实例将自动清理。代理地区务必与企微手机登录所在地一致,严禁异省,否则可能导致登录失败。",
  1385. "method": "/client/createClient",
  1386. "category": [
  1387. "API参考",
  1388. "基础能力",
  1389. "登录模块"
  1390. ],
  1391. "docFile": "创建设备(步骤1).md",
  1392. "tags": [
  1393. "基础能力",
  1394. "登录模块",
  1395. "创建设备(步骤1)",
  1396. "client",
  1397. "API参考"
  1398. ],
  1399. "params": [
  1400. {
  1401. "name": "proxyUrl",
  1402. "in": "body",
  1403. "type": "string",
  1404. "required": false,
  1405. "desc": "- **网络方式2:自定义代理ip** 格式必须为: socks5://user:password@ip:port,如无验证直接写地址即可。目前只支持socks5。 示例:socks5://root:123456@192.168.88.242:1080"
  1406. },
  1407. {
  1408. "name": "areaCode",
  1409. "in": "body",
  1410. "type": "integer",
  1411. "required": false,
  1412. "desc": "- **网络方式1:使用地区ID** 110000:北京市 | 120000:天津市 | 130000:河北省 | 140000:山西省 150000:内蒙古 | 210000:辽宁省 | 220000:吉林省 | 230000:黑龙江省 310000:上海市 | 320000:江苏省 | 330000:浙江省 | 340000:安徽省 350000:福建省 | 360000:江西省 | 370000:山东省 | 410000:河南省 420000:湖北省 | 430000:湖南省 | 440000:广东省 | 450000:广 西 460000:海南省 | 500000:重庆市 | 510000:四川省 | 520000:贵州省 530000:云南省 | 540000:西 藏 | 610000:陕西省 | 620000:甘肃省 630000:青海省 | 640000:宁 夏 | 650000:新 疆"
  1413. },
  1414. {
  1415. "name": "deviceName",
  1416. "in": "body",
  1417. "type": "string",
  1418. "required": true,
  1419. "desc": "用于在控制台辨识不同设备,如「张三的iPad"
  1420. },
  1421. {
  1422. "name": "deviceType",
  1423. "in": "body",
  1424. "type": "integer",
  1425. "required": true,
  1426. "desc": "设备类型:0 = iPad(推荐),2 = Windows"
  1427. },
  1428. {
  1429. "name": "clientVersion",
  1430. "in": "body",
  1431. "type": "string",
  1432. "required": true,
  1433. "desc": "客户端版本由 Fmode 服务自动选择,通常无需填写。"
  1434. }
  1435. ],
  1436. "responseHint": "data 字段:guid(参数 guid)"
  1437. },
  1438. {
  1439. "id": "sns.deleteSns",
  1440. "module": "sns",
  1441. "title": "删除朋友圈",
  1442. "summary": "删除朋友圈 删除指定朋友圈动态。",
  1443. "method": "/sns/deleteSns",
  1444. "category": [
  1445. "API参考",
  1446. "媒体与运营",
  1447. "朋友圈模块"
  1448. ],
  1449. "docFile": "删除朋友圈.md",
  1450. "tags": [
  1451. "sns",
  1452. "朋友圈模块",
  1453. "删除朋友圈",
  1454. "媒体与运营",
  1455. "API参考"
  1456. ],
  1457. "params": [
  1458. {
  1459. "name": "guid",
  1460. "in": "body",
  1461. "type": "string",
  1462. "required": true,
  1463. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  1464. },
  1465. {
  1466. "name": "snsId",
  1467. "in": "body",
  1468. "type": "number",
  1469. "required": true,
  1470. "desc": "朋友圈Id"
  1471. }
  1472. ]
  1473. },
  1474. {
  1475. "id": "contact.deleteContact",
  1476. "module": "contact",
  1477. "title": "删除联系人",
  1478. "summary": "删除联系人 删除指定联系人,解除好友关系或从列表中移除。",
  1479. "method": "/contact/deleteContact",
  1480. "category": [
  1481. "API参考",
  1482. "客户管理",
  1483. "联系人模块"
  1484. ],
  1485. "docFile": "删除联系人.md",
  1486. "tags": [
  1487. "contact",
  1488. "联系人模块",
  1489. "删除联系人",
  1490. "客户管理",
  1491. "API参考"
  1492. ],
  1493. "params": [
  1494. {
  1495. "name": "guid",
  1496. "in": "body",
  1497. "type": "string",
  1498. "required": true,
  1499. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  1500. },
  1501. {
  1502. "name": "userId",
  1503. "in": "body",
  1504. "type": "string",
  1505. "required": true,
  1506. "desc": "用户id"
  1507. }
  1508. ]
  1509. },
  1510. {
  1511. "id": "msg.sendGif",
  1512. "module": "msg",
  1513. "title": "发送GIF表情消息",
  1514. "summary": "发送GIF表情消息 发送GIF表情步骤方法一: GIF图片上传:调用 文件上传 接口。 获取GIF的CdnUrl:调用 文件CDN转URL 接口。 发送GIF表情步骤方法二: 获取收藏表情列表:通过调用 收藏分页 API,过滤出 表情收藏列表 。",
  1515. "method": "/msg/sendGif",
  1516. "category": [
  1517. "API参考",
  1518. "会话与消息",
  1519. "消息模块 "
  1520. ],
  1521. "docFile": "发送GIF表情消息.md",
  1522. "tags": [
  1523. "会话与消息",
  1524. "发送GIF表情消息",
  1525. "msg",
  1526. "消息模块 ",
  1527. "API参考"
  1528. ],
  1529. "params": [
  1530. {
  1531. "name": "guid",
  1532. "in": "body",
  1533. "type": "string",
  1534. "required": true,
  1535. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  1536. },
  1537. {
  1538. "name": "wxFileUrl",
  1539. "in": "body",
  1540. "type": "string",
  1541. "required": true,
  1542. "desc": "Wx文件链接"
  1543. },
  1544. {
  1545. "name": "toId",
  1546. "in": "body",
  1547. "type": "string",
  1548. "required": true,
  1549. "desc": "接收方 ID,联系人传 userId,群聊传 roomId。"
  1550. }
  1551. ],
  1552. "responseHint": "data 字段:isSendSuccess(是否发送成功);msgServerId(消息id,用于撤回消息);msgType(是否发送成功);msgUniqueIdentifier(消息唯一标识);seq(消息序号);timestamp(时间戳)"
  1553. },
  1554. {
  1555. "id": "msg.sendPersonalCard",
  1556. "module": "msg",
  1557. "title": "发送名片消息",
  1558. "summary": "发送名片消息 取消群内置顶消息。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  1559. "method": "/msg/sendPersonalCard",
  1560. "category": [
  1561. "API参考",
  1562. "会话与消息",
  1563. "消息模块 "
  1564. ],
  1565. "docFile": "发送名片消息.md",
  1566. "tags": [
  1567. "会话与消息",
  1568. "发送名片消息",
  1569. "msg",
  1570. "消息模块 ",
  1571. "API参考"
  1572. ],
  1573. "params": [
  1574. {
  1575. "name": "guid",
  1576. "in": "body",
  1577. "type": "string",
  1578. "required": true,
  1579. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  1580. },
  1581. {
  1582. "name": "sharedId",
  1583. "in": "body",
  1584. "type": "string",
  1585. "required": true,
  1586. "desc": "要分享的好友id"
  1587. },
  1588. {
  1589. "name": "toId",
  1590. "in": "body",
  1591. "type": "string",
  1592. "required": true,
  1593. "desc": "接收方 ID,联系人传 userId,群聊传 roomId。"
  1594. }
  1595. ],
  1596. "responseHint": "data 字段:isSendSuccess(是否发送成功);msgServerId(消息id,用于撤回消息);msgType(消息类型);msgUniqueIdentifier(消息唯一标识);seq(消息序号);timestamp(时间戳)"
  1597. },
  1598. {
  1599. "id": "msg.sendImage",
  1600. "module": "msg",
  1601. "title": "发送图片消息",
  1602. "summary": "发送图片消息 图片格式 JPG 图片消息参数:通过接口 文件上传 或 文件上传-URL 获取发送图片参数。也可通过回调获取相应参数。",
  1603. "method": "/msg/sendImage",
  1604. "category": [
  1605. "API参考",
  1606. "会话与消息",
  1607. "消息模块 "
  1608. ],
  1609. "docFile": "发送图片消息.md",
  1610. "tags": [
  1611. "发送图片消息",
  1612. "会话与消息",
  1613. "msg",
  1614. "消息模块 ",
  1615. "API参考"
  1616. ],
  1617. "params": [
  1618. {
  1619. "name": "guid",
  1620. "in": "body",
  1621. "type": "string",
  1622. "required": true,
  1623. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  1624. },
  1625. {
  1626. "name": "fileAesKey",
  1627. "in": "body",
  1628. "type": "string",
  1629. "required": true,
  1630. "desc": "文件密钥"
  1631. },
  1632. {
  1633. "name": "fileId",
  1634. "in": "body",
  1635. "type": "string",
  1636. "required": true,
  1637. "desc": "文件id"
  1638. },
  1639. {
  1640. "name": "fileMd5",
  1641. "in": "body",
  1642. "type": "string",
  1643. "required": true,
  1644. "desc": "文件md5值"
  1645. },
  1646. {
  1647. "name": "fileSize",
  1648. "in": "body",
  1649. "type": "integer",
  1650. "required": true,
  1651. "desc": "文件大小"
  1652. },
  1653. {
  1654. "name": "filename",
  1655. "in": "body",
  1656. "type": "string",
  1657. "required": true,
  1658. "desc": "文件名称"
  1659. },
  1660. {
  1661. "name": "toId",
  1662. "in": "body",
  1663. "type": "string",
  1664. "required": true,
  1665. "desc": "接收方 ID,联系人传 userId,群聊传 roomId。"
  1666. }
  1667. ],
  1668. "responseHint": "data 字段:isSendSuccess(是否发送成功);msgServerId(消息id,用于撤回消息);msgType(消息类型);msgUniqueIdentifier(消息唯一标识);seq(消息序号);timestamp(时间戳)"
  1669. },
  1670. {
  1671. "id": "msg.sendLocation",
  1672. "module": "msg",
  1673. "title": "发送定位消息",
  1674. "summary": "发送定位消息 查询群发任务的执行状态与发送结果。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  1675. "method": "/msg/sendLocation",
  1676. "category": [
  1677. "API参考",
  1678. "会话与消息",
  1679. "消息模块 "
  1680. ],
  1681. "docFile": "发送定位消息.md",
  1682. "tags": [
  1683. "会话与消息",
  1684. "msg",
  1685. "发送定位消息",
  1686. "消息模块 ",
  1687. "API参考"
  1688. ],
  1689. "params": [
  1690. {
  1691. "name": "guid",
  1692. "in": "body",
  1693. "type": "string",
  1694. "required": true,
  1695. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  1696. },
  1697. {
  1698. "name": "title",
  1699. "in": "body",
  1700. "type": "string",
  1701. "required": true,
  1702. "desc": "标题"
  1703. },
  1704. {
  1705. "name": "address",
  1706. "in": "body",
  1707. "type": "string",
  1708. "required": true,
  1709. "desc": "地址"
  1710. },
  1711. {
  1712. "name": "latitude",
  1713. "in": "body",
  1714. "type": "number",
  1715. "required": true,
  1716. "desc": "纬度"
  1717. },
  1718. {
  1719. "name": "longitude",
  1720. "in": "body",
  1721. "type": "number",
  1722. "required": true,
  1723. "desc": "经度"
  1724. },
  1725. {
  1726. "name": "toId",
  1727. "in": "body",
  1728. "type": "string",
  1729. "required": true,
  1730. "desc": "接收方 ID,联系人传 userId,群聊传 roomId。"
  1731. }
  1732. ],
  1733. "responseHint": "data 字段:isSendSuccess(是否发送成功);msgServerId(消息id,用于撤回消息);msgType(消息类型);msgUniqueIdentifier(消息唯一标识);seq(消息序号);timestamp(时间戳)"
  1734. },
  1735. {
  1736. "id": "msg.sendWeapp",
  1737. "module": "msg",
  1738. "title": "发送小程序消息",
  1739. "summary": "发送小程序消息 将指定消息设为群内置顶,方便成员查看重要通知。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  1740. "method": "/msg/sendWeapp",
  1741. "category": [
  1742. "API参考",
  1743. "会话与消息",
  1744. "消息模块 "
  1745. ],
  1746. "docFile": "发送小程序消息.md",
  1747. "tags": [
  1748. "发送小程序消息",
  1749. "会话与消息",
  1750. "msg",
  1751. "消息模块 ",
  1752. "API参考"
  1753. ],
  1754. "params": [
  1755. {
  1756. "name": "guid",
  1757. "in": "body",
  1758. "type": "string",
  1759. "required": true,
  1760. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  1761. },
  1762. {
  1763. "name": "appId",
  1764. "in": "body",
  1765. "type": "string",
  1766. "required": true,
  1767. "desc": "小程序appid"
  1768. },
  1769. {
  1770. "name": "coverFileAesKey",
  1771. "in": "body",
  1772. "type": "string",
  1773. "required": true,
  1774. "desc": "封面文件AesKey"
  1775. },
  1776. {
  1777. "name": "coverFileId",
  1778. "in": "body",
  1779. "type": "string",
  1780. "required": true,
  1781. "desc": "封面图id"
  1782. },
  1783. {
  1784. "name": "coverFileSize",
  1785. "in": "body",
  1786. "type": "integer",
  1787. "required": true,
  1788. "desc": "封面图大小"
  1789. },
  1790. {
  1791. "name": "desc",
  1792. "in": "body",
  1793. "type": "string",
  1794. "required": true,
  1795. "desc": "描述"
  1796. },
  1797. {
  1798. "name": "pagePath",
  1799. "in": "body",
  1800. "type": "string",
  1801. "required": true,
  1802. "desc": "小程序页面路径。"
  1803. },
  1804. {
  1805. "name": "thumbUrl",
  1806. "in": "body",
  1807. "type": "string",
  1808. "required": true,
  1809. "desc": "缩略图 URL。"
  1810. },
  1811. {
  1812. "name": "title",
  1813. "in": "body",
  1814. "type": "string",
  1815. "required": true,
  1816. "desc": "标题"
  1817. },
  1818. {
  1819. "name": "username",
  1820. "in": "body",
  1821. "type": "string",
  1822. "required": true,
  1823. "desc": "账号原始id"
  1824. },
  1825. {
  1826. "name": "toId",
  1827. "in": "body",
  1828. "type": "string",
  1829. "required": true,
  1830. "desc": "接收方 ID,联系人传 userId,群聊传 roomId。"
  1831. }
  1832. ],
  1833. "responseHint": "data 字段:isSendSuccess(是否发送成功);msgServerId(消息id,用于撤回消息);msgType(消息类型);msgUniqueIdentifier(消息唯一标识);seq(消息序号);timestamp(时间戳)"
  1834. },
  1835. {
  1836. "id": "msg.sendFile",
  1837. "module": "msg",
  1838. "title": "发送文件消息",
  1839. "summary": "发送纯文本消息 向指定联系人或群聊发送文件。发送前请确认接收方 ID(toId 或 roomId)正确。",
  1840. "method": "/msg/sendFile",
  1841. "category": [
  1842. "API参考",
  1843. "会话与消息",
  1844. "消息模块 "
  1845. ],
  1846. "docFile": "发送文件消息.md",
  1847. "tags": [
  1848. "会话与消息",
  1849. "发送文件消息",
  1850. "msg",
  1851. "消息模块 ",
  1852. "API参考"
  1853. ],
  1854. "params": [
  1855. {
  1856. "name": "guid",
  1857. "in": "body",
  1858. "type": "string",
  1859. "required": true,
  1860. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  1861. },
  1862. {
  1863. "name": "fileAesKey",
  1864. "in": "body",
  1865. "type": "string",
  1866. "required": true,
  1867. "desc": "大文件时,可为空;否则必填"
  1868. },
  1869. {
  1870. "name": "fileId",
  1871. "in": "body",
  1872. "type": "string",
  1873. "required": true,
  1874. "desc": "文件id"
  1875. },
  1876. {
  1877. "name": "fileSize",
  1878. "in": "body",
  1879. "type": "integer",
  1880. "required": true,
  1881. "desc": "文件大小"
  1882. },
  1883. {
  1884. "name": "filename",
  1885. "in": "body",
  1886. "type": "string",
  1887. "required": true,
  1888. "desc": "文件名称"
  1889. },
  1890. {
  1891. "name": "toId",
  1892. "in": "body",
  1893. "type": "string",
  1894. "required": true,
  1895. "desc": "接收方 ID,联系人传 userId,群聊传 roomId。"
  1896. }
  1897. ],
  1898. "responseHint": "data 字段:isSendSuccess(是否发送成功);msgServerId(消息id,用于撤回消息);msgType(消息类型);msgUniqueIdentifier(消息唯一标识);seq(消息序号);timestamp(时间戳)"
  1899. },
  1900. {
  1901. "id": "sns.postSns",
  1902. "module": "sns",
  1903. "title": "发送朋友圈",
  1904. "summary": "发送朋友圈 • 支持文本 + 图片/视频/视频号/链接等类型的发送,其中图片一次可以发送多个。• 图片/视频/视频号/链接,每次发送最多只能选择其中的一种类型。",
  1905. "method": "/sns/postSns",
  1906. "category": [
  1907. "API参考",
  1908. "媒体与运营",
  1909. "朋友圈模块"
  1910. ],
  1911. "docFile": "发送朋友圈.md",
  1912. "tags": [
  1913. "sns",
  1914. "朋友圈模块",
  1915. "发送朋友圈",
  1916. "媒体与运营",
  1917. "API参考"
  1918. ],
  1919. "params": [
  1920. {
  1921. "name": "guid",
  1922. "in": "body",
  1923. "type": "string",
  1924. "required": true,
  1925. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  1926. },
  1927. {
  1928. "name": "postType",
  1929. "in": "body",
  1930. "type": "integer",
  1931. "required": true,
  1932. "desc": "0图片/视频,1链接/视频号"
  1933. },
  1934. {
  1935. "name": "content",
  1936. "in": "body",
  1937. "type": "string",
  1938. "required": true,
  1939. "desc": "消息内容"
  1940. },
  1941. {
  1942. "name": "visibleUserIdList",
  1943. "in": "body",
  1944. "type": "array",
  1945. "required": true,
  1946. "desc": "指定好友可见。可不传,此时全部好友可见"
  1947. },
  1948. {
  1949. "name": "mediaList",
  1950. "in": "body",
  1951. "type": "array",
  1952. "required": true,
  1953. "desc": "Media列表",
  1954. "children": [
  1955. {
  1956. "name": "fileType",
  1957. "in": "body",
  1958. "type": "integer",
  1959. "required": false,
  1960. "desc": "1:图片2: 视频 【注:如果发送视频,则 media_list 必须携带视频缩略图的参数,成对】3: 视频缩略图"
  1961. },
  1962. {
  1963. "name": "fileSize",
  1964. "in": "body",
  1965. "type": "integer",
  1966. "required": false,
  1967. "desc": "文件大小"
  1968. },
  1969. {
  1970. "name": "fileId",
  1971. "in": "body",
  1972. "type": "string",
  1973. "required": false,
  1974. "desc": "文件id"
  1975. },
  1976. {
  1977. "name": "videoLength",
  1978. "in": "body",
  1979. "type": "integer",
  1980. "required": false
  1981. },
  1982. {
  1983. "name": "fileWidth",
  1984. "in": "body",
  1985. "type": "integer",
  1986. "required": false,
  1987. "desc": "文件宽度"
  1988. },
  1989. {
  1990. "name": "fileHeight",
  1991. "in": "body",
  1992. "type": "integer",
  1993. "required": false,
  1994. "desc": "文件高度"
  1995. }
  1996. ]
  1997. },
  1998. {
  1999. "name": "linkInfo",
  2000. "in": "body",
  2001. "type": "object",
  2002. "required": false,
  2003. "desc": "postType=1时必填;=0时置空即可",
  2004. "children": [
  2005. {
  2006. "name": "title",
  2007. "in": "body",
  2008. "type": "string",
  2009. "required": false,
  2010. "desc": "视频号消息回调=channelName"
  2011. },
  2012. {
  2013. "name": "contentUrl",
  2014. "in": "body",
  2015. "type": "string",
  2016. "required": false,
  2017. "desc": "消息链接"
  2018. },
  2019. {
  2020. "name": "wxFinderInfo",
  2021. "in": "body",
  2022. "type": "object",
  2023. "required": false,
  2024. "desc": "视频号信息",
  2025. "children": [
  2026. {
  2027. "name": "desc",
  2028. "in": "body",
  2029. "type": "string",
  2030. "required": true,
  2031. "desc": "视频号消息回调=channelName,or自定义"
  2032. },
  2033. {
  2034. "name": "coverUrl",
  2035. "in": "body",
  2036. "type": "string",
  2037. "required": true,
  2038. "desc": "视频号消息回调=coverUrl,or自定义"
  2039. },
  2040. {
  2041. "name": "thumbUrl",
  2042. "in": "body",
  2043. "type": "string",
  2044. "required": true,
  2045. "desc": "视频号消息回调=coverUrl,or自定义"
  2046. },
  2047. {
  2048. "name": "extras",
  2049. "in": "body",
  2050. "type": "string",
  2051. "required": true,
  2052. "desc": "视频号消息回调=encodeData"
  2053. },
  2054. {
  2055. "name": "feedId",
  2056. "in": "body",
  2057. "type": "string",
  2058. "required": true,
  2059. "desc": "视频号消息回调=feedId"
  2060. },
  2061. {
  2062. "name": "feedNo",
  2063. "in": "body",
  2064. "type": "string",
  2065. "required": true,
  2066. "desc": "视频号消息回调=feedNo"
  2067. },
  2068. {
  2069. "name": "avatar",
  2070. "in": "body",
  2071. "type": "string",
  2072. "required": true,
  2073. "desc": "视频号消息回调=headImgUrl"
  2074. },
  2075. {
  2076. "name": "nickname",
  2077. "in": "body",
  2078. "type": "string",
  2079. "required": true,
  2080. "desc": "视频号消息回调=headImgUrl"
  2081. },
  2082. {
  2083. "name": "feedType",
  2084. "in": "body",
  2085. "type": "integer",
  2086. "required": true,
  2087. "desc": "视频号=4"
  2088. }
  2089. ]
  2090. }
  2091. ]
  2092. }
  2093. ],
  2094. "responseHint": "data 字段:snsDetail(朋友圈Detail);totalSendCount(总数发送数量)"
  2095. },
  2096. {
  2097. "id": "msg.sendHyperText",
  2098. "module": "msg",
  2099. "title": "发送混合文本消息",
  2100. "summary": "发送纯文本消息 向指定联系人或群聊发送混合文本。发送前请确认接收方 ID(toId 或 roomId)正确。",
  2101. "method": "/msg/sendHyperText",
  2102. "category": [
  2103. "API参考",
  2104. "会话与消息",
  2105. "消息模块 "
  2106. ],
  2107. "docFile": "发送混合文本消息.md",
  2108. "tags": [
  2109. "会话与消息",
  2110. "发送混合文本消息",
  2111. "msg",
  2112. "消息模块 ",
  2113. "API参考"
  2114. ],
  2115. "params": [
  2116. {
  2117. "name": "guid",
  2118. "in": "body",
  2119. "type": "string",
  2120. "required": true,
  2121. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  2122. },
  2123. {
  2124. "name": "content",
  2125. "in": "body",
  2126. "type": "array",
  2127. "required": true,
  2128. "desc": "消息内容",
  2129. "children": [
  2130. {
  2131. "name": "subtype",
  2132. "in": "body",
  2133. "type": "integer",
  2134. "required": false,
  2135. "desc": "=0表示普通文本 =1表示@具体人,text为对方的userId, 当送0时为@所有人 =2表示系统表情 eg:[微笑][憨笑]"
  2136. },
  2137. {
  2138. "name": "text",
  2139. "in": "body",
  2140. "type": "string",
  2141. "required": false
  2142. }
  2143. ]
  2144. },
  2145. {
  2146. "name": "toId",
  2147. "in": "body",
  2148. "type": "string",
  2149. "required": true,
  2150. "desc": "接收方 ID,联系人传 userId,群聊传 roomId。"
  2151. }
  2152. ],
  2153. "responseHint": "data 字段:isSendSuccess(是否发送成功);msgServerId(消息id,用于撤回消息);msgType(消息类型);msgUniqueIdentifier(消息唯一标识);seq(消息序号);timestamp(时间戳)"
  2154. },
  2155. {
  2156. "id": "msg.sendText",
  2157. "module": "msg",
  2158. "title": "发送纯文本消息",
  2159. "summary": "发送纯文本消息 向指定联系人或群聊发送纯文本。发送前请确认接收方 ID(toId 或 roomId)正确。",
  2160. "method": "/msg/sendText",
  2161. "category": [
  2162. "API参考",
  2163. "会话与消息",
  2164. "消息模块 "
  2165. ],
  2166. "docFile": "发送纯文本消息.md",
  2167. "tags": [
  2168. "会话与消息",
  2169. "msg",
  2170. "消息模块 ",
  2171. "发送纯文本消息",
  2172. "API参考"
  2173. ],
  2174. "params": [
  2175. {
  2176. "name": "guid",
  2177. "in": "body",
  2178. "type": "string",
  2179. "required": true,
  2180. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  2181. },
  2182. {
  2183. "name": "content",
  2184. "in": "body",
  2185. "type": "string",
  2186. "required": true,
  2187. "desc": "消息内容"
  2188. },
  2189. {
  2190. "name": "toId",
  2191. "in": "body",
  2192. "type": "string",
  2193. "required": true,
  2194. "desc": "接收方 ID,联系人传 userId,群聊传 roomId。"
  2195. },
  2196. {
  2197. "name": "isNoNeedRead",
  2198. "in": "body",
  2199. "type": "boolean",
  2200. "required": true,
  2201. "desc": "是否禁止回执,默认不禁止 false(true/false)"
  2202. }
  2203. ],
  2204. "responseHint": "data 字段:isSendSuccess(是否发送成功);msgServerId(用于撤回消息);msgType(消息类型);msgUniqueIdentifier(消息唯一标识);seq(消息序号);timestamp(时间戳)"
  2205. },
  2206. {
  2207. "id": "msg.sendFeedVideo",
  2208. "module": "msg",
  2209. "title": "发送视频号消息",
  2210. "summary": "发送视频号消息 通过群发助手向多个客户批量发送消息,适用于营销通知等场景。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  2211. "method": "/msg/sendFeedVideo",
  2212. "category": [
  2213. "API参考",
  2214. "会话与消息",
  2215. "消息模块 "
  2216. ],
  2217. "docFile": "发送视频号消息.md",
  2218. "tags": [
  2219. "发送视频号消息",
  2220. "会话与消息",
  2221. "msg",
  2222. "消息模块 ",
  2223. "API参考"
  2224. ],
  2225. "params": [
  2226. {
  2227. "name": "guid",
  2228. "in": "body",
  2229. "type": "string",
  2230. "required": true,
  2231. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  2232. },
  2233. {
  2234. "name": "channelName",
  2235. "in": "body",
  2236. "type": "string",
  2237. "required": true,
  2238. "desc": "频道名称"
  2239. },
  2240. {
  2241. "name": "channelUrl",
  2242. "in": "body",
  2243. "type": "string",
  2244. "required": true,
  2245. "desc": "频道链接"
  2246. },
  2247. {
  2248. "name": "coverUrl",
  2249. "in": "body",
  2250. "type": "string",
  2251. "required": true,
  2252. "desc": "封面链接"
  2253. },
  2254. {
  2255. "name": "encodeData",
  2256. "in": "body",
  2257. "type": "string",
  2258. "required": true,
  2259. "desc": "编码数据"
  2260. },
  2261. {
  2262. "name": "headImgUrl",
  2263. "in": "body",
  2264. "type": "string",
  2265. "required": true,
  2266. "desc": "头像图片链接"
  2267. },
  2268. {
  2269. "name": "feedId",
  2270. "in": "body",
  2271. "type": "string",
  2272. "required": true,
  2273. "desc": "动态Id"
  2274. },
  2275. {
  2276. "name": "feedNo",
  2277. "in": "body",
  2278. "type": "string",
  2279. "required": true,
  2280. "desc": "动态编号"
  2281. },
  2282. {
  2283. "name": "username",
  2284. "in": "body",
  2285. "type": "string",
  2286. "required": true,
  2287. "desc": "用户名"
  2288. },
  2289. {
  2290. "name": "toId",
  2291. "in": "body",
  2292. "type": "string",
  2293. "required": true,
  2294. "desc": "接收方 ID,联系人传 userId,群聊传 roomId。"
  2295. }
  2296. ],
  2297. "responseHint": "data 字段:isSendSuccess(是否发送成功);msgServerId(消息id,用于撤回消息);msgType(是否发送成功);msgUniqueIdentifier(消息唯一标识);seq(消息序号);timestamp(时间戳)"
  2298. },
  2299. {
  2300. "id": "msg.sendVideo",
  2301. "module": "msg",
  2302. "title": "发送视频消息",
  2303. "summary": "发送视频消息 MP4格式",
  2304. "method": "/msg/sendVideo",
  2305. "category": [
  2306. "API参考",
  2307. "会话与消息",
  2308. "消息模块 "
  2309. ],
  2310. "docFile": "发送视频消息.md",
  2311. "tags": [
  2312. "会话与消息",
  2313. "发送视频消息",
  2314. "msg",
  2315. "消息模块 ",
  2316. "API参考"
  2317. ],
  2318. "params": [
  2319. {
  2320. "name": "guid",
  2321. "in": "body",
  2322. "type": "string",
  2323. "required": true,
  2324. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  2325. },
  2326. {
  2327. "name": "fileAesKey",
  2328. "in": "body",
  2329. "type": "string",
  2330. "required": true,
  2331. "desc": "fileId包含*字符时非必须,为空即可"
  2332. },
  2333. {
  2334. "name": "fileId",
  2335. "in": "body",
  2336. "type": "string",
  2337. "required": true,
  2338. "desc": "文件 ID"
  2339. },
  2340. {
  2341. "name": "fileMd5",
  2342. "in": "body",
  2343. "type": "string",
  2344. "required": true,
  2345. "desc": "文件md5值"
  2346. },
  2347. {
  2348. "name": "fileSize",
  2349. "in": "body",
  2350. "type": "integer",
  2351. "required": true,
  2352. "desc": "文件大小"
  2353. },
  2354. {
  2355. "name": "filename",
  2356. "in": "body",
  2357. "type": "string",
  2358. "required": true,
  2359. "desc": "文件名称"
  2360. },
  2361. {
  2362. "name": "coverImageSize",
  2363. "in": "body",
  2364. "type": "integer",
  2365. "required": true,
  2366. "desc": "封面图片尺寸"
  2367. },
  2368. {
  2369. "name": "duration",
  2370. "in": "body",
  2371. "type": "integer",
  2372. "required": true,
  2373. "desc": "时长(秒)。"
  2374. },
  2375. {
  2376. "name": "toId",
  2377. "in": "body",
  2378. "type": "string",
  2379. "required": true,
  2380. "desc": "接收方 ID,联系人传 userId,群聊传 roomId。"
  2381. },
  2382. {
  2383. "name": "previewImgUrl",
  2384. "in": "body",
  2385. "type": "string",
  2386. "required": true,
  2387. "desc": "fileId包含*字符时上送,否则为空即可"
  2388. }
  2389. ],
  2390. "responseHint": "data 字段:isSendSuccess(是否发送成功);msgServerId(消息id,用于撤回消息);msgType(消息类型);msgUniqueIdentifier(消息唯一标识);seq(消息序号);timestamp(时间戳)"
  2391. },
  2392. {
  2393. "id": "msg.sendVoice",
  2394. "module": "msg",
  2395. "title": "发送语音消息",
  2396. "summary": "发送语音消息 修改消息的已读/未读等状态标记。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  2397. "method": "/msg/sendVoice",
  2398. "category": [
  2399. "API参考",
  2400. "会话与消息",
  2401. "消息模块 "
  2402. ],
  2403. "docFile": "发送语音消息.md",
  2404. "tags": [
  2405. "会话与消息",
  2406. "发送语音消息",
  2407. "msg",
  2408. "消息模块 ",
  2409. "API参考"
  2410. ],
  2411. "params": [
  2412. {
  2413. "name": "guid",
  2414. "in": "body",
  2415. "type": "string",
  2416. "required": true,
  2417. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  2418. },
  2419. {
  2420. "name": "fileAesKey",
  2421. "in": "body",
  2422. "type": "string",
  2423. "required": true,
  2424. "desc": "文件密钥"
  2425. },
  2426. {
  2427. "name": "fileId",
  2428. "in": "body",
  2429. "type": "string",
  2430. "required": true,
  2431. "desc": "文件id"
  2432. },
  2433. {
  2434. "name": "fileSize",
  2435. "in": "body",
  2436. "type": "integer",
  2437. "required": true,
  2438. "desc": "文件大小"
  2439. },
  2440. {
  2441. "name": "voiceTime",
  2442. "in": "body",
  2443. "type": "integer",
  2444. "required": true,
  2445. "desc": "Voice时间"
  2446. },
  2447. {
  2448. "name": "toId",
  2449. "in": "body",
  2450. "type": "string",
  2451. "required": true,
  2452. "desc": "接收方 ID,联系人传 userId,群聊传 roomId。"
  2453. }
  2454. ],
  2455. "responseHint": "data 字段:isSendSuccess(是否发送成功);msgServerId(消息id,用于撤回消息);msgType(消息类型);msgUniqueIdentifier(消息唯一标识);seq(消息序号);timestamp(时间戳)"
  2456. },
  2457. {
  2458. "id": "msg.sendLink",
  2459. "module": "msg",
  2460. "title": "发送链接消息",
  2461. "summary": "发送链接消息 查询指定群聊的置顶消息列表。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  2462. "method": "/msg/sendLink",
  2463. "category": [
  2464. "API参考",
  2465. "会话与消息",
  2466. "消息模块 "
  2467. ],
  2468. "docFile": "发送链接消息.md",
  2469. "tags": [
  2470. "会话与消息",
  2471. "发送链接消息",
  2472. "msg",
  2473. "消息模块 ",
  2474. "API参考"
  2475. ],
  2476. "params": [
  2477. {
  2478. "name": "guid",
  2479. "in": "body",
  2480. "type": "string",
  2481. "required": true,
  2482. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  2483. },
  2484. {
  2485. "name": "title",
  2486. "in": "body",
  2487. "type": "string",
  2488. "required": true,
  2489. "desc": "标题"
  2490. },
  2491. {
  2492. "name": "iconUrl",
  2493. "in": "body",
  2494. "type": "string",
  2495. "required": true,
  2496. "desc": "图标链接"
  2497. },
  2498. {
  2499. "name": "linkUrl",
  2500. "in": "body",
  2501. "type": "string",
  2502. "required": true,
  2503. "desc": "链接链接"
  2504. },
  2505. {
  2506. "name": "desc",
  2507. "in": "body",
  2508. "type": "string",
  2509. "required": true,
  2510. "desc": "描述"
  2511. },
  2512. {
  2513. "name": "toId",
  2514. "in": "body",
  2515. "type": "string",
  2516. "required": true,
  2517. "desc": "接收方 ID,联系人传 userId,群聊传 roomId。"
  2518. }
  2519. ],
  2520. "responseHint": "data 字段:isSendSuccess(是否发送成功);msgServerId(消息id,用于撤回消息);msgType(消息类型);msgUniqueIdentifier(消息唯一标识);seq(消息序号);timestamp(时间戳)"
  2521. },
  2522. {
  2523. "id": "room.roomRemoveAdmin",
  2524. "module": "room",
  2525. "title": "取消群管理员",
  2526. "summary": "取消群管理员 取消群聊管理员身份。",
  2527. "method": "/room/roomRemoveAdmin",
  2528. "category": [
  2529. "API参考",
  2530. "客户管理",
  2531. "群模块"
  2532. ],
  2533. "docFile": "取消群管理员.md",
  2534. "tags": [
  2535. "群模块",
  2536. "room",
  2537. "取消群管理员",
  2538. "客户管理",
  2539. "API参考"
  2540. ],
  2541. "params": [
  2542. {
  2543. "name": "guid",
  2544. "in": "body",
  2545. "type": "string",
  2546. "required": true,
  2547. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  2548. },
  2549. {
  2550. "name": "roomId",
  2551. "in": "body",
  2552. "type": "string",
  2553. "required": true,
  2554. "desc": "群聊 ID。"
  2555. },
  2556. {
  2557. "name": "memberList",
  2558. "in": "body",
  2559. "type": "array",
  2560. "required": true,
  2561. "desc": "成员列表。"
  2562. }
  2563. ]
  2564. },
  2565. {
  2566. "id": "contact.agreeContact",
  2567. "module": "contact",
  2568. "title": "同意申请",
  2569. "summary": "同意申请 同意好友或入群等相关申请。",
  2570. "method": "/contact/agreeContact",
  2571. "category": [
  2572. "API参考",
  2573. "客户管理",
  2574. "联系人模块"
  2575. ],
  2576. "docFile": "同意申请.md",
  2577. "tags": [
  2578. "contact",
  2579. "联系人模块",
  2580. "客户管理",
  2581. "同意申请",
  2582. "API参考"
  2583. ],
  2584. "params": [
  2585. {
  2586. "name": "guid",
  2587. "in": "body",
  2588. "type": "string",
  2589. "required": true,
  2590. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  2591. },
  2592. {
  2593. "name": "userId",
  2594. "in": "body",
  2595. "type": "string",
  2596. "required": true,
  2597. "desc": "用户id"
  2598. },
  2599. {
  2600. "name": "corpId",
  2601. "in": "body",
  2602. "type": "string",
  2603. "required": false,
  2604. "desc": "企业 ID。"
  2605. }
  2606. ]
  2607. },
  2608. {
  2609. "id": "msg.syncMsg",
  2610. "module": "msg",
  2611. "title": "同步历史消息分页",
  2612. "summary": "同步历史消息分页 为外部联系人添加或移除客户标签,用于客户分层管理。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  2613. "method": "/msg/syncMsg",
  2614. "category": [
  2615. "API参考",
  2616. "会话与消息",
  2617. "消息模块 "
  2618. ],
  2619. "docFile": "同步历史消息分页.md",
  2620. "tags": [
  2621. "同步历史消息分页",
  2622. "会话与消息",
  2623. "msg",
  2624. "消息模块 ",
  2625. "API参考"
  2626. ],
  2627. "params": [
  2628. {
  2629. "name": "guid",
  2630. "in": "body",
  2631. "type": "string",
  2632. "required": true,
  2633. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  2634. },
  2635. {
  2636. "name": "msgSeq",
  2637. "in": "body",
  2638. "type": "integer",
  2639. "required": true,
  2640. "desc": "分页使用,首次传0,下次传入返回值msgSeq"
  2641. },
  2642. {
  2643. "name": "limit",
  2644. "in": "body",
  2645. "type": "integer",
  2646. "required": true,
  2647. "desc": "每页数量"
  2648. }
  2649. ],
  2650. "responseHint": "data 字段:hasMore(是否有更多);syncMsgList(Sync消息列表);travelSyncKey(同步 Key)"
  2651. },
  2652. {
  2653. "id": "contact.updateWxContact",
  2654. "module": "contact",
  2655. "title": "外部联系人信息-更新",
  2656. "summary": "外部联系人信息-更新 更新外部联系人的备注、标签等可编辑信息。",
  2657. "method": "/contact/updateWxContact",
  2658. "category": [
  2659. "API参考",
  2660. "客户管理",
  2661. "联系人模块"
  2662. ],
  2663. "docFile": "外部联系人信息-更新.md",
  2664. "tags": [
  2665. "contact",
  2666. "联系人模块",
  2667. "客户管理",
  2668. "外部联系人信息-更新",
  2669. "API参考"
  2670. ],
  2671. "params": [
  2672. {
  2673. "name": "guid",
  2674. "in": "body",
  2675. "type": "string",
  2676. "required": true,
  2677. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  2678. },
  2679. {
  2680. "name": "userId",
  2681. "in": "body",
  2682. "type": "string",
  2683. "required": true,
  2684. "desc": "用户id"
  2685. },
  2686. {
  2687. "name": "remark",
  2688. "in": "body",
  2689. "type": "string",
  2690. "required": true,
  2691. "desc": "备注名。"
  2692. },
  2693. {
  2694. "name": "desc",
  2695. "in": "body",
  2696. "type": "string",
  2697. "required": true,
  2698. "desc": "描述"
  2699. },
  2700. {
  2701. "name": "mobileList",
  2702. "in": "body",
  2703. "type": "array",
  2704. "required": true,
  2705. "desc": "手机号列表"
  2706. }
  2707. ]
  2708. },
  2709. {
  2710. "id": "contact.getWxContactList",
  2711. "module": "contact",
  2712. "title": "外部联系人分页",
  2713. "summary": "外部联系人分页 通过查询 外部联系人分页 获取 userid ,再调用 联系人详情 - 批量 接口进行查询联系人信息。 查询后保存 ,不用一直调用,后续可以根据回调保存数据",
  2714. "method": "/contact/getWxContactList",
  2715. "category": [
  2716. "API参考",
  2717. "客户管理",
  2718. "联系人模块"
  2719. ],
  2720. "docFile": "外部联系人分页.md",
  2721. "tags": [
  2722. "contact",
  2723. "外部联系人分页",
  2724. "联系人模块",
  2725. "客户管理",
  2726. "API参考"
  2727. ],
  2728. "params": [
  2729. {
  2730. "name": "guid",
  2731. "in": "body",
  2732. "type": "string",
  2733. "required": true,
  2734. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  2735. },
  2736. {
  2737. "name": "currentSeq",
  2738. "in": "body",
  2739. "type": "integer",
  2740. "required": true,
  2741. "desc": "联系人比较多时,可以用此字段分页查询。首次传0,之后传上一次查询返回的值; 传这个值可以只拉取出现变更的好友;"
  2742. },
  2743. {
  2744. "name": "limit",
  2745. "in": "body",
  2746. "type": "integer",
  2747. "required": true,
  2748. "desc": "每页数量"
  2749. },
  2750. {
  2751. "name": "bizType",
  2752. "in": "body",
  2753. "type": "integer",
  2754. "required": true,
  2755. "desc": "1、外部联系人信息变动的数据 2、好友申请的数据 收到好友申请通知时,需要通过这个值来拉取好友申请通知。"
  2756. }
  2757. ],
  2758. "responseHint": "data 字段:currentSeq(下次请求时应传入的currentSeq);contactCount(联系人数量);hasMore(是否有更多);contactList(联系人列表)"
  2759. },
  2760. {
  2761. "id": "label.contactEditLabel",
  2762. "module": "label",
  2763. "title": "客户标签-增删",
  2764. "summary": "客户标签-增删 客户标签说明 客户标签分为两类:企业标签、个人标签。 请求参数 labelIdList 、 labelSuperIdList 、 labelOwnerList 必须一一对应,且数组长度必须保持一致。",
  2765. "method": "/label/contactEditLabel",
  2766. "category": [
  2767. "API参考",
  2768. "客户管理",
  2769. "标签模块"
  2770. ],
  2771. "docFile": "客户标签-增删.md",
  2772. "tags": [
  2773. "客户标签-增删",
  2774. "label",
  2775. "标签模块",
  2776. "客户管理",
  2777. "API参考"
  2778. ],
  2779. "params": [
  2780. {
  2781. "name": "guid",
  2782. "in": "body",
  2783. "type": "string",
  2784. "required": true,
  2785. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  2786. },
  2787. {
  2788. "name": "opType",
  2789. "in": "body",
  2790. "type": "integer",
  2791. "required": true,
  2792. "desc": "1:增加成员 2:删除成员"
  2793. },
  2794. {
  2795. "name": "paramList",
  2796. "in": "body",
  2797. "type": "array",
  2798. "required": true,
  2799. "desc": "Param列表",
  2800. "children": [
  2801. {
  2802. "name": "labelIdList",
  2803. "in": "body",
  2804. "type": "array",
  2805. "required": false,
  2806. "desc": "标签id列表"
  2807. },
  2808. {
  2809. "name": "labelSuperIdList",
  2810. "in": "body",
  2811. "type": "array",
  2812. "required": false,
  2813. "desc": "个人标签所属的分组ID"
  2814. },
  2815. {
  2816. "name": "labelOwnerList",
  2817. "in": "body",
  2818. "type": "array",
  2819. "required": false,
  2820. "desc": "个人标签送标签创建人userId,企业标签送corpId"
  2821. },
  2822. {
  2823. "name": "userId",
  2824. "in": "body",
  2825. "type": "string",
  2826. "required": false,
  2827. "desc": "用户id"
  2828. }
  2829. ]
  2830. }
  2831. ]
  2832. },
  2833. {
  2834. "id": "room.enableChangeRoomName",
  2835. "module": "room",
  2836. "title": "开启群改名",
  2837. "summary": "开启群改名 设置是否允许群成员修改群名称。",
  2838. "method": "/room/enableChangeRoomName",
  2839. "category": [
  2840. "API参考",
  2841. "客户管理",
  2842. "群模块"
  2843. ],
  2844. "docFile": "开启群改名.md",
  2845. "tags": [
  2846. "群模块",
  2847. "room",
  2848. "客户管理",
  2849. "开启群改名",
  2850. "API参考"
  2851. ],
  2852. "params": [
  2853. {
  2854. "name": "guid",
  2855. "in": "body",
  2856. "type": "string",
  2857. "required": true,
  2858. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  2859. },
  2860. {
  2861. "name": "roomId",
  2862. "in": "body",
  2863. "type": "string",
  2864. "required": true,
  2865. "desc": "群聊 ID。"
  2866. },
  2867. {
  2868. "name": "newFlag",
  2869. "in": "body",
  2870. "type": "integer",
  2871. "required": true,
  2872. "desc": "从群详情/或群成员变动API中获取,注意区别roomFlag与roomNewFlag"
  2873. },
  2874. {
  2875. "name": "disable",
  2876. "in": "body",
  2877. "type": "boolean",
  2878. "required": true,
  2879. "desc": "是否开启"
  2880. }
  2881. ]
  2882. },
  2883. {
  2884. "id": "room.openInviteConfirm",
  2885. "module": "room",
  2886. "title": "开启群邀请确认",
  2887. "summary": "开启群邀请确认 提示: roomFlag 传错可能导致群其它状态错乱",
  2888. "method": "/room/openInviteConfirm",
  2889. "category": [
  2890. "API参考",
  2891. "客户管理",
  2892. "群模块"
  2893. ],
  2894. "docFile": "开启群邀请确认.md",
  2895. "tags": [
  2896. "群模块",
  2897. "room",
  2898. "开启群邀请确认",
  2899. "客户管理",
  2900. "API参考"
  2901. ],
  2902. "params": [
  2903. {
  2904. "name": "guid",
  2905. "in": "body",
  2906. "type": "string",
  2907. "required": true,
  2908. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  2909. },
  2910. {
  2911. "name": "roomId",
  2912. "in": "body",
  2913. "type": "string",
  2914. "required": true,
  2915. "desc": "群聊 ID。"
  2916. },
  2917. {
  2918. "name": "isOpen",
  2919. "in": "body",
  2920. "type": "boolean",
  2921. "required": true,
  2922. "desc": "是否开启"
  2923. },
  2924. {
  2925. "name": "roomFlag",
  2926. "in": "body",
  2927. "type": "integer",
  2928. "required": true,
  2929. "desc": "群原Flag,可通过群分页或群详情接口获取"
  2930. }
  2931. ]
  2932. },
  2933. {
  2934. "id": "client.restoreClient",
  2935. "module": "client",
  2936. "title": "恢复设备",
  2937. "summary": "恢复设备 • 离线后先调用此接口恢复设备,在调用二维码-获取(步骤2)进行登录扫码操作",
  2938. "method": "/client/restoreClient",
  2939. "category": [
  2940. "API参考",
  2941. "基础能力",
  2942. "登录模块"
  2943. ],
  2944. "docFile": "恢复设备.md",
  2945. "tags": [
  2946. "基础能力",
  2947. "恢复设备",
  2948. "登录模块",
  2949. "client",
  2950. "API参考"
  2951. ],
  2952. "params": [
  2953. {
  2954. "name": "guid",
  2955. "in": "body",
  2956. "type": "string",
  2957. "required": true,
  2958. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  2959. }
  2960. ]
  2961. },
  2962. {
  2963. "id": "room.agreeInviteByLink",
  2964. "module": "room",
  2965. "title": "接受群邀请-By链接",
  2966. "summary": "接受群邀请-By链接 通过群邀请链接加入群聊。",
  2967. "method": "/room/agreeInviteByLink",
  2968. "category": [
  2969. "API参考",
  2970. "客户管理",
  2971. "群模块"
  2972. ],
  2973. "docFile": "接受群邀请-By链接.md",
  2974. "tags": [
  2975. "群模块",
  2976. "room",
  2977. "客户管理",
  2978. "接受群邀请-By链接",
  2979. "API参考"
  2980. ],
  2981. "params": [
  2982. {
  2983. "name": "guid",
  2984. "in": "body",
  2985. "type": "string",
  2986. "required": true,
  2987. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  2988. },
  2989. {
  2990. "name": "joinCode",
  2991. "in": "body",
  2992. "type": "string",
  2993. "required": true,
  2994. "desc": "加入码"
  2995. },
  2996. {
  2997. "name": "joinType",
  2998. "in": "body",
  2999. "type": "integer",
  3000. "required": true,
  3001. "desc": "默认2,从回调处信息中获取"
  3002. }
  3003. ],
  3004. "responseHint": "data 字段:status(Success/InviteTicketUsed);roomId(Success时不为空);vid(Vid 标识)"
  3005. },
  3006. {
  3007. "id": "msg.revokeMsg",
  3008. "module": "msg",
  3009. "title": "撤回消息",
  3010. "summary": "撤回消息 查询群发助手可用规则与配额限制。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  3011. "method": "/msg/revokeMsg",
  3012. "category": [
  3013. "API参考",
  3014. "会话与消息",
  3015. "消息模块 "
  3016. ],
  3017. "docFile": "撤回消息.md",
  3018. "tags": [
  3019. "会话与消息",
  3020. "msg",
  3021. "消息模块 ",
  3022. "撤回消息",
  3023. "API参考"
  3024. ],
  3025. "params": [
  3026. {
  3027. "name": "guid",
  3028. "in": "body",
  3029. "type": "string",
  3030. "required": true,
  3031. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  3032. },
  3033. {
  3034. "name": "chatId",
  3035. "in": "body",
  3036. "type": "string",
  3037. "required": true,
  3038. "desc": "会话id,=sessionId"
  3039. },
  3040. {
  3041. "name": "msgServerId",
  3042. "in": "body",
  3043. "type": "integer",
  3044. "required": true,
  3045. "desc": "消息id"
  3046. }
  3047. ]
  3048. },
  3049. {
  3050. "id": "cloud.cdnWxDownload",
  3051. "module": "cloud",
  3052. "title": "文件CDN转URL",
  3053. "summary": "文件CDN转URL - 返回响应地址是官方CDN地址",
  3054. "method": "/cloud/cdnWxDownload",
  3055. "category": [
  3056. "API参考",
  3057. "媒体与运营",
  3058. "文件与媒体(下载",
  3059. "上传)"
  3060. ],
  3061. "docFile": "文件CDN转URL.md",
  3062. "tags": [
  3063. "文件与媒体(下载",
  3064. "上传)",
  3065. "文件CDN转URL",
  3066. "cloud",
  3067. "媒体与运营",
  3068. "API参考"
  3069. ],
  3070. "params": [
  3071. {
  3072. "name": "guid",
  3073. "in": "body",
  3074. "type": "string",
  3075. "required": true,
  3076. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  3077. },
  3078. {
  3079. "name": "fileAeskey",
  3080. "in": "body",
  3081. "type": "string",
  3082. "required": true,
  3083. "desc": "文件Aeskey"
  3084. },
  3085. {
  3086. "name": "fileId",
  3087. "in": "body",
  3088. "type": "string",
  3089. "required": true,
  3090. "desc": "文件 ID"
  3091. },
  3092. {
  3093. "name": "fileMd5",
  3094. "in": "body",
  3095. "type": "string",
  3096. "required": true,
  3097. "desc": "文件 MD5"
  3098. }
  3099. ],
  3100. "responseHint": "data 字段:coverUrl(缩略图url);fileUrl(原图url);fileMd5(原图md5)"
  3101. },
  3102. {
  3103. "id": "cloud.cloudUpload",
  3104. "module": "cloud",
  3105. "title": "文件上传-SDK云存储",
  3106. "summary": "文件上传-SDK云存储 此接口只是单纯将文件上传到sdk配置对象内容存储服务上,并不会和企业微信服务API交互!!! 此接口上传数据只能做用短期临时存储,所有数据会定期全部清理",
  3107. "method": "/cloud/cloudUpload",
  3108. "category": [
  3109. "API参考",
  3110. "媒体与运营",
  3111. "文件与媒体(下载",
  3112. "上传)"
  3113. ],
  3114. "docFile": "文件上传-SDK云存储.md",
  3115. "tags": [
  3116. "文件上传-SDK云存储",
  3117. "文件与媒体(下载",
  3118. "上传)",
  3119. "cloud",
  3120. "媒体与运营",
  3121. "API参考"
  3122. ],
  3123. "params": [
  3124. {
  3125. "name": "guid",
  3126. "in": "body",
  3127. "type": "string",
  3128. "required": true,
  3129. "desc": "实例id"
  3130. },
  3131. {
  3132. "name": "file",
  3133. "in": "body",
  3134. "type": "string",
  3135. "required": true,
  3136. "desc": "文件"
  3137. }
  3138. ],
  3139. "apiPath": "/api/qw/doFileApi",
  3140. "contentType": "multipart/form-data",
  3141. "flatParams": true,
  3142. "responseHint": "data 字段:cloudUrl(云端文件地址。)"
  3143. },
  3144. {
  3145. "id": "cloud.cdnBigUploadByUrl",
  3146. "module": "cloud",
  3147. "title": "文件上传-URL",
  3148. "summary": "文件上传-URL 通过 URL 上传文件到云端,获取后续消息发送所需的文件标识。",
  3149. "method": "/cloud/cdnBigUploadByUrl",
  3150. "category": [
  3151. "API参考",
  3152. "媒体与运营",
  3153. "文件与媒体(下载",
  3154. "上传)"
  3155. ],
  3156. "docFile": "文件上传-URL.md",
  3157. "tags": [
  3158. "文件与媒体(下载",
  3159. "上传)",
  3160. "cloud",
  3161. "文件上传-URL",
  3162. "媒体与运营",
  3163. "API参考"
  3164. ],
  3165. "params": [
  3166. {
  3167. "name": "guid",
  3168. "in": "body",
  3169. "type": "string",
  3170. "required": true,
  3171. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  3172. },
  3173. {
  3174. "name": "filename",
  3175. "in": "body",
  3176. "type": "string",
  3177. "required": true,
  3178. "desc": "文件名"
  3179. },
  3180. {
  3181. "name": "fileUrl",
  3182. "in": "body",
  3183. "type": "string",
  3184. "required": true,
  3185. "desc": "文件链接"
  3186. },
  3187. {
  3188. "name": "fileType",
  3189. "in": "body",
  3190. "type": "integer",
  3191. "required": true,
  3192. "desc": "1: jpg图片4: mp4视频5: 文件(也包括语音amr文件)"
  3193. }
  3194. ],
  3195. "responseHint": "data 字段:fileId(文件 ID);fileKey(文件Key);fileMd5(文件 MD5);fileSize(文件大小);fileThumbSize(文件缩略图尺寸);cloudUrl(云端文件地址。);fileAesKey(文件密钥);filename(文件名)"
  3196. },
  3197. {
  3198. "id": "sns.upload",
  3199. "module": "sns",
  3200. "title": "文件上传",
  3201. "summary": "文件上传 调用 文件上传 完成相关操作。",
  3202. "method": "/sns/upload",
  3203. "category": [
  3204. "API参考",
  3205. "媒体与运营",
  3206. "朋友圈模块"
  3207. ],
  3208. "docFile": "文件上传.md",
  3209. "tags": [
  3210. "sns",
  3211. "朋友圈模块",
  3212. "文件上传",
  3213. "媒体与运营",
  3214. "API参考"
  3215. ],
  3216. "params": [
  3217. {
  3218. "name": "guid",
  3219. "in": "body",
  3220. "type": "string",
  3221. "required": true
  3222. },
  3223. {
  3224. "name": "file",
  3225. "in": "body",
  3226. "type": "string",
  3227. "required": true
  3228. },
  3229. {
  3230. "name": "fileType",
  3231. "in": "body",
  3232. "type": "integer",
  3233. "required": true,
  3234. "desc": "文件类型1: 图片2: 视频3: 视频缩略图"
  3235. }
  3236. ],
  3237. "apiPath": "/api/qw/doFileApi",
  3238. "contentType": "multipart/form-data",
  3239. "flatParams": true,
  3240. "responseHint": "data 字段:fileId(文件 ID);fileKey(文件Key);fileMd5(文件md5值);fileSize(文件大小);cloudUrl(云端文件地址。);fileConvertId(发送朋友圈消息、聊天消息时取此字段=fileId);fileWidth(图片格式:jpg,png,gif 时有值);fileHeight(图片格式:jpg,png,gif 时有值);previewImgUrl(预览图片链接);PreviewImgSize(预览图片尺寸);duration(视频时长,单位:秒)"
  3241. },
  3242. {
  3243. "id": "user.setProfile",
  3244. "module": "user",
  3245. "title": "更新个人信息",
  3246. "summary": "更新个人信息 修改当前账号的可编辑个人资料字段。",
  3247. "method": "/user/setProfile",
  3248. "category": [
  3249. "API参考",
  3250. "基础能力",
  3251. "个人模块"
  3252. ],
  3253. "docFile": "更新个人信息.md",
  3254. "tags": [
  3255. "基础能力",
  3256. "更新个人信息",
  3257. "user",
  3258. "个人模块",
  3259. "API参考"
  3260. ],
  3261. "params": [
  3262. {
  3263. "name": "guid",
  3264. "in": "body",
  3265. "type": "string",
  3266. "required": true,
  3267. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  3268. },
  3269. {
  3270. "name": "name",
  3271. "in": "body",
  3272. "type": "string",
  3273. "required": true,
  3274. "desc": "名字"
  3275. },
  3276. {
  3277. "name": "alias",
  3278. "in": "body",
  3279. "type": "string",
  3280. "required": true,
  3281. "desc": "别名"
  3282. },
  3283. {
  3284. "name": "email",
  3285. "in": "body",
  3286. "type": "string",
  3287. "required": true,
  3288. "desc": "邮箱"
  3289. },
  3290. {
  3291. "name": "mobile",
  3292. "in": "body",
  3293. "type": "string",
  3294. "required": true,
  3295. "desc": "手机号"
  3296. },
  3297. {
  3298. "name": "address",
  3299. "in": "body",
  3300. "type": "string",
  3301. "required": true,
  3302. "desc": "地址"
  3303. },
  3304. {
  3305. "name": "gender",
  3306. "in": "body",
  3307. "type": "integer",
  3308. "required": true,
  3309. "desc": "性别"
  3310. }
  3311. ]
  3312. },
  3313. {
  3314. "id": "sns.getSnsRecord",
  3315. "module": "sns",
  3316. "title": "朋友圈列表分页",
  3317. "summary": "朋友圈列表分页 分页查询朋友圈动态列表。",
  3318. "method": "/sns/getSnsRecord",
  3319. "category": [
  3320. "API参考",
  3321. "媒体与运营",
  3322. "朋友圈模块"
  3323. ],
  3324. "docFile": "朋友圈列表分页.md",
  3325. "tags": [
  3326. "sns",
  3327. "朋友圈模块",
  3328. "朋友圈列表分页",
  3329. "媒体与运营",
  3330. "API参考"
  3331. ],
  3332. "params": [
  3333. {
  3334. "name": "guid",
  3335. "in": "body",
  3336. "type": "string",
  3337. "required": true,
  3338. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  3339. },
  3340. {
  3341. "name": "maxSeq",
  3342. "in": "body",
  3343. "type": "integer",
  3344. "required": true,
  3345. "desc": "查询 maxSeq 时间戳(毫秒) 之前发布的朋友圈;0:查全部"
  3346. },
  3347. {
  3348. "name": "limit",
  3349. "in": "body",
  3350. "type": "integer",
  3351. "required": true,
  3352. "desc": "每页数量"
  3353. }
  3354. ],
  3355. "responseHint": "data 字段:snsDetailList(朋友圈Detail列表)"
  3356. },
  3357. {
  3358. "id": "cloud.cdnBigUpload",
  3359. "module": "cloud",
  3360. "title": "本地文件上传",
  3361. "summary": "本地文件上传 提示: 上传文件超过2M,建议试用异步上传 :::",
  3362. "method": "/cloud/cdnBigUpload",
  3363. "category": [
  3364. "API参考",
  3365. "媒体与运营",
  3366. "文件与媒体(下载",
  3367. "上传)"
  3368. ],
  3369. "docFile": "本地文件上传.md",
  3370. "tags": [
  3371. "文件与媒体(下载",
  3372. "本地文件上传",
  3373. "上传)",
  3374. "cloud",
  3375. "媒体与运营",
  3376. "API参考"
  3377. ],
  3378. "params": [
  3379. {
  3380. "name": "guid",
  3381. "in": "body",
  3382. "type": "string",
  3383. "required": true,
  3384. "desc": "实例id"
  3385. },
  3386. {
  3387. "name": "file",
  3388. "in": "body",
  3389. "type": "string",
  3390. "required": true,
  3391. "desc": "文件"
  3392. },
  3393. {
  3394. "name": "fileType",
  3395. "in": "body",
  3396. "type": "integer",
  3397. "required": true,
  3398. "desc": "1: jpg图片4: mp4视频5: 文件(也包括语音amr文件)"
  3399. }
  3400. ],
  3401. "apiPath": "/api/qw/doFileApi",
  3402. "contentType": "multipart/form-data",
  3403. "flatParams": true,
  3404. "responseHint": "data 字段:fileAesKey(文件密钥);fileId(文件 ID);fileKey(文件Key);fileMd5(文件md5值);fileSize(文件大小);fileThumbSize(文件缩略图尺寸);filename(文件名称);cloudUrl(云端文件地址。)"
  3405. },
  3406. {
  3407. "id": "user.getCorpInfo",
  3408. "module": "user",
  3409. "title": "查询企业信息",
  3410. "summary": "查询企业信息 查询当前账号所属企业的基本信息。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  3411. "method": "/user/getCorpInfo",
  3412. "category": [
  3413. "API参考",
  3414. "基础能力",
  3415. "个人模块"
  3416. ],
  3417. "docFile": "查询企业信息.md",
  3418. "tags": [
  3419. "基础能力",
  3420. "user",
  3421. "个人模块",
  3422. "查询企业信息",
  3423. "API参考"
  3424. ],
  3425. "params": [
  3426. {
  3427. "name": "guid",
  3428. "in": "body",
  3429. "type": "string",
  3430. "required": true,
  3431. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  3432. },
  3433. {
  3434. "name": "corpIdList",
  3435. "in": "body",
  3436. "type": "array",
  3437. "required": true,
  3438. "desc": "默认为空时,查询当前账号企业"
  3439. }
  3440. ],
  3441. "responseHint": "data 字段:corpAdminId(企业管理员Id);corpCreateTime(创建时间);corpFullName(企业主体名称);corpId(企业ID);corpName(企业全称);corpOwnerName(企业负责人名称);corpLogo(企业 Logo URL。);corpDesc(企业描述)"
  3442. },
  3443. {
  3444. "id": "contact.addSearchWxContact",
  3445. "module": "contact",
  3446. "title": "添加个微",
  3447. "summary": "添加个微 通过搜索结果,添加个人微信为外部联系人。",
  3448. "method": "/contact/addSearchWxContact",
  3449. "category": [
  3450. "API参考",
  3451. "客户管理",
  3452. "联系人模块"
  3453. ],
  3454. "docFile": "添加个微.md",
  3455. "tags": [
  3456. "contact",
  3457. "联系人模块",
  3458. "客户管理",
  3459. "添加个微",
  3460. "API参考"
  3461. ],
  3462. "params": [
  3463. {
  3464. "name": "guid",
  3465. "in": "body",
  3466. "type": "string",
  3467. "required": true,
  3468. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  3469. },
  3470. {
  3471. "name": "userId",
  3472. "in": "body",
  3473. "type": "string",
  3474. "required": true,
  3475. "desc": "用户id"
  3476. },
  3477. {
  3478. "name": "unionId",
  3479. "in": "body",
  3480. "type": "string",
  3481. "required": true,
  3482. "desc": "用户unionId"
  3483. },
  3484. {
  3485. "name": "verifyText",
  3486. "in": "body",
  3487. "type": "string",
  3488. "required": true,
  3489. "desc": "验证消息"
  3490. }
  3491. ]
  3492. },
  3493. {
  3494. "id": "contact.addSearchWxWorkContact",
  3495. "module": "contact",
  3496. "title": "添加企微",
  3497. "summary": "添加企微 通过搜索结果,添加企业微信联系人。",
  3498. "method": "/contact/addSearchWxWorkContact",
  3499. "category": [
  3500. "API参考",
  3501. "客户管理",
  3502. "联系人模块"
  3503. ],
  3504. "docFile": "添加企微.md",
  3505. "tags": [
  3506. "contact",
  3507. "添加企微",
  3508. "联系人模块",
  3509. "客户管理",
  3510. "API参考"
  3511. ],
  3512. "params": [
  3513. {
  3514. "name": "guid",
  3515. "in": "body",
  3516. "type": "string",
  3517. "required": true,
  3518. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  3519. },
  3520. {
  3521. "name": "userId",
  3522. "in": "body",
  3523. "type": "string",
  3524. "required": true,
  3525. "desc": "用户id"
  3526. },
  3527. {
  3528. "name": "corpId",
  3529. "in": "body",
  3530. "type": "string",
  3531. "required": true,
  3532. "desc": "企业 ID。"
  3533. },
  3534. {
  3535. "name": "ticket",
  3536. "in": "body",
  3537. "type": "string",
  3538. "required": true,
  3539. "desc": "Ticket 凭证"
  3540. },
  3541. {
  3542. "name": "verifyText",
  3543. "in": "body",
  3544. "type": "string",
  3545. "required": true,
  3546. "desc": "验证消息"
  3547. }
  3548. ]
  3549. },
  3550. {
  3551. "id": "contact.addCardContact",
  3552. "module": "contact",
  3553. "title": "添加企微名片",
  3554. "summary": "添加企微名片 通过企微名片添加联系人。",
  3555. "method": "/contact/addCardContact",
  3556. "category": [
  3557. "API参考",
  3558. "客户管理",
  3559. "联系人模块"
  3560. ],
  3561. "docFile": "添加企微名片.md",
  3562. "tags": [
  3563. "contact",
  3564. "添加企微名片",
  3565. "联系人模块",
  3566. "客户管理",
  3567. "API参考"
  3568. ],
  3569. "params": [
  3570. {
  3571. "name": "guid",
  3572. "in": "body",
  3573. "type": "string",
  3574. "required": true,
  3575. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  3576. },
  3577. {
  3578. "name": "presenterId",
  3579. "in": "body",
  3580. "type": "string",
  3581. "required": true,
  3582. "desc": "推荐者userid"
  3583. },
  3584. {
  3585. "name": "fromRoomId",
  3586. "in": "body",
  3587. "type": "string",
  3588. "required": true,
  3589. "desc": "接收人id"
  3590. },
  3591. {
  3592. "name": "userId",
  3593. "in": "body",
  3594. "type": "string",
  3595. "required": true,
  3596. "desc": "用户id"
  3597. },
  3598. {
  3599. "name": "verifyText",
  3600. "in": "body",
  3601. "type": "string",
  3602. "required": true,
  3603. "desc": "验证消息"
  3604. }
  3605. ]
  3606. },
  3607. {
  3608. "id": "contact.addDeletedContact",
  3609. "module": "contact",
  3610. "title": "添加删除联系人",
  3611. "summary": "添加删除联系人 - 该场景适用于好友已将您删除,需您主动重新发起好友验证申请。",
  3612. "method": "/contact/addDeletedContact",
  3613. "category": [
  3614. "API参考",
  3615. "客户管理",
  3616. "联系人模块"
  3617. ],
  3618. "docFile": "添加删除联系人.md",
  3619. "tags": [
  3620. "contact",
  3621. "添加删除联系人",
  3622. "联系人模块",
  3623. "客户管理",
  3624. "API参考"
  3625. ],
  3626. "params": [
  3627. {
  3628. "name": "guid",
  3629. "in": "body",
  3630. "type": "string",
  3631. "required": true,
  3632. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  3633. },
  3634. {
  3635. "name": "userId",
  3636. "in": "body",
  3637. "type": "string",
  3638. "required": true,
  3639. "desc": "用户id"
  3640. },
  3641. {
  3642. "name": "verifyText",
  3643. "in": "body",
  3644. "type": "string",
  3645. "required": true,
  3646. "desc": "验证消息"
  3647. }
  3648. ]
  3649. },
  3650. {
  3651. "id": "contact.addRoomContact",
  3652. "module": "contact",
  3653. "title": "添加群成员好友",
  3654. "summary": "添加群成员好友 添加群成员为好友。",
  3655. "method": "/contact/addRoomContact",
  3656. "category": [
  3657. "API参考",
  3658. "客户管理",
  3659. "联系人模块"
  3660. ],
  3661. "docFile": "添加群成员好友.md",
  3662. "tags": [
  3663. "contact",
  3664. "添加群成员好友",
  3665. "联系人模块",
  3666. "客户管理",
  3667. "API参考"
  3668. ],
  3669. "params": [
  3670. {
  3671. "name": "guid",
  3672. "in": "body",
  3673. "type": "string",
  3674. "required": true,
  3675. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  3676. },
  3677. {
  3678. "name": "userId",
  3679. "in": "body",
  3680. "type": "string",
  3681. "required": true,
  3682. "desc": "用户id"
  3683. },
  3684. {
  3685. "name": "verifyText",
  3686. "in": "body",
  3687. "type": "string",
  3688. "required": true,
  3689. "desc": "验证消息"
  3690. },
  3691. {
  3692. "name": "roomId",
  3693. "in": "body",
  3694. "type": "string",
  3695. "required": true,
  3696. "desc": "群聊 ID。"
  3697. }
  3698. ]
  3699. },
  3700. {
  3701. "id": "room.roomAddAdmin",
  3702. "module": "room",
  3703. "title": "添加群管理员",
  3704. "summary": "添加群管理员 为群聊添加管理员。",
  3705. "method": "/room/roomAddAdmin",
  3706. "category": [
  3707. "API参考",
  3708. "客户管理",
  3709. "群模块"
  3710. ],
  3711. "docFile": "添加群管理员.md",
  3712. "tags": [
  3713. "群模块",
  3714. "room",
  3715. "添加群管理员",
  3716. "客户管理",
  3717. "API参考"
  3718. ],
  3719. "params": [
  3720. {
  3721. "name": "guid",
  3722. "in": "body",
  3723. "type": "string",
  3724. "required": true,
  3725. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  3726. },
  3727. {
  3728. "name": "roomId",
  3729. "in": "body",
  3730. "type": "string",
  3731. "required": true,
  3732. "desc": "群聊 ID。"
  3733. },
  3734. {
  3735. "name": "memberList",
  3736. "in": "body",
  3737. "type": "array",
  3738. "required": true,
  3739. "desc": "成员列表。"
  3740. }
  3741. ]
  3742. },
  3743. {
  3744. "id": "sns.snsLike",
  3745. "module": "sns",
  3746. "title": "点赞/取消赞",
  3747. "summary": "点赞/取消赞 下载企微/个微文件资源,或将 CDN 文件转为可访问 URL。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  3748. "method": "/sns/snsLike",
  3749. "category": [
  3750. "API参考",
  3751. "媒体与运营",
  3752. "朋友圈模块"
  3753. ],
  3754. "docFile": "点赞_取消赞.md",
  3755. "tags": [
  3756. "sns",
  3757. "朋友圈模块",
  3758. "点赞/取消赞",
  3759. "媒体与运营",
  3760. "API参考"
  3761. ],
  3762. "params": [
  3763. {
  3764. "name": "guid",
  3765. "in": "body",
  3766. "type": "string",
  3767. "required": true,
  3768. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  3769. },
  3770. {
  3771. "name": "snsId",
  3772. "in": "body",
  3773. "type": "number",
  3774. "required": true,
  3775. "desc": "朋友圈Id"
  3776. },
  3777. {
  3778. "name": "snsStatus",
  3779. "in": "body",
  3780. "type": "integer",
  3781. "required": true,
  3782. "desc": "0点赞,1取消点赞"
  3783. }
  3784. ]
  3785. },
  3786. {
  3787. "id": "user.getQrcodeCard",
  3788. "module": "user",
  3789. "title": "生成二维码",
  3790. "summary": "生成二维码 生成当前账号的个人二维码名片,可用于展示或分享。",
  3791. "method": "/user/getQrcodeCard",
  3792. "category": [
  3793. "API参考",
  3794. "基础能力",
  3795. "个人模块"
  3796. ],
  3797. "docFile": "生成二维码.md",
  3798. "tags": [
  3799. "基础能力",
  3800. "user",
  3801. "生成二维码",
  3802. "个人模块",
  3803. "API参考"
  3804. ],
  3805. "params": [
  3806. {
  3807. "name": "guid",
  3808. "in": "body",
  3809. "type": "string",
  3810. "required": true,
  3811. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  3812. }
  3813. ],
  3814. "responseHint": "data 字段:qrcodeUrl(二维码地址)"
  3815. },
  3816. {
  3817. "id": "login.checkLogin",
  3818. "module": "login",
  3819. "title": "用户状态",
  3820. "summary": "用户状态 用于查询指定设备的当前登录状态,确认是否已在线。",
  3821. "method": "/login/checkLogin",
  3822. "category": [
  3823. "API参考",
  3824. "基础能力",
  3825. "登录模块"
  3826. ],
  3827. "docFile": "用户状态.md",
  3828. "tags": [
  3829. "基础能力",
  3830. "登录模块",
  3831. "用户状态",
  3832. "login",
  3833. "API参考"
  3834. ],
  3835. "params": [
  3836. {
  3837. "name": "guid",
  3838. "in": "body",
  3839. "type": "string",
  3840. "required": true,
  3841. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  3842. }
  3843. ],
  3844. "responseHint": "data 字段:errorCode(错误码);errorMsg(错误消息);userId(用户id);lastActiveTime(最后活跃时间);userOnlineStatus(=-1 未登陆,需要扫码登陆 =0 未登陆,可免扫码登陆 =1 已扫码,待确认 =2 登陆成功 =4 用户取消登陆 =10 已扫码确认,待检测6位验证码);corpLogo(企业 Logo URL。);corpName(公司名称);nickname(昵称)"
  3845. },
  3846. {
  3847. "id": "login.manualLogin",
  3848. "module": "login",
  3849. "title": "用户登录(免扫码登录)",
  3850. "summary": "用户登录(免扫码登录) • 无特殊情况下,无需调用此接口。• 使用条件: 该设备( GUID )之前扫码登录过,且手机端没有剔除该设备。",
  3851. "method": "/login/manualLogin",
  3852. "category": [
  3853. "API参考",
  3854. "基础能力",
  3855. "登录模块"
  3856. ],
  3857. "docFile": "用户登录(免扫码登录).md",
  3858. "tags": [
  3859. "基础能力",
  3860. "登录模块",
  3861. "用户登录(免扫码登录)",
  3862. "login",
  3863. "API参考"
  3864. ],
  3865. "params": [
  3866. {
  3867. "name": "guid",
  3868. "in": "body",
  3869. "type": "string",
  3870. "required": true,
  3871. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  3872. }
  3873. ]
  3874. },
  3875. {
  3876. "id": "room.prohibitAddMember",
  3877. "module": "room",
  3878. "title": "禁止群成员互相添加",
  3879. "summary": "禁止群成员互相添加 设置是否禁止群成员互相添加好友。",
  3880. "method": "/room/prohibitAddMember",
  3881. "category": [
  3882. "API参考",
  3883. "客户管理",
  3884. "群模块"
  3885. ],
  3886. "docFile": "禁止群成员互相添加.md",
  3887. "tags": [
  3888. "禁止群成员互相添加",
  3889. "群模块",
  3890. "room",
  3891. "客户管理",
  3892. "API参考"
  3893. ],
  3894. "params": [
  3895. {
  3896. "name": "guid",
  3897. "in": "body",
  3898. "type": "string",
  3899. "required": true,
  3900. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  3901. },
  3902. {
  3903. "name": "roomId",
  3904. "in": "body",
  3905. "type": "string",
  3906. "required": true,
  3907. "desc": "群聊 ID。"
  3908. },
  3909. {
  3910. "name": "disable",
  3911. "in": "body",
  3912. "type": "boolean",
  3913. "required": true,
  3914. "desc": "是否禁止"
  3915. },
  3916. {
  3917. "name": "newFlag",
  3918. "in": "body",
  3919. "type": "integer",
  3920. "required": true,
  3921. "desc": "从群详情/或群成员变动API中获取,注意区别roomFlag与roomNewFlag"
  3922. }
  3923. ]
  3924. },
  3925. {
  3926. "id": "room.prohibitChangeRoomName",
  3927. "module": "room",
  3928. "title": "禁止群改名",
  3929. "summary": "禁止群改名 禁止群成员修改群名称。",
  3930. "method": "/room/prohibitChangeRoomName",
  3931. "category": [
  3932. "API参考",
  3933. "客户管理",
  3934. "群模块"
  3935. ],
  3936. "docFile": "禁止群改名.md",
  3937. "tags": [
  3938. "群模块",
  3939. "room",
  3940. "禁止群改名",
  3941. "客户管理",
  3942. "API参考"
  3943. ],
  3944. "params": [
  3945. {
  3946. "name": "guid",
  3947. "in": "body",
  3948. "type": "string",
  3949. "required": true,
  3950. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  3951. },
  3952. {
  3953. "name": "roomId",
  3954. "in": "body",
  3955. "type": "string",
  3956. "required": true,
  3957. "desc": "目标群聊 ID,可通过群分页或群详情接口获取 roomId"
  3958. },
  3959. {
  3960. "name": "newFlag",
  3961. "in": "body",
  3962. "type": "integer",
  3963. "required": true,
  3964. "desc": "是否禁止"
  3965. },
  3966. {
  3967. "name": "disable",
  3968. "in": "body",
  3969. "type": "boolean",
  3970. "required": true,
  3971. "desc": "从群详情/或群成员变动API中获取,注意区别roomFlag与roomNewFlag"
  3972. }
  3973. ]
  3974. },
  3975. {
  3976. "id": "room.removeRoomMember",
  3977. "module": "room",
  3978. "title": "移除成员",
  3979. "summary": "移除成员 将成员移出群聊。",
  3980. "method": "/room/removeRoomMember",
  3981. "category": [
  3982. "API参考",
  3983. "客户管理",
  3984. "群模块"
  3985. ],
  3986. "docFile": "移除成员.md",
  3987. "tags": [
  3988. "群模块",
  3989. "room",
  3990. "移除成员",
  3991. "客户管理",
  3992. "API参考"
  3993. ],
  3994. "params": [
  3995. {
  3996. "name": "guid",
  3997. "in": "body",
  3998. "type": "string",
  3999. "required": true,
  4000. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4001. },
  4002. {
  4003. "name": "roomId",
  4004. "in": "body",
  4005. "type": "string",
  4006. "required": true,
  4007. "desc": "群聊 ID。"
  4008. },
  4009. {
  4010. "name": "isOuterRoom",
  4011. "in": "body",
  4012. "type": "integer",
  4013. "required": true,
  4014. "desc": "是否外部群"
  4015. },
  4016. {
  4017. "name": "memberList",
  4018. "in": "body",
  4019. "type": "array",
  4020. "required": true,
  4021. "desc": "成员列表。"
  4022. }
  4023. ]
  4024. },
  4025. {
  4026. "id": "room.getRoomQrCode",
  4027. "module": "room",
  4028. "title": "群二维码",
  4029. "summary": "群二维码 获取群聊邀请二维码,可用于分享入群。",
  4030. "method": "/room/getRoomQrCode",
  4031. "category": [
  4032. "API参考",
  4033. "客户管理",
  4034. "群模块"
  4035. ],
  4036. "docFile": "群二维码.md",
  4037. "tags": [
  4038. "群模块",
  4039. "群二维码",
  4040. "room",
  4041. "客户管理",
  4042. "API参考"
  4043. ],
  4044. "params": [
  4045. {
  4046. "name": "guid",
  4047. "in": "body",
  4048. "type": "string",
  4049. "required": true,
  4050. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4051. },
  4052. {
  4053. "name": "roomId",
  4054. "in": "body",
  4055. "type": "string",
  4056. "required": true,
  4057. "desc": "群聊 ID。"
  4058. }
  4059. ],
  4060. "responseHint": "data 字段:qrcodeData(二维码数据);roomHeadimgUrl(群Headimg链接)"
  4061. },
  4062. {
  4063. "id": "room.getRoomList",
  4064. "module": "room",
  4065. "title": "群分页",
  4066. "summary": "群分页 本接口仅支持查询本人创建的群组。如需查询全部群组,需结合 会话分页 接口使用,包含已保存至通讯录的群聊及其他临时群会话。 sessionType=1 时为群 id。",
  4067. "method": "/room/getRoomList",
  4068. "category": [
  4069. "API参考",
  4070. "客户管理",
  4071. "群模块"
  4072. ],
  4073. "docFile": "群分页.md",
  4074. "tags": [
  4075. "群模块",
  4076. "群分页",
  4077. "room",
  4078. "客户管理",
  4079. "API参考"
  4080. ],
  4081. "params": [
  4082. {
  4083. "name": "guid",
  4084. "in": "body",
  4085. "type": "string",
  4086. "required": true,
  4087. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4088. },
  4089. {
  4090. "name": "nextStartIndex",
  4091. "in": "body",
  4092. "type": "integer",
  4093. "required": true,
  4094. "desc": "分页使用,首次传0,下次传入返回值nextStartIndex"
  4095. }
  4096. ],
  4097. "responseHint": "data 字段:hasMore(是否有更多);nextStartIndex(下次请求时应传入的nextStartIndex);roomCount(数量);roomList(群列表。)"
  4098. },
  4099. {
  4100. "id": "msg.sendGroupMsgStatus",
  4101. "module": "msg",
  4102. "title": "群发助手-状态查询",
  4103. "summary": "群发助手-状态查询 删除朋友圈动态下的指定评论。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  4104. "method": "/msg/sendGroupMsgStatus",
  4105. "category": [
  4106. "API参考",
  4107. "会话与消息",
  4108. "消息模块 "
  4109. ],
  4110. "docFile": "群发助手-状态查询.md",
  4111. "tags": [
  4112. "会话与消息",
  4113. "群发助手-状态查询",
  4114. "msg",
  4115. "消息模块 ",
  4116. "API参考"
  4117. ],
  4118. "params": [
  4119. {
  4120. "name": "guid",
  4121. "in": "body",
  4122. "type": "string",
  4123. "required": true,
  4124. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4125. },
  4126. {
  4127. "name": "groupMsgId",
  4128. "in": "body",
  4129. "type": "string",
  4130. "required": true,
  4131. "desc": "群发消息id"
  4132. },
  4133. {
  4134. "name": "endDetailId",
  4135. "in": "body",
  4136. "type": "integer",
  4137. "required": true,
  4138. "desc": "用户状态列表最大查询量"
  4139. }
  4140. ],
  4141. "responseHint": "data 字段:customerList(用户状态列表);hasSend(是否发送);isEnd(是否End);total(总数)"
  4142. },
  4143. {
  4144. "id": "msg.sendGroupMsgRule",
  4145. "module": "msg",
  4146. "title": "群发助手-规则查询",
  4147. "summary": "群发助手-规则查询 对个人标签进行新增、修改或删除操作。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  4148. "method": "/msg/sendGroupMsgRule",
  4149. "category": [
  4150. "API参考",
  4151. "会话与消息",
  4152. "消息模块 "
  4153. ],
  4154. "docFile": "群发助手-规则查询.md",
  4155. "tags": [
  4156. "会话与消息",
  4157. "msg",
  4158. "消息模块 ",
  4159. "群发助手-规则查询",
  4160. "API参考"
  4161. ],
  4162. "params": [
  4163. {
  4164. "name": "guid",
  4165. "in": "body",
  4166. "type": "string",
  4167. "required": true,
  4168. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4169. }
  4170. ],
  4171. "responseHint": "data 字段:type(1=每日可接收1条;2=每周可接收7条;3=每月可接收条数为当月天数)"
  4172. },
  4173. {
  4174. "id": "msg.sendGroupMsg",
  4175. "module": "msg",
  4176. "title": "群发助手发送",
  4177. "summary": "群发助手发送 对朋友圈动态发表评论或追评。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  4178. "method": "/msg/sendGroupMsg",
  4179. "category": [
  4180. "API参考",
  4181. "会话与消息",
  4182. "消息模块 "
  4183. ],
  4184. "docFile": "群发助手发送.md",
  4185. "tags": [
  4186. "会话与消息",
  4187. "群发助手发送",
  4188. "msg",
  4189. "消息模块 ",
  4190. "API参考"
  4191. ],
  4192. "params": [
  4193. {
  4194. "name": "guid",
  4195. "in": "body",
  4196. "type": "string",
  4197. "required": true,
  4198. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4199. },
  4200. {
  4201. "name": "msgList",
  4202. "in": "body",
  4203. "type": "array",
  4204. "required": true,
  4205. "desc": "消息列表",
  4206. "children": [
  4207. {
  4208. "name": "msgData",
  4209. "in": "body",
  4210. "type": "object",
  4211. "required": false,
  4212. "desc": "【与发送消息里面的字段相同, 不需要'toId'这个字段】",
  4213. "children": [
  4214. {
  4215. "name": "content",
  4216. "in": "body",
  4217. "type": "string",
  4218. "required": true
  4219. }
  4220. ]
  4221. },
  4222. {
  4223. "name": "type",
  4224. "in": "body",
  4225. "type": "integer",
  4226. "required": false,
  4227. "desc": "0: 文本 13: 链接 14: 图片 15: 文件 23: 视频 78: 小程序"
  4228. }
  4229. ]
  4230. },
  4231. {
  4232. "name": "sendType",
  4233. "in": "body",
  4234. "type": "integer",
  4235. "required": true,
  4236. "desc": "0: 表示外部联系人 1: 表示外部群"
  4237. },
  4238. {
  4239. "name": "toIdList",
  4240. "in": "body",
  4241. "type": "array",
  4242. "required": true,
  4243. "desc": "发送成员列表"
  4244. }
  4245. ],
  4246. "responseHint": "data 字段:groupMsgId(分组消息Id)"
  4247. },
  4248. {
  4249. "id": "room.getRoomIncrSync",
  4250. "module": "room",
  4251. "title": "群成员变动查询",
  4252. "summary": "群成员变动查询 •用于解决群成员数量较多时,添加、删除成员同步成本高、工作量大的问题。",
  4253. "method": "/room/getRoomIncrSync",
  4254. "category": [
  4255. "API参考",
  4256. "客户管理",
  4257. "群模块"
  4258. ],
  4259. "docFile": "群成员变动查询.md",
  4260. "tags": [
  4261. "群成员变动查询",
  4262. "群模块",
  4263. "room",
  4264. "客户管理",
  4265. "API参考"
  4266. ],
  4267. "params": [
  4268. {
  4269. "name": "guid",
  4270. "in": "body",
  4271. "type": "string",
  4272. "required": true,
  4273. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4274. },
  4275. {
  4276. "name": "roomId",
  4277. "in": "body",
  4278. "type": "string",
  4279. "required": true,
  4280. "desc": "群聊 ID。"
  4281. },
  4282. {
  4283. "name": "ver",
  4284. "in": "body",
  4285. "type": "string",
  4286. "required": true,
  4287. "desc": "首次为0,查询指定偏移之后所有变动"
  4288. },
  4289. {
  4290. "name": "nowMemberCount",
  4291. "in": "body",
  4292. "type": "string",
  4293. "required": true,
  4294. "desc": "群成员数量"
  4295. }
  4296. ],
  4297. "responseHint": "data 字段:roomList(群列表);msg(返回说明。)"
  4298. },
  4299. {
  4300. "id": "room.confirmInvitedMemberList",
  4301. "module": "room",
  4302. "title": "群成员邀请确认(管理员)",
  4303. "summary": "群成员邀请确认(管理员) 管理员确认群成员邀请。",
  4304. "method": "/room/confirmInvitedMemberList",
  4305. "category": [
  4306. "API参考",
  4307. "客户管理",
  4308. "群模块"
  4309. ],
  4310. "docFile": "群成员邀请确认(管理员).md",
  4311. "tags": [
  4312. "群成员邀请确认(管理员)",
  4313. "群模块",
  4314. "room",
  4315. "客户管理",
  4316. "API参考"
  4317. ],
  4318. "params": [
  4319. {
  4320. "name": "guid",
  4321. "in": "body",
  4322. "type": "string",
  4323. "required": true,
  4324. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4325. },
  4326. {
  4327. "name": "roomId",
  4328. "in": "body",
  4329. "type": "string",
  4330. "required": true,
  4331. "desc": "群聊 ID。"
  4332. },
  4333. {
  4334. "name": "inviterId",
  4335. "in": "body",
  4336. "type": "string",
  4337. "required": true,
  4338. "desc": "邀请人 ID"
  4339. },
  4340. {
  4341. "name": "InviteMsgServerId",
  4342. "in": "body",
  4343. "type": "string",
  4344. "required": true,
  4345. "desc": "邀请消息服务端Id"
  4346. },
  4347. {
  4348. "name": "inviteCode",
  4349. "in": "body",
  4350. "type": "string",
  4351. "required": true,
  4352. "desc": "邀请码"
  4353. },
  4354. {
  4355. "name": "InvitedMemberList",
  4356. "in": "body",
  4357. "type": "array",
  4358. "required": true,
  4359. "desc": "Invited成员列表"
  4360. }
  4361. ]
  4362. },
  4363. {
  4364. "id": "msg.roomTopMessageList",
  4365. "module": "msg",
  4366. "title": "群消息置顶-列表",
  4367. "summary": "群消息置顶-列表 发布一条朋友圈动态,可包含文字、图片或视频。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  4368. "method": "/msg/roomTopMessageList",
  4369. "category": [
  4370. "API参考",
  4371. "会话与消息",
  4372. "消息模块 "
  4373. ],
  4374. "docFile": "群消息置顶-列表.md",
  4375. "tags": [
  4376. "会话与消息",
  4377. "群消息置顶-列表",
  4378. "msg",
  4379. "消息模块 ",
  4380. "API参考"
  4381. ],
  4382. "params": [
  4383. {
  4384. "name": "guid",
  4385. "in": "body",
  4386. "type": "string",
  4387. "required": true,
  4388. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4389. },
  4390. {
  4391. "name": "roomId",
  4392. "in": "body",
  4393. "type": "string",
  4394. "required": true,
  4395. "desc": "群聊 ID。"
  4396. }
  4397. ],
  4398. "responseHint": "data 字段:list(列表)"
  4399. },
  4400. {
  4401. "id": "msg.roomTopMessageSet",
  4402. "module": "msg",
  4403. "title": "群消息置顶-添加",
  4404. "summary": "群消息置顶-添加 删除已发布的朋友圈动态。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  4405. "method": "/msg/roomTopMessageSet",
  4406. "category": [
  4407. "API参考",
  4408. "会话与消息",
  4409. "消息模块 "
  4410. ],
  4411. "docFile": "群消息置顶-添加.md",
  4412. "tags": [
  4413. "会话与消息",
  4414. "群消息置顶-添加",
  4415. "msg",
  4416. "消息模块 ",
  4417. "API参考"
  4418. ],
  4419. "params": [
  4420. {
  4421. "name": "guid",
  4422. "in": "body",
  4423. "type": "string",
  4424. "required": true,
  4425. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4426. },
  4427. {
  4428. "name": "roomId",
  4429. "in": "body",
  4430. "type": "string",
  4431. "required": true,
  4432. "desc": "群聊 ID。"
  4433. },
  4434. {
  4435. "name": "msgId",
  4436. "in": "body",
  4437. "type": "string",
  4438. "required": true,
  4439. "desc": "消息 ID,用于引用、撤回。"
  4440. },
  4441. {
  4442. "name": "msgSenderId",
  4443. "in": "body",
  4444. "type": "string",
  4445. "required": true,
  4446. "desc": "消息发送人userId"
  4447. },
  4448. {
  4449. "name": "msgTimestamp",
  4450. "in": "body",
  4451. "type": "integer",
  4452. "required": true,
  4453. "desc": "消息发送时间戳"
  4454. },
  4455. {
  4456. "name": "msgData",
  4457. "in": "body",
  4458. "type": "object",
  4459. "required": true,
  4460. "desc": "消息内容,根据msgType不同,msgData也不同。数据格式详见各个消息的发送api",
  4461. "children": [
  4462. {
  4463. "name": "content",
  4464. "in": "body",
  4465. "type": "string",
  4466. "required": true
  4467. }
  4468. ]
  4469. },
  4470. {
  4471. "name": "msgType",
  4472. "in": "body",
  4473. "type": "integer",
  4474. "required": true,
  4475. "desc": "消息类型编号。"
  4476. }
  4477. ]
  4478. },
  4479. {
  4480. "id": "msg.roomTopMessageCancel",
  4481. "module": "msg",
  4482. "title": "群消息置顶-移除",
  4483. "summary": "群消息置顶-移除 对朋友圈动态点赞或取消点赞。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  4484. "method": "/msg/roomTopMessageCancel",
  4485. "category": [
  4486. "API参考",
  4487. "会话与消息",
  4488. "消息模块 "
  4489. ],
  4490. "docFile": "群消息置顶-移除.md",
  4491. "tags": [
  4492. "会话与消息",
  4493. "群消息置顶-移除",
  4494. "msg",
  4495. "消息模块 ",
  4496. "API参考"
  4497. ],
  4498. "params": [
  4499. {
  4500. "name": "guid",
  4501. "in": "body",
  4502. "type": "string",
  4503. "required": true,
  4504. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4505. },
  4506. {
  4507. "name": "roomId",
  4508. "in": "body",
  4509. "type": "string",
  4510. "required": true,
  4511. "desc": "群聊 ID。"
  4512. },
  4513. {
  4514. "name": "seq",
  4515. "in": "body",
  4516. "type": "integer",
  4517. "required": true,
  4518. "desc": "消息序号"
  4519. }
  4520. ]
  4521. },
  4522. {
  4523. "id": "room.dismissRoom",
  4524. "module": "room",
  4525. "title": "群解散",
  4526. "summary": "群解散 解散指定群聊,解散后群聊不可恢复,请谨慎操作。",
  4527. "method": "/room/dismissRoom",
  4528. "category": [
  4529. "API参考",
  4530. "客户管理",
  4531. "群模块"
  4532. ],
  4533. "docFile": "群解散.md",
  4534. "tags": [
  4535. "群模块",
  4536. "room",
  4537. "群解散",
  4538. "客户管理",
  4539. "API参考"
  4540. ],
  4541. "params": [
  4542. {
  4543. "name": "guid",
  4544. "in": "body",
  4545. "type": "string",
  4546. "required": true,
  4547. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4548. },
  4549. {
  4550. "name": "roomId",
  4551. "in": "body",
  4552. "type": "string",
  4553. "required": true,
  4554. "desc": "群聊 ID。"
  4555. }
  4556. ]
  4557. },
  4558. {
  4559. "id": "room.batchGetRoomDetail",
  4560. "module": "room",
  4561. "title": "群详情-批量",
  4562. "summary": "群详情-批量 群成员名称需调用 联系人详情 接口获取。 本接口查询群基本信息,支持批量查询。 查询群详情时,先调用 群分页 获取群 roomId ,并将群数据缓存至本地,再根据 roomId 查询详情。",
  4563. "method": "/room/batchGetRoomDetail",
  4564. "category": [
  4565. "API参考",
  4566. "客户管理",
  4567. "群模块"
  4568. ],
  4569. "docFile": "群详情-批量.md",
  4570. "tags": [
  4571. "群模块",
  4572. "room",
  4573. "群详情-批量",
  4574. "客户管理",
  4575. "API参考"
  4576. ],
  4577. "params": [
  4578. {
  4579. "name": "guid",
  4580. "in": "body",
  4581. "type": "string",
  4582. "required": true,
  4583. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4584. },
  4585. {
  4586. "name": "roomIdList",
  4587. "in": "body",
  4588. "type": "array",
  4589. "required": true,
  4590. "desc": "群id列表"
  4591. }
  4592. ],
  4593. "responseHint": "data 字段:roomList(群列表)"
  4594. },
  4595. {
  4596. "id": "contact.searchContact",
  4597. "module": "contact",
  4598. "title": "联系人搜索",
  4599. "summary": "联系人搜索 按手机号搜索联系人,可快速定位目标用户。",
  4600. "method": "/contact/searchContact",
  4601. "category": [
  4602. "API参考",
  4603. "客户管理",
  4604. "联系人模块"
  4605. ],
  4606. "docFile": "联系人搜索.md",
  4607. "tags": [
  4608. "contact",
  4609. "联系人模块",
  4610. "客户管理",
  4611. "联系人搜索",
  4612. "API参考"
  4613. ],
  4614. "params": [
  4615. {
  4616. "name": "guid",
  4617. "in": "body",
  4618. "type": "string",
  4619. "required": true,
  4620. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4621. },
  4622. {
  4623. "name": "keyword",
  4624. "in": "body",
  4625. "type": "string",
  4626. "required": true,
  4627. "desc": "搜索手机号。"
  4628. }
  4629. ],
  4630. "responseHint": "data 字段:searchStatus(Search状态);workUserInfo(企微用户信息);wxUserInfo(微信用户信息)"
  4631. },
  4632. {
  4633. "id": "contact.searchContact.联系人详情_By二维码",
  4634. "module": "contact",
  4635. "title": "联系人详情-By二维码",
  4636. "summary": "联系人详情-By二维码 调用方需要将个微、企V名片二维码中的url提取出来",
  4637. "method": "/contact/searchContact",
  4638. "category": [
  4639. "API参考",
  4640. "客户管理",
  4641. "联系人模块"
  4642. ],
  4643. "docFile": "联系人详情-By二维码.md",
  4644. "tags": [
  4645. "contact",
  4646. "联系人详情-By二维码",
  4647. "联系人模块",
  4648. "客户管理",
  4649. "API参考"
  4650. ],
  4651. "params": [
  4652. {
  4653. "name": "guid",
  4654. "in": "body",
  4655. "type": "string",
  4656. "required": true,
  4657. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4658. },
  4659. {
  4660. "name": "qrUrl",
  4661. "in": "body",
  4662. "type": "string",
  4663. "required": true,
  4664. "desc": "二维码中的url"
  4665. }
  4666. ],
  4667. "responseHint": "data 字段:recommendContact(企V账号信息);wxInfo(个V账号信息)"
  4668. },
  4669. {
  4670. "id": "contact.batchGetUserinfo",
  4671. "module": "contact",
  4672. "title": "联系人详情-批量",
  4673. "summary": "联系人详情-批量 本接口用于查询联系人基本信息,支持批量查询。 允许查询好友、非好友的联系人信息。 查询联系人详情时,需先调用 外部联系人分页 获取用户 userid ,并将联系人数据缓存至本地,再根据 userid 查询详情。",
  4674. "method": "/contact/batchGetUserinfo",
  4675. "category": [
  4676. "API参考",
  4677. "客户管理",
  4678. "联系人模块"
  4679. ],
  4680. "docFile": "联系人详情-批量.md",
  4681. "tags": [
  4682. "contact",
  4683. "联系人详情-批量",
  4684. "联系人模块",
  4685. "客户管理",
  4686. "API参考"
  4687. ],
  4688. "params": [
  4689. {
  4690. "name": "guid",
  4691. "in": "body",
  4692. "type": "string",
  4693. "required": true,
  4694. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4695. },
  4696. {
  4697. "name": "userIdList",
  4698. "in": "body",
  4699. "type": "array",
  4700. "required": true,
  4701. "desc": "用户id列表"
  4702. }
  4703. ],
  4704. "responseHint": "data 字段:contactList(联系人列表)"
  4705. },
  4706. {
  4707. "id": "user.getProfile",
  4708. "module": "user",
  4709. "title": "获取个人信息",
  4710. "summary": "获取个人信息 获取当前登录账号的个人资料,包括昵称、头像、企业等信息。 guid 即后台登录的设备 ID,是接口调用时标识设备身份的关键参数。",
  4711. "method": "/user/getProfile",
  4712. "category": [
  4713. "API参考",
  4714. "基础能力",
  4715. "个人模块"
  4716. ],
  4717. "docFile": "获取个人信息.md",
  4718. "tags": [
  4719. "基础能力",
  4720. "user",
  4721. "个人模块",
  4722. "获取个人信息",
  4723. "API参考"
  4724. ],
  4725. "params": [
  4726. {
  4727. "name": "guid",
  4728. "in": "body",
  4729. "type": "string",
  4730. "required": true,
  4731. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4732. }
  4733. ],
  4734. "responseHint": "data 字段:acctid(账户id);alias(别名);corpId(企业 ID。);gender(0未,1男,2女);groupId(分组Id);internationCode(86);mobile(手机号);nickname(昵称);realName(真实姓名);userId(用户id);avatarUrl(头像 URL。)"
  4735. },
  4736. {
  4737. "id": "sns.getSnsDetail",
  4738. "module": "sns",
  4739. "title": "获取详情-批量",
  4740. "summary": "获取详情-批量 根据 userId 列表批量查询联系人朋友圈详细信息。",
  4741. "method": "/sns/getSnsDetail",
  4742. "category": [
  4743. "API参考",
  4744. "媒体与运营",
  4745. "朋友圈模块"
  4746. ],
  4747. "docFile": "获取详情-批量.md",
  4748. "tags": [
  4749. "获取详情-批量",
  4750. "sns",
  4751. "朋友圈模块",
  4752. "媒体与运营",
  4753. "API参考"
  4754. ],
  4755. "params": [
  4756. {
  4757. "name": "guid",
  4758. "in": "body",
  4759. "type": "string",
  4760. "required": true,
  4761. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4762. },
  4763. {
  4764. "name": "snsIdList",
  4765. "in": "body",
  4766. "type": "array",
  4767. "required": true,
  4768. "desc": "朋友圈Id列表"
  4769. }
  4770. ],
  4771. "responseHint": "data 字段:snsDetailList(朋友圈Detail列表)"
  4772. },
  4773. {
  4774. "id": "client.setCallback",
  4775. "module": "client",
  4776. "title": "设置回调地址",
  4777. "summary": "设置回调地址 • 作用范围: 按 Token 配置,一个 Token 下的所有账号共用此回调地址。• 数据隔离: 回调内容包含 guid ,方便您的后端区分是哪个账号收到的消息。• msgType 包含系统、聊天消息类型,详见回调结构说明。 注意:回调地址须为公网可访问的 HTTPS URL 或者 域名。",
  4778. "method": "/client/setCallback",
  4779. "category": [
  4780. "API参考",
  4781. "基础能力",
  4782. "登录模块"
  4783. ],
  4784. "docFile": "设置回调地址.md",
  4785. "tags": [
  4786. "基础能力",
  4787. "登录模块",
  4788. "client",
  4789. "设置回调地址",
  4790. "API参考"
  4791. ],
  4792. "params": [
  4793. {
  4794. "name": "callbackUrl",
  4795. "in": "body",
  4796. "type": "string",
  4797. "required": true,
  4798. "desc": "Webhook 回调地址,需公网可访问的 https URL。"
  4799. },
  4800. {
  4801. "name": "authSecret",
  4802. "in": "body",
  4803. "type": "string",
  4804. "required": true,
  4805. "desc": "鉴权密钥"
  4806. },
  4807. {
  4808. "name": "authType",
  4809. "in": "body",
  4810. "type": "string",
  4811. "required": true,
  4812. "desc": "Authorization"
  4813. }
  4814. ]
  4815. },
  4816. {
  4817. "id": "sns.snsComment",
  4818. "module": "sns",
  4819. "title": "评论/追评",
  4820. "summary": "评论/追评 调用 评论/追评,需传入已登录设备的 guid。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  4821. "method": "/sns/snsComment",
  4822. "category": [
  4823. "API参考",
  4824. "媒体与运营",
  4825. "朋友圈模块"
  4826. ],
  4827. "docFile": "评论_追评.md",
  4828. "tags": [
  4829. "评论/追评",
  4830. "sns",
  4831. "朋友圈模块",
  4832. "媒体与运营",
  4833. "API参考"
  4834. ],
  4835. "params": [
  4836. {
  4837. "name": "guid",
  4838. "in": "body",
  4839. "type": "string",
  4840. "required": true,
  4841. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4842. },
  4843. {
  4844. "name": "snsId",
  4845. "in": "body",
  4846. "type": "number",
  4847. "required": true,
  4848. "desc": "朋友圈消息对应的id"
  4849. },
  4850. {
  4851. "name": "content",
  4852. "in": "body",
  4853. "type": "string",
  4854. "required": true,
  4855. "desc": "消息内容。"
  4856. },
  4857. {
  4858. "name": "refCommentId",
  4859. "in": "body",
  4860. "type": "integer",
  4861. "required": true,
  4862. "desc": "默认传0 如果需要回复别人的评论则传别人评论的id 从获取朋友圈列表中获取"
  4863. }
  4864. ]
  4865. },
  4866. {
  4867. "id": "sns.deleteSnsComment",
  4868. "module": "sns",
  4869. "title": "评论删除",
  4870. "summary": "评论删除 调用 评论删除,需传入已登录设备的 guid。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  4871. "method": "/sns/deleteSnsComment",
  4872. "category": [
  4873. "API参考",
  4874. "媒体与运营",
  4875. "朋友圈模块"
  4876. ],
  4877. "docFile": "评论删除.md",
  4878. "tags": [
  4879. "sns",
  4880. "朋友圈模块",
  4881. "评论删除",
  4882. "媒体与运营",
  4883. "API参考"
  4884. ],
  4885. "params": [
  4886. {
  4887. "name": "guid",
  4888. "in": "body",
  4889. "type": "string",
  4890. "required": true,
  4891. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4892. },
  4893. {
  4894. "name": "snsId",
  4895. "in": "body",
  4896. "type": "number",
  4897. "required": true,
  4898. "desc": "朋友圈消息对应的id"
  4899. },
  4900. {
  4901. "name": "content",
  4902. "in": "body",
  4903. "type": "string",
  4904. "required": true,
  4905. "desc": "消息内容。"
  4906. },
  4907. {
  4908. "name": "commentId",
  4909. "in": "body",
  4910. "type": "integer",
  4911. "required": true,
  4912. "desc": "评论id"
  4913. }
  4914. ]
  4915. },
  4916. {
  4917. "id": "msg.voiceToTextQuery",
  4918. "module": "msg",
  4919. "title": "语音转文字-任务查询",
  4920. "summary": "语音转文字-任务查询 分页拉取朋友圈动态列表。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  4921. "method": "/msg/voiceToTextQuery",
  4922. "category": [
  4923. "API参考",
  4924. "会话与消息",
  4925. "消息模块 "
  4926. ],
  4927. "docFile": "语音转文字-任务查询.md",
  4928. "tags": [
  4929. "会话与消息",
  4930. "语音转文字-任务查询",
  4931. "msg",
  4932. "消息模块 ",
  4933. "API参考"
  4934. ],
  4935. "params": [
  4936. {
  4937. "name": "guid",
  4938. "in": "body",
  4939. "type": "string",
  4940. "required": true,
  4941. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4942. },
  4943. {
  4944. "name": "msgServerId",
  4945. "in": "body",
  4946. "type": "integer",
  4947. "required": true,
  4948. "desc": "消息id"
  4949. },
  4950. {
  4951. "name": "voiceId",
  4952. "in": "body",
  4953. "type": "string",
  4954. "required": true,
  4955. "desc": "语音 ID"
  4956. }
  4957. ],
  4958. "responseHint": "data 字段:text(文本);isEnd(任务是否执行完成)"
  4959. },
  4960. {
  4961. "id": "msg.voiceToTextApply",
  4962. "module": "msg",
  4963. "title": "语音转文字-任务申请",
  4964. "summary": "语音转文字-任务申请 分页拉取历史聊天记录,适用于消息归档与同步场景。 注意:须传入 guid,为已登录云设备唯一标识,通过创建设备接口获取。",
  4965. "method": "/msg/voiceToTextApply",
  4966. "category": [
  4967. "API参考",
  4968. "会话与消息",
  4969. "消息模块 "
  4970. ],
  4971. "docFile": "语音转文字-任务申请.md",
  4972. "tags": [
  4973. "会话与消息",
  4974. "msg",
  4975. "消息模块 ",
  4976. "语音转文字-任务申请",
  4977. "API参考"
  4978. ],
  4979. "params": [
  4980. {
  4981. "name": "guid",
  4982. "in": "body",
  4983. "type": "string",
  4984. "required": true,
  4985. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  4986. },
  4987. {
  4988. "name": "msgServerId",
  4989. "in": "body",
  4990. "type": "integer",
  4991. "required": true,
  4992. "desc": "消息id"
  4993. }
  4994. ],
  4995. "responseHint": "data 字段:voiceId(语音 ID)"
  4996. },
  4997. {
  4998. "id": "user.logout",
  4999. "module": "user",
  5000. "title": "账号退出",
  5001. "summary": "账号退出 退出当前设备绑定的企微账号登录状态。",
  5002. "method": "/user/logout",
  5003. "category": [
  5004. "API参考",
  5005. "基础能力",
  5006. "登录模块"
  5007. ],
  5008. "docFile": "账号退出.md",
  5009. "tags": [
  5010. "基础能力",
  5011. "登录模块",
  5012. "账号退出",
  5013. "user",
  5014. "API参考"
  5015. ],
  5016. "params": [
  5017. {
  5018. "name": "guid",
  5019. "in": "body",
  5020. "type": "string",
  5021. "required": true,
  5022. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  5023. }
  5024. ]
  5025. },
  5026. {
  5027. "id": "room.changeRoomMaster",
  5028. "module": "room",
  5029. "title": "转让群主",
  5030. "summary": "转让群主 将群主身份转让给其他群成员。",
  5031. "method": "/room/changeRoomMaster",
  5032. "category": [
  5033. "API参考",
  5034. "客户管理",
  5035. "群模块"
  5036. ],
  5037. "docFile": "转让群主.md",
  5038. "tags": [
  5039. "群模块",
  5040. "room",
  5041. "转让群主",
  5042. "客户管理",
  5043. "API参考"
  5044. ],
  5045. "params": [
  5046. {
  5047. "name": "guid",
  5048. "in": "body",
  5049. "type": "string",
  5050. "required": true,
  5051. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  5052. },
  5053. {
  5054. "name": "roomId",
  5055. "in": "body",
  5056. "type": "string",
  5057. "required": true,
  5058. "desc": "群聊 ID。"
  5059. },
  5060. {
  5061. "name": "newOwnerId",
  5062. "in": "body",
  5063. "type": "string",
  5064. "required": true,
  5065. "desc": "新群主id"
  5066. }
  5067. ]
  5068. },
  5069. {
  5070. "id": "room.quitRoom",
  5071. "module": "room",
  5072. "title": "退群",
  5073. "summary": "退群 退出指定群聊。",
  5074. "method": "/room/quitRoom",
  5075. "category": [
  5076. "API参考",
  5077. "客户管理",
  5078. "群模块"
  5079. ],
  5080. "docFile": "退群.md",
  5081. "tags": [
  5082. "退群",
  5083. "群模块",
  5084. "room",
  5085. "客户管理",
  5086. "API参考"
  5087. ],
  5088. "params": [
  5089. {
  5090. "name": "guid",
  5091. "in": "body",
  5092. "type": "string",
  5093. "required": true,
  5094. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  5095. },
  5096. {
  5097. "name": "roomId",
  5098. "in": "body",
  5099. "type": "string",
  5100. "required": true,
  5101. "desc": "群聊 ID。"
  5102. }
  5103. ]
  5104. },
  5105. {
  5106. "id": "room.inviteRoomMember",
  5107. "module": "room",
  5108. "title": "邀请/添加成员",
  5109. "summary": "邀请/添加成员 向已有群聊邀请或添加新成员。",
  5110. "method": "/room/inviteRoomMember",
  5111. "category": [
  5112. "API参考",
  5113. "客户管理",
  5114. "群模块"
  5115. ],
  5116. "docFile": "邀请_添加成员.md",
  5117. "tags": [
  5118. "群模块",
  5119. "room",
  5120. "邀请/添加成员",
  5121. "客户管理",
  5122. "API参考"
  5123. ],
  5124. "params": [
  5125. {
  5126. "name": "guid",
  5127. "in": "body",
  5128. "type": "string",
  5129. "required": true,
  5130. "desc": "设备唯一标识 guid,由「创建设备」接口返回,业务接口必传。"
  5131. },
  5132. {
  5133. "name": "roomId",
  5134. "in": "body",
  5135. "type": "string",
  5136. "required": true,
  5137. "desc": "群聊 ID。"
  5138. },
  5139. {
  5140. "name": "isOuterRoom",
  5141. "in": "body",
  5142. "type": "integer",
  5143. "required": true,
  5144. "desc": "是否外部群"
  5145. },
  5146. {
  5147. "name": "memberList",
  5148. "in": "body",
  5149. "type": "array",
  5150. "required": true,
  5151. "desc": "成员列表"
  5152. }
  5153. ]
  5154. },
  5155. {
  5156. "id": "cloud.bigFileDownloadAsync",
  5157. "module": "cloud",
  5158. "title": "企微大文件异步下载",
  5159. "summary": "文件大于 20M 使用此接口;下载地址为临时云资源(7–15 天不定期清理);异步结果通过回调通知,根据 requestId 匹配。注意:官方文档未公布该接口的 method 路由值,qiwei_api_call 无法直接调用,请参考 docUrl 官方文档确认后用 rawMethod 调用。",
  5160. "method": null,
  5161. "category": [
  5162. "API参考",
  5163. "媒体与运营",
  5164. "文件与媒体(下载/上传)"
  5165. ],
  5166. "docFile": "企微大文件异步下载.md",
  5167. "tags": [
  5168. "cloud",
  5169. "企微大文件异步下载",
  5170. "媒体与运营",
  5171. "API参考",
  5172. "大文件",
  5173. "下载"
  5174. ],
  5175. "params": [
  5176. {
  5177. "name": "guid",
  5178. "in": "body",
  5179. "type": "string",
  5180. "required": true,
  5181. "desc": "设备唯一标识 guid"
  5182. },
  5183. {
  5184. "name": "filekey",
  5185. "in": "body",
  5186. "type": "string",
  5187. "required": true,
  5188. "desc": "当 fileId 以 * 开头时为空;否则不为空"
  5189. },
  5190. {
  5191. "name": "fileId",
  5192. "in": "body",
  5193. "type": "string",
  5194. "required": true,
  5195. "desc": "文件 Id"
  5196. },
  5197. {
  5198. "name": "fileSize",
  5199. "in": "body",
  5200. "type": "integer",
  5201. "required": true,
  5202. "desc": "文件大小"
  5203. },
  5204. {
  5205. "name": "fileType",
  5206. "in": "body",
  5207. "type": "integer",
  5208. "required": true,
  5209. "desc": "22 大视频 35 文件"
  5210. },
  5211. {
  5212. "name": "filename",
  5213. "in": "body",
  5214. "type": "string",
  5215. "required": true,
  5216. "desc": "文件名"
  5217. }
  5218. ],
  5219. "responseHint": "data 字段:requestId(请求 Id,用于在回调中匹配异步下载结果)"
  5220. }
  5221. ]
  5222. }