[{"data":1,"prerenderedAt":1444},["ShallowReactive",2],{"docs-\u002Fdocs\u002Faccounts":3},{"id":4,"title":5,"body":6,"description":1435,"extension":1436,"meta":1437,"navigation":1438,"order":129,"path":1439,"seo":1440,"seoTitle":1441,"stem":1442,"__hash__":1443},"docs\u002Fdocs\u002Faccounts.md","Accounts",{"type":7,"value":8,"toc":1425},"minimark",[9,13,22,27,255,387,407,411,474,489,493,520,576,677,680,684,704,711,715,725,745,814,821,825,831,851,1084,1099,1206,1216,1317,1323,1327,1352,1388,1402,1411,1414,1421],[10,11,5],"h1",{"id":12},"accounts",[14,15,16,17,21],"p",{},"An account is one connected social profile, page, channel, board or location. A user can have several accounts on the same platform, such as a LinkedIn profile and two LinkedIn company pages. You publish to accounts by their ",[18,19,20],"code",{},"id",".",[23,24,26],"h2",{"id":25},"the-account-object","The account object",[28,29,34],"pre",{"className":30,"code":31,"language":32,"meta":33,"style":33},"language-json shiki shiki-themes github-light github-dark","{\n  \"id\": \"j97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed\",\n  \"platform\": \"linkedin\",\n  \"type\": \"organization\",\n  \"name\": \"Acme Inc.\",\n  \"username\": \"acme\",\n  \"avatar_url\": \"https:\u002F\u002Fmedia.licdn.com\u002F...\",\n  \"platform_account_id\": \"urn:li:organization:12345\",\n  \"user_id\": \"user_123\",\n  \"status\": \"active\",\n  \"status_reason\": null,\n  \"token_expires_at\": \"2026-12-20T09:00:00.000Z\",\n  \"scopes\": [\"w_member_social\", \"w_organization_social\"],\n  \"connected_at\": \"2026-10-21T09:00:00.000Z\",\n  \"revoked_at\": null,\n  \"test\": false\n}\n","json","",[18,35,36,45,62,75,88,101,114,127,140,153,166,179,192,213,226,238,249],{"__ignoreMap":33},[37,38,41],"span",{"class":39,"line":40},"line",1,[37,42,44],{"class":43},"sVt8B","{\n",[37,46,48,52,55,59],{"class":39,"line":47},2,[37,49,51],{"class":50},"sj4cs","  \"id\"",[37,53,54],{"class":43},": ",[37,56,58],{"class":57},"sZZnC","\"j97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed\"",[37,60,61],{"class":43},",\n",[37,63,65,68,70,73],{"class":39,"line":64},3,[37,66,67],{"class":50},"  \"platform\"",[37,69,54],{"class":43},[37,71,72],{"class":57},"\"linkedin\"",[37,74,61],{"class":43},[37,76,78,81,83,86],{"class":39,"line":77},4,[37,79,80],{"class":50},"  \"type\"",[37,82,54],{"class":43},[37,84,85],{"class":57},"\"organization\"",[37,87,61],{"class":43},[37,89,91,94,96,99],{"class":39,"line":90},5,[37,92,93],{"class":50},"  \"name\"",[37,95,54],{"class":43},[37,97,98],{"class":57},"\"Acme Inc.\"",[37,100,61],{"class":43},[37,102,104,107,109,112],{"class":39,"line":103},6,[37,105,106],{"class":50},"  \"username\"",[37,108,54],{"class":43},[37,110,111],{"class":57},"\"acme\"",[37,113,61],{"class":43},[37,115,117,120,122,125],{"class":39,"line":116},7,[37,118,119],{"class":50},"  \"avatar_url\"",[37,121,54],{"class":43},[37,123,124],{"class":57},"\"https:\u002F\u002Fmedia.licdn.com\u002F...\"",[37,126,61],{"class":43},[37,128,130,133,135,138],{"class":39,"line":129},8,[37,131,132],{"class":50},"  \"platform_account_id\"",[37,134,54],{"class":43},[37,136,137],{"class":57},"\"urn:li:organization:12345\"",[37,139,61],{"class":43},[37,141,143,146,148,151],{"class":39,"line":142},9,[37,144,145],{"class":50},"  \"user_id\"",[37,147,54],{"class":43},[37,149,150],{"class":57},"\"user_123\"",[37,152,61],{"class":43},[37,154,156,159,161,164],{"class":39,"line":155},10,[37,157,158],{"class":50},"  \"status\"",[37,160,54],{"class":43},[37,162,163],{"class":57},"\"active\"",[37,165,61],{"class":43},[37,167,169,172,174,177],{"class":39,"line":168},11,[37,170,171],{"class":50},"  \"status_reason\"",[37,173,54],{"class":43},[37,175,176],{"class":50},"null",[37,178,61],{"class":43},[37,180,182,185,187,190],{"class":39,"line":181},12,[37,183,184],{"class":50},"  \"token_expires_at\"",[37,186,54],{"class":43},[37,188,189],{"class":57},"\"2026-12-20T09:00:00.000Z\"",[37,191,61],{"class":43},[37,193,195,198,201,204,207,210],{"class":39,"line":194},13,[37,196,197],{"class":50},"  \"scopes\"",[37,199,200],{"class":43},": [",[37,202,203],{"class":57},"\"w_member_social\"",[37,205,206],{"class":43},", ",[37,208,209],{"class":57},"\"w_organization_social\"",[37,211,212],{"class":43},"],\n",[37,214,216,219,221,224],{"class":39,"line":215},14,[37,217,218],{"class":50},"  \"connected_at\"",[37,220,54],{"class":43},[37,222,223],{"class":57},"\"2026-10-21T09:00:00.000Z\"",[37,225,61],{"class":43},[37,227,229,232,234,236],{"class":39,"line":228},15,[37,230,231],{"class":50},"  \"revoked_at\"",[37,233,54],{"class":43},[37,235,176],{"class":50},[37,237,61],{"class":43},[37,239,241,244,246],{"class":39,"line":240},16,[37,242,243],{"class":50},"  \"test\"",[37,245,54],{"class":43},[37,247,248],{"class":50},"false\n",[37,250,252],{"class":39,"line":251},17,[37,253,254],{"class":43},"}\n",[256,257,258,271],"table",{},[259,260,261],"thead",{},[262,263,264,268],"tr",{},[265,266,267],"th",{},"Field",[265,269,270],{},"Description",[272,273,274,288,320,330,349,359,369],"tbody",{},[262,275,276,281],{},[277,278,279],"td",{},[18,280,20],{},[277,282,283,284,287],{},"Use in ",[18,285,286],{},"account_ids"," when publishing.",[262,289,290,295],{},[277,291,292],{},[18,293,294],{},"type",[277,296,297,298,206,301,206,304,206,307,206,310,206,313,206,316,319],{},"What the account is on the platform: ",[18,299,300],{},"personal",[18,302,303],{},"page",[18,305,306],{},"organization",[18,308,309],{},"business",[18,311,312],{},"channel",[18,314,315],{},"board",[18,317,318],{},"location"," …",[262,321,322,327],{},[277,323,324],{},[18,325,326],{},"platform_account_id",[277,328,329],{},"The page, channel, board, organization or location ID on the platform.",[262,331,332,337],{},[277,333,334],{},[18,335,336],{},"status",[277,338,339,206,342,345,346,21],{},[18,340,341],{},"active",[18,343,344],{},"needs_reauth"," or ",[18,347,348],{},"revoked",[262,350,351,356],{},[277,352,353],{},[18,354,355],{},"status_reason",[277,357,358],{},"Why the account needs to reconnect, from the platform's error.",[262,360,361,366],{},[277,362,363],{},[18,364,365],{},"token_expires_at",[277,367,368],{},"When the current access token expires. Pogton refreshes tokens before they expire where the platform allows it.",[262,370,371,376],{},[277,372,373],{},[18,374,375],{},"test",[277,377,378,381,382,21],{},[18,379,380],{},"true"," for ",[383,384,386],"a",{"href":385},"\u002Fdocs\u002Fsandbox","sandbox accounts",[14,388,389,390,206,393,206,396,206,399,402,403,406],{},"Responses also include ",[18,391,392],{},"_id",[18,394,395],{},"accountType",[18,397,398],{},"subAccountId",[18,400,401],{},"subAccountName"," and ",[18,404,405],{},"connectedAt"," (milliseconds) for clients of the first API version. Prefer the snake_case fields.",[23,408,410],{"id":409},"account-status","Account status",[256,412,413,426],{},[259,414,415],{},[262,416,417,420,423],{},[265,418,419],{},"Status",[265,421,422],{},"Meaning",[265,424,425],{},"What to do",[272,427,428,440,462],{},[262,429,430,434,437],{},[277,431,432],{},[18,433,341],{},[277,435,436],{},"Publishing works.",[277,438,439],{},"Nothing.",[262,441,442,446,452],{},[277,443,444],{},[18,445,344],{},[277,447,448,449,21],{},"The platform rejected the token, or it expired and couldn't be refreshed. Posts to the account fail with ",[18,450,451],{},"auth_expired",[277,453,454,455,21],{},"Send the user a ",[383,456,458,459],{"href":457},"\u002Fdocs\u002Fconnect-links#reconnecting-an-account","connect link with ",[18,460,461],{},"account_id",[262,463,464,468,471],{},[277,465,466],{},[18,467,348],{},[277,469,470],{},"The account was disconnected.",[277,472,473],{},"The user can connect it again with a new link; it gets the same ID.",[14,475,476,477,479,480,483,484,488],{},"When an account moves to ",[18,478,344],{},", Pogton sends one ",[18,481,482],{},"account.needs_reauth"," ",[383,485,487],{"href":486},"\u002Fdocs\u002Fwebhooks","webhook",". Use it to email the user or show a banner in your app.",[23,490,492],{"id":491},"list-a-users-accounts","List a user's accounts",[28,494,498],{"className":495,"code":496,"language":497,"meta":33,"style":33},"language-bash shiki shiki-themes github-light github-dark","curl \"https:\u002F\u002Fpogton.com\u002Fapi\u002Fv1\u002Faccounts?user_id=user_123&status=needs_reauth\" \\\n  -H \"Authorization: Bearer pk_3f9a...\"\n","bash",[18,499,500,512],{"__ignoreMap":33},[37,501,502,506,509],{"class":39,"line":40},[37,503,505],{"class":504},"sScJk","curl",[37,507,508],{"class":57}," \"https:\u002F\u002Fpogton.com\u002Fapi\u002Fv1\u002Faccounts?user_id=user_123&status=needs_reauth\"",[37,510,511],{"class":50}," \\\n",[37,513,514,517],{"class":39,"line":47},[37,515,516],{"class":50},"  -H",[37,518,519],{"class":57}," \"Authorization: Bearer pk_3f9a...\"\n",[256,521,522,534],{},[259,523,524],{},[262,525,526,529,532],{},[265,527,528],{},"Query",[265,530,531],{},"Required",[265,533,270],{},[272,535,536,549,562],{},[262,537,538,543,546],{},[277,539,540],{},[18,541,542],{},"user_id",[277,544,545],{},"Yes",[277,547,548],{},"Your ID for the user.",[262,550,551,556,559],{},[277,552,553],{},[18,554,555],{},"platform",[277,557,558],{},"No",[277,560,561],{},"Only accounts on this platform.",[262,563,564,568,570],{},[277,565,566],{},[18,567,336],{},[277,569,558],{},[277,571,572,345,574,21],{},[18,573,341],{},[18,575,344],{},[28,577,579],{"className":30,"code":578,"language":32,"meta":33,"style":33},"{\n  \"data\": [\n    { \"id\": \"j97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed\", \"platform\": \"linkedin\", \"name\": \"Acme Inc.\", \"status\": \"needs_reauth\", \"status_reason\": \"Token expired and could not be refreshed: LinkedIn tokens can't be refreshed\", \"...\": \"...\" }\n  ],\n  \"accounts\": [\"... same as data, for the first API version ...\"]\n}\n",[18,580,581,585,593,655,660,673],{"__ignoreMap":33},[37,582,583],{"class":39,"line":40},[37,584,44],{"class":43},[37,586,587,590],{"class":39,"line":47},[37,588,589],{"class":50},"  \"data\"",[37,591,592],{"class":43},": [\n",[37,594,595,598,601,603,605,607,610,612,614,616,619,621,623,625,628,630,633,635,638,640,643,645,648,650,652],{"class":39,"line":64},[37,596,597],{"class":43},"    { ",[37,599,600],{"class":50},"\"id\"",[37,602,54],{"class":43},[37,604,58],{"class":57},[37,606,206],{"class":43},[37,608,609],{"class":50},"\"platform\"",[37,611,54],{"class":43},[37,613,72],{"class":57},[37,615,206],{"class":43},[37,617,618],{"class":50},"\"name\"",[37,620,54],{"class":43},[37,622,98],{"class":57},[37,624,206],{"class":43},[37,626,627],{"class":50},"\"status\"",[37,629,54],{"class":43},[37,631,632],{"class":57},"\"needs_reauth\"",[37,634,206],{"class":43},[37,636,637],{"class":50},"\"status_reason\"",[37,639,54],{"class":43},[37,641,642],{"class":57},"\"Token expired and could not be refreshed: LinkedIn tokens can't be refreshed\"",[37,644,206],{"class":43},[37,646,647],{"class":50},"\"...\"",[37,649,54],{"class":43},[37,651,647],{"class":57},[37,653,654],{"class":43}," }\n",[37,656,657],{"class":39,"line":77},[37,658,659],{"class":43},"  ],\n",[37,661,662,665,667,670],{"class":39,"line":90},[37,663,664],{"class":50},"  \"accounts\"",[37,666,200],{"class":43},[37,668,669],{"class":57},"\"... same as data, for the first API version ...\"",[37,671,672],{"class":43},"]\n",[37,674,675],{"class":39,"line":103},[37,676,254],{"class":43},[14,678,679],{},"A live key lists real accounts and a test key lists sandbox accounts. Disconnected accounts are not listed.",[23,681,683],{"id":682},"get-an-account","Get an account",[28,685,687],{"className":495,"code":686,"language":497,"meta":33,"style":33},"curl https:\u002F\u002Fpogton.com\u002Fapi\u002Fv1\u002Faccounts\u002Fj97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed \\\n  -H \"Authorization: Bearer pk_3f9a...\"\n",[18,688,689,698],{"__ignoreMap":33},[37,690,691,693,696],{"class":39,"line":40},[37,692,505],{"class":504},[37,694,695],{"class":57}," https:\u002F\u002Fpogton.com\u002Fapi\u002Fv1\u002Faccounts\u002Fj97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed",[37,697,511],{"class":50},[37,699,700,702],{"class":39,"line":47},[37,701,516],{"class":50},[37,703,519],{"class":57},[14,705,706,707,710],{},"Returns the account object, including disconnected accounts (",[18,708,709],{},"status: \"revoked\"",").",[23,712,714],{"id":713},"lookup-resources","Lookup resources",[14,716,717,718,721,722,21],{},"Some platform options take an ID that the user picks from a list: a Pinterest board, a YouTube playlist. ",[18,719,720],{},"GET \u002Fapi\u002Fv1\u002Fplatforms"," lists the kinds each platform offers in ",[18,723,724],{},"resources",[28,726,728],{"className":495,"code":727,"language":497,"meta":33,"style":33},"curl https:\u002F\u002Fpogton.com\u002Fapi\u002Fv1\u002Faccounts\u002Fj97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed\u002Fresources\u002Fboards \\\n  -H \"Authorization: Bearer pk_3f9a...\"\n",[18,729,730,739],{"__ignoreMap":33},[37,731,732,734,737],{"class":39,"line":40},[37,733,505],{"class":504},[37,735,736],{"class":57}," https:\u002F\u002Fpogton.com\u002Fapi\u002Fv1\u002Faccounts\u002Fj97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed\u002Fresources\u002Fboards",[37,738,511],{"class":50},[37,740,741,743],{"class":39,"line":47},[37,742,516],{"class":50},[37,744,519],{"class":57},[28,746,748],{"className":30,"code":747,"language":32,"meta":33,"style":33},"{\n  \"data\": [\n    { \"id\": \"987654321\", \"name\": \"Spring collection\" },\n    { \"id\": \"987654322\", \"name\": \"Recipes\" }\n  ]\n}\n",[18,749,750,754,760,783,805,810],{"__ignoreMap":33},[37,751,752],{"class":39,"line":40},[37,753,44],{"class":43},[37,755,756,758],{"class":39,"line":47},[37,757,589],{"class":50},[37,759,592],{"class":43},[37,761,762,764,766,768,771,773,775,777,780],{"class":39,"line":64},[37,763,597],{"class":43},[37,765,600],{"class":50},[37,767,54],{"class":43},[37,769,770],{"class":57},"\"987654321\"",[37,772,206],{"class":43},[37,774,618],{"class":50},[37,776,54],{"class":43},[37,778,779],{"class":57},"\"Spring collection\"",[37,781,782],{"class":43}," },\n",[37,784,785,787,789,791,794,796,798,800,803],{"class":39,"line":77},[37,786,597],{"class":43},[37,788,600],{"class":50},[37,790,54],{"class":43},[37,792,793],{"class":57},"\"987654322\"",[37,795,206],{"class":43},[37,797,618],{"class":50},[37,799,54],{"class":43},[37,801,802],{"class":57},"\"Recipes\"",[37,804,654],{"class":43},[37,806,807],{"class":39,"line":90},[37,808,809],{"class":43},"  ]\n",[37,811,812],{"class":39,"line":103},[37,813,254],{"class":43},[14,815,816,817,820],{},"Extra query parameters are passed to the platform. A kind the platform doesn't have returns ",[18,818,819],{},"404 unknown_resource"," with the kinds it does have.",[23,822,824],{"id":823},"post-history","Post history",[14,826,827,830],{},[18,828,829],{},"GET \u002Fapi\u002Fv1\u002Faccounts\u002F{id}\u002Fhistory"," lists the posts an account already has on the platform, newest first, including the ones published outside Pogton. Use it to import a user's past posts when they connect, or to show their whole feed.",[28,832,834],{"className":495,"code":833,"language":497,"meta":33,"style":33},"curl \"https:\u002F\u002Fpogton.com\u002Fapi\u002Fv1\u002Faccounts\u002Fj97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed\u002Fhistory?limit=25\" \\\n  -H \"Authorization: Bearer pk_3f9a...\"\n",[18,835,836,845],{"__ignoreMap":33},[37,837,838,840,843],{"class":39,"line":40},[37,839,505],{"class":504},[37,841,842],{"class":57}," \"https:\u002F\u002Fpogton.com\u002Fapi\u002Fv1\u002Faccounts\u002Fj97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed\u002Fhistory?limit=25\"",[37,844,511],{"class":50},[37,846,847,849],{"class":39,"line":47},[37,848,516],{"class":50},[37,850,519],{"class":57},[28,852,854],{"className":30,"code":853,"language":32,"meta":33,"style":33},"{\n  \"account_id\": \"j97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed\",\n  \"platform\": \"instagram\",\n  \"data\": [\n    {\n      \"platform_post_id\": \"17998456123456789\",\n      \"url\": \"https:\u002F\u002Fwww.instagram.com\u002Fp\u002FDA1b2C3d4E5\u002F\",\n      \"text\": \"Spring is here\",\n      \"type\": \"carousel\",\n      \"created_at\": \"2026-10-14T09:12:00.000Z\",\n      \"media\": [\n        { \"type\": \"image\", \"url\": \"https:\u002F\u002Fscontent.cdninstagram.com\u002F...\", \"thumbnail_url\": null, \"alt_text\": null }\n      ],\n      \"metrics\": { \"likes\": 182, \"comments\": 14 },\n      \"pogton_post_id\": null\n    }\n  ],\n  \"next_cursor\": \"QVFIUmx1...\",\n  \"has_more\": true\n}\n",[18,855,856,860,871,882,888,893,905,917,929,941,953,960,1003,1008,1036,1046,1051,1055,1068,1079],{"__ignoreMap":33},[37,857,858],{"class":39,"line":40},[37,859,44],{"class":43},[37,861,862,865,867,869],{"class":39,"line":47},[37,863,864],{"class":50},"  \"account_id\"",[37,866,54],{"class":43},[37,868,58],{"class":57},[37,870,61],{"class":43},[37,872,873,875,877,880],{"class":39,"line":64},[37,874,67],{"class":50},[37,876,54],{"class":43},[37,878,879],{"class":57},"\"instagram\"",[37,881,61],{"class":43},[37,883,884,886],{"class":39,"line":77},[37,885,589],{"class":50},[37,887,592],{"class":43},[37,889,890],{"class":39,"line":90},[37,891,892],{"class":43},"    {\n",[37,894,895,898,900,903],{"class":39,"line":103},[37,896,897],{"class":50},"      \"platform_post_id\"",[37,899,54],{"class":43},[37,901,902],{"class":57},"\"17998456123456789\"",[37,904,61],{"class":43},[37,906,907,910,912,915],{"class":39,"line":116},[37,908,909],{"class":50},"      \"url\"",[37,911,54],{"class":43},[37,913,914],{"class":57},"\"https:\u002F\u002Fwww.instagram.com\u002Fp\u002FDA1b2C3d4E5\u002F\"",[37,916,61],{"class":43},[37,918,919,922,924,927],{"class":39,"line":129},[37,920,921],{"class":50},"      \"text\"",[37,923,54],{"class":43},[37,925,926],{"class":57},"\"Spring is here\"",[37,928,61],{"class":43},[37,930,931,934,936,939],{"class":39,"line":142},[37,932,933],{"class":50},"      \"type\"",[37,935,54],{"class":43},[37,937,938],{"class":57},"\"carousel\"",[37,940,61],{"class":43},[37,942,943,946,948,951],{"class":39,"line":155},[37,944,945],{"class":50},"      \"created_at\"",[37,947,54],{"class":43},[37,949,950],{"class":57},"\"2026-10-14T09:12:00.000Z\"",[37,952,61],{"class":43},[37,954,955,958],{"class":39,"line":168},[37,956,957],{"class":50},"      \"media\"",[37,959,592],{"class":43},[37,961,962,965,968,970,973,975,978,980,983,985,988,990,992,994,997,999,1001],{"class":39,"line":181},[37,963,964],{"class":43},"        { ",[37,966,967],{"class":50},"\"type\"",[37,969,54],{"class":43},[37,971,972],{"class":57},"\"image\"",[37,974,206],{"class":43},[37,976,977],{"class":50},"\"url\"",[37,979,54],{"class":43},[37,981,982],{"class":57},"\"https:\u002F\u002Fscontent.cdninstagram.com\u002F...\"",[37,984,206],{"class":43},[37,986,987],{"class":50},"\"thumbnail_url\"",[37,989,54],{"class":43},[37,991,176],{"class":50},[37,993,206],{"class":43},[37,995,996],{"class":50},"\"alt_text\"",[37,998,54],{"class":43},[37,1000,176],{"class":50},[37,1002,654],{"class":43},[37,1004,1005],{"class":39,"line":194},[37,1006,1007],{"class":43},"      ],\n",[37,1009,1010,1013,1016,1019,1021,1024,1026,1029,1031,1034],{"class":39,"line":215},[37,1011,1012],{"class":50},"      \"metrics\"",[37,1014,1015],{"class":43},": { ",[37,1017,1018],{"class":50},"\"likes\"",[37,1020,54],{"class":43},[37,1022,1023],{"class":50},"182",[37,1025,206],{"class":43},[37,1027,1028],{"class":50},"\"comments\"",[37,1030,54],{"class":43},[37,1032,1033],{"class":50},"14",[37,1035,782],{"class":43},[37,1037,1038,1041,1043],{"class":39,"line":228},[37,1039,1040],{"class":50},"      \"pogton_post_id\"",[37,1042,54],{"class":43},[37,1044,1045],{"class":50},"null\n",[37,1047,1048],{"class":39,"line":240},[37,1049,1050],{"class":43},"    }\n",[37,1052,1053],{"class":39,"line":251},[37,1054,659],{"class":43},[37,1056,1058,1061,1063,1066],{"class":39,"line":1057},18,[37,1059,1060],{"class":50},"  \"next_cursor\"",[37,1062,54],{"class":43},[37,1064,1065],{"class":57},"\"QVFIUmx1...\"",[37,1067,61],{"class":43},[37,1069,1071,1074,1076],{"class":39,"line":1070},19,[37,1072,1073],{"class":50},"  \"has_more\"",[37,1075,54],{"class":43},[37,1077,1078],{"class":50},"true\n",[37,1080,1082],{"class":39,"line":1081},20,[37,1083,254],{"class":43},[14,1085,1086,1087,1090,1091,1094,1095,1098],{},"Pass ",[18,1088,1089],{},"next_cursor"," as ",[18,1092,1093],{},"cursor"," for the next page. ",[18,1096,1097],{},"limit"," is 1 to 100 (default 25); some platforms return fewer per page: TikTok 20, Mastodon 40, YouTube 50.",[256,1100,1101,1109],{},[259,1102,1103],{},[262,1104,1105,1107],{},[265,1106,267],{},[265,1108,422],{},[272,1110,1111,1124,1165,1175,1193],{},[262,1112,1113,1118],{},[277,1114,1115],{},[18,1116,1117],{},"platform_post_id",[277,1119,1120,1121],{},"The post's ID on the platform, the same kind of ID Pogton posts have in ",[18,1122,1123],{},"targets[].platform_post_id",[262,1125,1126,1130],{},[277,1127,1128],{},[18,1129,294],{},[277,1131,1132,206,1135,206,1138,206,1141,206,1144,206,1147,206,1150,206,1153,206,1156,206,1159,345,1162],{},[18,1133,1134],{},"text",[18,1136,1137],{},"image",[18,1139,1140],{},"carousel",[18,1142,1143],{},"video",[18,1145,1146],{},"reel",[18,1148,1149],{},"short",[18,1151,1152],{},"story",[18,1154,1155],{},"link",[18,1157,1158],{},"pin",[18,1160,1161],{},"update",[18,1163,1164],{},"document",[262,1166,1167,1172],{},[277,1168,1169],{},[18,1170,1171],{},"media",[277,1173,1174],{},"Images and videos with URLs as the platform returns them. Platform CDN URLs expire; download what you want to keep.",[262,1176,1177,1182],{},[277,1178,1179],{},[18,1180,1181],{},"metrics",[277,1183,1184,1185,1187,1188,1192],{},"Counts the platform returns with the list, or ",[18,1186,176],{},". Use ",[383,1189,1191],{"href":1190},"\u002Fdocs\u002Fanalytics","analytics"," for more.",[262,1194,1195,1200],{},[277,1196,1197],{},[18,1198,1199],{},"pogton_post_id",[277,1201,1202,1203,1205],{},"The Pogton post that published it, or ",[18,1204,176],{}," when it was published outside Pogton",[14,1207,1208,1209,1212,1213,1215],{},"Platforms with ",[18,1210,1211],{},"history: true"," in ",[18,1214,720],{}," support it, with the permissions the connect page already asks for:",[256,1217,1218,1228],{},[259,1219,1220],{},[262,1221,1222,1225],{},[265,1223,1224],{},"Platform",[265,1226,1227],{},"What's listed",[272,1229,1230,1238,1246,1254,1262,1277,1285,1293,1301,1309],{},[262,1231,1232,1235],{},[277,1233,1234],{},"Facebook",[277,1236,1237],{},"The Page's published posts",[262,1239,1240,1243],{},[277,1241,1242],{},"Instagram",[277,1244,1245],{},"The professional account's posts, reels and carousels",[262,1247,1248,1251],{},[277,1249,1250],{},"Threads",[277,1252,1253],{},"The account's threads, without reposts",[262,1255,1256,1259],{},[277,1257,1258],{},"YouTube",[277,1260,1261],{},"The channel's uploads",[262,1263,1264,1267],{},[277,1265,1266],{},"LinkedIn",[277,1268,1269,1270,1273,1274,1276],{},"Company page posts. LinkedIn doesn't let apps read members' own posts, so personal profiles return ",[18,1271,1272],{},"400 not_supported",". LinkedIn returns media as references, so ",[18,1275,1171],{}," is empty.",[262,1278,1279,1282],{},[277,1280,1281],{},"Pinterest",[277,1283,1284],{},"The pins on the connected board",[262,1286,1287,1290],{},[277,1288,1289],{},"TikTok",[277,1291,1292],{},"The account's videos",[262,1294,1295,1298],{},[277,1296,1297],{},"Bluesky",[277,1299,1300],{},"The account's posts, without replies and reposts",[262,1302,1303,1306],{},[277,1304,1305],{},"Mastodon",[277,1307,1308],{},"The account's posts, without boosts",[262,1310,1311,1314],{},[277,1312,1313],{},"Google Business Profile",[277,1315,1316],{},"The location's updates",[14,1318,1319,1320,1322],{},"X, Telegram and Discord return ",[18,1321,1272],{},": X charges for every post read through its API, Telegram bots can't read messages from before they joined, and Discord webhooks can only post. Sandbox accounts return two sample posts.",[23,1324,1326],{"id":1325},"disconnect-an-account","Disconnect an account",[28,1328,1330],{"className":495,"code":1329,"language":497,"meta":33,"style":33},"curl -X DELETE https:\u002F\u002Fpogton.com\u002Fapi\u002Fv1\u002Faccounts\u002Fj97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed \\\n  -H \"Authorization: Bearer pk_3f9a...\"\n",[18,1331,1332,1346],{"__ignoreMap":33},[37,1333,1334,1336,1339,1342,1344],{"class":39,"line":40},[37,1335,505],{"class":504},[37,1337,1338],{"class":50}," -X",[37,1340,1341],{"class":57}," DELETE",[37,1343,695],{"class":57},[37,1345,511],{"class":50},[37,1347,1348,1350],{"class":39,"line":47},[37,1349,516],{"class":50},[37,1351,519],{"class":57},[28,1353,1355],{"className":30,"code":1354,"language":32,"meta":33,"style":33},"{ \"success\": true, \"account_id\": \"j97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed\", \"platform\": \"linkedin\" }\n",[18,1356,1357],{"__ignoreMap":33},[37,1358,1359,1362,1365,1367,1369,1371,1374,1376,1378,1380,1382,1384,1386],{"class":39,"line":40},[37,1360,1361],{"class":43},"{ ",[37,1363,1364],{"class":50},"\"success\"",[37,1366,54],{"class":43},[37,1368,380],{"class":50},[37,1370,206],{"class":43},[37,1372,1373],{"class":50},"\"account_id\"",[37,1375,54],{"class":43},[37,1377,58],{"class":57},[37,1379,206],{"class":43},[37,1381,609],{"class":50},[37,1383,54],{"class":43},[37,1385,72],{"class":57},[37,1387,654],{"class":43},[14,1389,1390,1391,1394,1395,1398,1399,710],{},"Pogton deletes the tokens and sends ",[18,1392,1393],{},"account.disconnected"," with ",[18,1396,1397],{},"reason: \"api\"",". Posts already published stay on the platform. Scheduled posts to the account fail when they come due. Users can also disconnect accounts themselves on the connect page (",[18,1400,1401],{},"reason: \"end_user\"",[14,1403,1404,1405,21],{},"To remove a user and all their accounts, use ",[383,1406,1408],{"href":1407},"\u002Fdocs\u002Fusers#delete-a-user",[18,1409,1410],{},"DELETE \u002Fapi\u002Fv1\u002Fusers\u002F{user_id}",[23,1412,1413],{"id":1191},"Analytics",[14,1415,1416,1417,1420],{},"Account metrics and follower history are on the ",[383,1418,1413],{"href":1419},"\u002Fdocs\u002Fanalytics#account-analytics"," page.",[1422,1423,1424],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}",{"title":33,"searchDepth":47,"depth":47,"links":1426},[1427,1428,1429,1430,1431,1432,1433,1434],{"id":25,"depth":47,"text":26},{"id":409,"depth":47,"text":410},{"id":491,"depth":47,"text":492},{"id":682,"depth":47,"text":683},{"id":713,"depth":47,"text":714},{"id":823,"depth":47,"text":824},{"id":1325,"depth":47,"text":1326},{"id":1191,"depth":47,"text":1413},"List the social accounts your users connected, check whether an account needs to reconnect, look up boards and playlists, import their post history, and disconnect an account.","md",{},true,"\u002Fdocs\u002Faccounts",{"title":5,"description":1435},"Accounts API: Connected Social Accounts","docs\u002Faccounts","NCFxifDSp3NhNsT_MB6g7dBtVOSTzI8u7iTI2mI_OnQ",1794240387414]