2:I[2734,["231","static/chunks/231-987d5c3e911703df.js","458","static/chunks/458-4089d99a84ebbe2b.js","235","static/chunks/235-5238db898b5afbf7.js","403","static/chunks/app/profiles/page-38d6f577964d2304.js"],"Heading"]
3:I[5294,["231","static/chunks/231-987d5c3e911703df.js","458","static/chunks/458-4089d99a84ebbe2b.js","235","static/chunks/235-5238db898b5afbf7.js","403","static/chunks/app/profiles/page-38d6f577964d2304.js"],"Code"]
4:I[5294,["231","static/chunks/231-987d5c3e911703df.js","458","static/chunks/458-4089d99a84ebbe2b.js","235","static/chunks/235-5238db898b5afbf7.js","403","static/chunks/app/profiles/page-38d6f577964d2304.js"],"CodeGroup"]
5:I[5294,["231","static/chunks/231-987d5c3e911703df.js","458","static/chunks/458-4089d99a84ebbe2b.js","235","static/chunks/235-5238db898b5afbf7.js","403","static/chunks/app/profiles/page-38d6f577964d2304.js"],"Pre"]
d:I[231,["231","static/chunks/231-987d5c3e911703df.js","458","static/chunks/458-4089d99a84ebbe2b.js","235","static/chunks/235-5238db898b5afbf7.js","403","static/chunks/app/profiles/page-38d6f577964d2304.js"],""]
1a:I[2403,["231","static/chunks/231-987d5c3e911703df.js","458","static/chunks/458-4089d99a84ebbe2b.js","235","static/chunks/235-5238db898b5afbf7.js","403","static/chunks/app/profiles/page-38d6f577964d2304.js"],"Feedback"]
1b:I[9275,[],""]
1c:I[1343,[],""]
6:T573,import ApiClient from '@example/gologin-api'
const client = new ApiClient(token)
await client.groups.list()
7:T41f,$client = new \GoLogin\ApiClient($token);
$client->groups->list();
8:T1da0,{
"has_more": false,
"data": [
{
"id": "l7cGNIBKZiNJ6wqF",
"name": "Plaza Hotel",
"description": "World-renowned.",
"avatar_url": "https://assets.gologin.chat/avatars/plazahotel.jpg",
"conversation_id": "ZYjVAbCE9g5XRlra",
"contacts": [
{
"username": "Hector"
// ...
},
{
"username": "Cedric"
// ...
},
{
"username": "Hester"
// ...
},
{
"username": "Cliff"
// ...
}
],
"created_at": 692233200,
"archived_at": null
},
{
"id": "hSIhXBhNe8X1d8Et"
// ...
}
]
}
9:T700,import ApiClient from '@example/gologin-api'
const client = new ApiClient(token)
await client.groups.create({
name: 'Plaza Hotel',
})
a:T4ab,from gologin_api import ApiClient
client = ApiClient(token)
client.groups.create(name="Plaza Hotel")
b:T69f,$client = new \GoLogin\ApiClient($token);
$client->groups->create([
'name' => 'Plaza Hotel',
]);
c:Tc47,{
"id": "l7cGNIBKZiNJ6wqF",
"name": "Plaza Hotel",
"description": null,
"avatar_url": null,
"conversation_id": "ZYjVAbCE9g5XRlra",
"contacts": [],
"created_at": 692233200,
"archived_at": null
}
e:T601,import ApiClient from '@example/gologin-api'
const client = new ApiClient(token)
await client.groups.get('L7cGNIBKZiNJ6wqF')
f:T471,from gologin_api import ApiClient
client = ApiClient(token)
client.groups.get("L7cGNIBKZiNJ6wqF")
10:T4b4,$client = new \GoLogin\ApiClient($token);
$client->groups->get('L7cGNIBKZiNJ6wqF');
11:T1749,{
"id": "l7cGNIBKZiNJ6wqF",
"name": "Plaza Hotel",
"description": "World-renowned.",
"avatar_url": "https://assets.gologin.chat/avatars/plazahotel.jpg",
"conversation_id": "ZYjVAbCE9g5XRlra",
"contacts": [
{
"username": "Hector"
// ...
},
{
"username": "Cedric"
// ...
},
{
"username": "Hester"
// ...
},
{
"username": "Cliff"
// ...
}
],
"created_at": 692233200,
"archived_at": null
}
12:T4ae,curl -X PUT https://api.gologin.chat/v1/groups/L7cGNIBKZiNJ6wqF \
-H "Authorization: Bearer {token}" \
-d description="The finest in New York."
13:T7e1,import ApiClient from '@example/gologin-api'
const client = new ApiClient(token)
await client.groups.update('L7cGNIBKZiNJ6wqF', {
description: 'The finest in New York.',
})
14:T558,from gologin_api import ApiClient
client = ApiClient(token)
client.groups.update("L7cGNIBKZiNJ6wqF", description="The finest in New York.")
15:T74a,$client = new \GoLogin\ApiClient($token);
$client->groups->update('L7cGNIBKZiNJ6wqF', [
'description' => 'The finest in New York.',
]);
16:T1752,{
"id": "l7cGNIBKZiNJ6wqF",
"name": "Plaza Hotel",
"description": "The finest in New York.",
"avatar_url": "https://assets.gologin.chat/avatars/plazahotel.jpg",
"conversation_id": "ZYjVAbCE9g5XRlra",
"contacts": [
{
"username": "Hector"
// ...
},
{
"username": "Cedric"
// ...
},
{
"username": "Hester"
// ...
},
{
"username": "Cliff"
// ...
}
],
"created_at": 692233200,
"archived_at": null
},
17:T604,import ApiClient from '@example/gologin-api'
const client = new ApiClient(token)
await client.groups.delete('L7cGNIBKZiNJ6wqF')
18:T474,from gologin_api import ApiClient
client = ApiClient(token)
client.groups.delete("L7cGNIBKZiNJ6wqF")
19:T4b7,$client = new \GoLogin\ApiClient($token);
$client->groups->delete('L7cGNIBKZiNJ6wqF');
0:["6ZCz-VlG0khrc3itF4UQu",[[["",{"children":["profiles",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["profiles",{"children":["__PAGE__",{},[["$L1",["$","article",null,{"className":"flex h-full flex-col pb-10 pt-16","children":[["$","div",null,{"className":"flex-auto prose dark:prose-invert [html_:where(&>*)]:mx-auto [html_:where(&>*)]:max-w-2xl [html_:where(&>*)]:lg:mx-[calc(50%-min(50%,theme(maxWidth.lg)))] [html_:where(&>*)]:lg:max-w-3xl","children":[["$","h1",null,{"children":"Browser profiles"}],"\n",["$","p",null,{"children":"Browser profiles are dedicated sets of browser, hardware and other settings which make you browser look unique for websites."}],"\n",["$","h3",null,{"children":"Properties"}],"\n",["$","div",null,{"className":"my-6","children":["$","ul",null,{"role":"list","className":"m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5","children":[["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"id"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"string"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"Unique identifier for the group."}]}]]}]}],["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"name"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"string"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"The name for the group."}]}]]}]}],["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"description"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"string"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"The description for the group."}]}]]}]}],["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"avatar_url"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"string"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"The avatar image URL for the group."}]}]]}]}],["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"conversation_id"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"string"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"Unique identifier for the conversation that belongs to the group."}]}]]}]}],["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"contacts"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"array"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"An array of contact objects that are members of the group."}]}]]}]}],["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"created_at"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"timestamp"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"Timestamp of when the group was created."}]}]]}]}],["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"archived_at"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"timestamp"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"Timestamp of when the group was archived."}]}]]}]}]]}]}],"\n",["$","hr",null,{}],"\n",["$","$L2",null,{"level":2,"id":"list-all-groups","children":"List all groups","tag":"GET","label":"/v1/groups"}],"\n",["$","div",null,{"className":"grid grid-cols-1 items-start gap-x-16 gap-y-10 xl:max-w-none xl:grid-cols-2","children":[["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":[["$","p",null,{"children":"This endpoint allows you to retrieve a paginated list of all your groups. By default, a maximum of ten groups are shown per page."}],["$","h3",null,{"children":"Optional attributes"}],["$","div",null,{"className":"my-6","children":["$","ul",null,{"role":"list","className":"m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5","children":[["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"limit"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"integer"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"Limit the number of groups returned."}]}]]}]}],["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"archived"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"boolean"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":["Only show groups that are archived when set to ",["$","$L3",null,{"children":"true"}],"."]}]}]]}]}]]}]}]]}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0 xl:sticky xl:top-24","children":[["$","$L4",null,{"title":"Request","tag":"GET","label":"/v1/groups","children":[["$","$L5",null,{"language":"bash","code":"curl -G https://api.gologin.chat/v1/groups \\\n -H \"Authorization: Bearer {token}\" \\\n -d limit=10\n","children":["$","$L3",null,{"className":"language-bash","children":"curl -G https://api.gologin.chat/v1/groups \\\n -H "Authorization: Bearer {token}" \\\n -d limit=10\n"}],"title":"cURL"}],["$","$L5",null,{"language":"js","code":"import ApiClient from '@example/gologin-api'\n\nconst client = new ApiClient(token)\n\nawait client.groups.list()\n","children":["$","$L3",null,{"className":"language-js","children":"$6"}]}],["$","$L5",null,{"language":"python","code":"from gologin_api import ApiClient\n\nclient = ApiClient(token)\n\nclient.groups.list()\n","children":["$","$L3",null,{"className":"language-python","children":"from gologin_api import ApiClient\n\nclient = ApiClient(token)\n\nclient.groups.list()\n"}]}],["$","$L5",null,{"language":"php","code":"$$client = new \\GoLogin\\ApiClient($token);\n\n$client->groups->list();\n","children":["$","$L3",null,{"className":"language-php","children":"$7"}]}]]}],["$","$L5",null,{"language":"json","code":"{\n \"has_more\": false,\n \"data\": [\n {\n \"id\": \"l7cGNIBKZiNJ6wqF\",\n \"name\": \"Plaza Hotel\",\n \"description\": \"World-renowned.\",\n \"avatar_url\": \"https://assets.gologin.chat/avatars/plazahotel.jpg\",\n \"conversation_id\": \"ZYjVAbCE9g5XRlra\",\n \"contacts\": [\n {\n \"username\": \"Hector\"\n // ...\n },\n {\n \"username\": \"Cedric\"\n // ...\n },\n {\n \"username\": \"Hester\"\n // ...\n },\n {\n \"username\": \"Cliff\"\n // ...\n }\n ],\n \"created_at\": 692233200,\n \"archived_at\": null\n },\n {\n \"id\": \"hSIhXBhNe8X1d8Et\"\n // ...\n }\n ]\n}\n","children":["$","$L3",null,{"className":"language-json","children":"$8"}],"title":"Response"}]]}]]}],"\n",["$","hr",null,{}],"\n",["$","$L2",null,{"level":2,"id":"create-a-group","children":"Create a group","tag":"POST","label":"/v1/groups"}],"\n",["$","div",null,{"className":"grid grid-cols-1 items-start gap-x-16 gap-y-10 xl:max-w-none xl:grid-cols-2","children":[["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":[["$","p",null,{"children":"This endpoint allows you to create a new group conversation between you and a group of your GoLogin contacts."}],["$","h3",null,{"children":"Required attributes"}],["$","div",null,{"className":"my-6","children":["$","ul",null,{"role":"list","className":"m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5","children":["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"name"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"string"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"The name for the group."}]}]]}]}]}]}],["$","h3",null,{"children":"Optional attributes"}],["$","div",null,{"className":"my-6","children":["$","ul",null,{"role":"list","className":"m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5","children":[["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"description"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"string"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"The description for the group."}]}]]}]}],["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"avatar_url"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"string"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"The avatar image URL for the group."}]}]]}]}],["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"contacts"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"array"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"An array of contact objects that are members of the group."}]}]]}]}]]}]}]]}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0 xl:sticky xl:top-24","children":[["$","$L4",null,{"title":"Request","tag":"POST","label":"/v1/groups","children":[["$","$L5",null,{"language":"bash","code":"curl https://api.gologin.chat/v1/groups \\\n -H \"Authorization: Bearer {token}\" \\\n -d name=\"Plaza Hotel\"\n","children":["$","$L3",null,{"className":"language-bash","children":"curl https://api.gologin.chat/v1/groups \\\n -H "Authorization: Bearer {token}" \\\n -d name="Plaza Hotel"\n"}],"title":"cURL"}],["$","$L5",null,{"language":"js","code":"import ApiClient from '@example/gologin-api'\n\nconst client = new ApiClient(token)\n\nawait client.groups.create({\n name: 'Plaza Hotel',\n})\n","children":["$","$L3",null,{"className":"language-js","children":"$9"}]}],["$","$L5",null,{"language":"python","code":"from gologin_api import ApiClient\n\nclient = ApiClient(token)\n\nclient.groups.create(name=\"Plaza Hotel\")\n","children":["$","$L3",null,{"className":"language-python","children":"$a"}]}],["$","$L5",null,{"language":"php","code":"$$client = new \\GoLogin\\ApiClient($token);\n\n$client->groups->create([\n 'name' => 'Plaza Hotel',\n]);\n","children":["$","$L3",null,{"className":"language-php","children":"$b"}]}]]}],["$","$L5",null,{"language":"json","code":"{\n \"id\": \"l7cGNIBKZiNJ6wqF\",\n \"name\": \"Plaza Hotel\",\n \"description\": null,\n \"avatar_url\": null,\n \"conversation_id\": \"ZYjVAbCE9g5XRlra\",\n \"contacts\": [],\n \"created_at\": 692233200,\n \"archived_at\": null\n}\n","children":["$","$L3",null,{"className":"language-json","children":"$c"}],"title":"Response"}]]}]]}],"\n",["$","hr",null,{}],"\n",["$","$L2",null,{"level":2,"id":"retrieve-a-group","children":"Retrieve a group","tag":"GET","label":"/v1/groups/:id"}],"\n",["$","div",null,{"className":"grid grid-cols-1 items-start gap-x-16 gap-y-10 xl:max-w-none xl:grid-cols-2","children":[["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":["This endpoint allows you to retrieve a group by providing the group id. Refer to ",["$","$Ld",null,{"href":"#the-group-model","children":"the list"}]," at the top of this page to see which properties are included with group objects."]}]}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0 xl:sticky xl:top-24","children":[["$","$L4",null,{"title":"Request","tag":"GET","label":"/v1/groups/L7cGNIBKZiNJ6wqF","children":[["$","$L5",null,{"language":"bash","code":"curl https://api.gologin.chat/v1/groups/L7cGNIBKZiNJ6wqF \\\n -H \"Authorization: Bearer {token}\"\n","children":["$","$L3",null,{"className":"language-bash","children":"curl https://api.gologin.chat/v1/groups/L7cGNIBKZiNJ6wqF \\\n -H "Authorization: Bearer {token}"\n"}],"title":"cURL"}],["$","$L5",null,{"language":"js","code":"import ApiClient from '@example/gologin-api'\n\nconst client = new ApiClient(token)\n\nawait client.groups.get('L7cGNIBKZiNJ6wqF')\n","children":["$","$L3",null,{"className":"language-js","children":"$e"}]}],["$","$L5",null,{"language":"python","code":"from gologin_api import ApiClient\n\nclient = ApiClient(token)\n\nclient.groups.get(\"L7cGNIBKZiNJ6wqF\")\n","children":["$","$L3",null,{"className":"language-python","children":"$f"}]}],["$","$L5",null,{"language":"php","code":"$$client = new \\GoLogin\\ApiClient($token);\n\n$client->groups->get('L7cGNIBKZiNJ6wqF');\n","children":["$","$L3",null,{"className":"language-php","children":"$10"}]}]]}],["$","$L5",null,{"language":"json","code":"{\n \"id\": \"l7cGNIBKZiNJ6wqF\",\n \"name\": \"Plaza Hotel\",\n \"description\": \"World-renowned.\",\n \"avatar_url\": \"https://assets.gologin.chat/avatars/plazahotel.jpg\",\n \"conversation_id\": \"ZYjVAbCE9g5XRlra\",\n \"contacts\": [\n {\n \"username\": \"Hector\"\n // ...\n },\n {\n \"username\": \"Cedric\"\n // ...\n },\n {\n \"username\": \"Hester\"\n // ...\n },\n {\n \"username\": \"Cliff\"\n // ...\n }\n ],\n \"created_at\": 692233200,\n \"archived_at\": null\n}\n","children":["$","$L3",null,{"className":"language-json","children":"$11"}],"title":"Response"}]]}]]}],"\n",["$","hr",null,{}],"\n",["$","$L2",null,{"level":2,"id":"update-a-group","children":"Update a group","tag":"PUT","label":"/v1/groups/:id"}],"\n",["$","div",null,{"className":"grid grid-cols-1 items-start gap-x-16 gap-y-10 xl:max-w-none xl:grid-cols-2","children":[["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":[["$","p",null,{"children":"This endpoint allows you to perform an update on a group. Examples of updates are changing the name, description, and avatar or adding and removing contacts from the group."}],["$","h3",null,{"children":"Optional attributes"}],["$","div",null,{"className":"my-6","children":["$","ul",null,{"role":"list","className":"m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5","children":[["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"name"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"string"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"The new name for the group."}]}]]}]}],["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"description"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"string"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"The new description for the group."}]}]]}]}],["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"avatar_url"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"string"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"The new avatar image URL for the group."}]}]]}]}],["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"contacts"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"array"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"An array of contact objects that are members of the group."}]}]]}]}],["$","li",null,{"className":"m-0 px-0 py-4 first:pt-0 last:pb-0","children":["$","dl",null,{"className":"m-0 flex flex-wrap items-center gap-x-3 gap-y-2","children":[["$","dt",null,{"className":"sr-only","children":"Name"}],["$","dd",null,{"children":["$","code",null,{"children":"archived_at"}]}],[["$","dt",null,{"className":"sr-only","children":"Type"}],["$","dd",null,{"className":"font-mono text-xs text-zinc-400 dark:text-zinc-500","children":"timestamp"}]],["$","dt",null,{"className":"sr-only","children":"Description"}],["$","dd",null,{"className":"w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"Timestamp of when the group was archived."}]}]]}]}]]}]}]]}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0 xl:sticky xl:top-24","children":[["$","$L4",null,{"title":"Request","tag":"PUT","label":"/v1/groups/L7cGNIBKZiNJ6wqF","children":[["$","$L5",null,{"language":"bash","code":"curl -X PUT https://api.gologin.chat/v1/groups/L7cGNIBKZiNJ6wqF \\\n -H \"Authorization: Bearer {token}\" \\\n -d description=\"The finest in New York.\"\n","children":["$","$L3",null,{"className":"language-bash","children":"$12"}],"title":"cURL"}],["$","$L5",null,{"language":"js","code":"import ApiClient from '@example/gologin-api'\n\nconst client = new ApiClient(token)\n\nawait client.groups.update('L7cGNIBKZiNJ6wqF', {\n description: 'The finest in New York.',\n})\n","children":["$","$L3",null,{"className":"language-js","children":"$13"}]}],["$","$L5",null,{"language":"python","code":"from gologin_api import ApiClient\n\nclient = ApiClient(token)\n\nclient.groups.update(\"L7cGNIBKZiNJ6wqF\", description=\"The finest in New York.\")\n","children":["$","$L3",null,{"className":"language-python","children":"$14"}]}],["$","$L5",null,{"language":"php","code":"$$client = new \\GoLogin\\ApiClient($token);\n\n$client->groups->update('L7cGNIBKZiNJ6wqF', [\n 'description' => 'The finest in New York.',\n]);\n","children":["$","$L3",null,{"className":"language-php","children":"$15"}]}]]}],["$","$L5",null,{"language":"json","code":"{\n \"id\": \"l7cGNIBKZiNJ6wqF\",\n \"name\": \"Plaza Hotel\",\n \"description\": \"The finest in New York.\",\n \"avatar_url\": \"https://assets.gologin.chat/avatars/plazahotel.jpg\",\n \"conversation_id\": \"ZYjVAbCE9g5XRlra\",\n \"contacts\": [\n {\n \"username\": \"Hector\"\n // ...\n },\n {\n \"username\": \"Cedric\"\n // ...\n },\n {\n \"username\": \"Hester\"\n // ...\n },\n {\n \"username\": \"Cliff\"\n // ...\n }\n ],\n \"created_at\": 692233200,\n \"archived_at\": null\n},\n","children":["$","$L3",null,{"className":"language-json","children":"$16"}],"title":"Response"}]]}]]}],"\n",["$","hr",null,{}],"\n",["$","$L2",null,{"level":2,"id":"delete-a-group","children":"Delete a group","tag":"DELETE","label":"/v1/groups/:id"}],"\n",["$","div",null,{"className":"grid grid-cols-1 items-start gap-x-16 gap-y-10 xl:max-w-none xl:grid-cols-2","children":[["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"This endpoint allows you to delete groups. Note: This will permanently delete the group, including the messages — archive it instead if you want to be able to restore it later."}]}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0 xl:sticky xl:top-24","children":["$","$L4",null,{"title":"Request","tag":"DELETE","label":"/v1/groups/L7cGNIBKZiNJ6wqF","children":[["$","$L5",null,{"language":"bash","code":"curl -X DELETE https://api.gologin.chat/v1/groups/L7cGNIBKZiNJ6wqF \\\n -H \"Authorization: Bearer {token}\"\n","children":["$","$L3",null,{"className":"language-bash","children":"curl -X DELETE https://api.gologin.chat/v1/groups/L7cGNIBKZiNJ6wqF \\\n -H "Authorization: Bearer {token}"\n"}],"title":"cURL"}],["$","$L5",null,{"language":"js","code":"import ApiClient from '@example/gologin-api'\n\nconst client = new ApiClient(token)\n\nawait client.groups.delete('L7cGNIBKZiNJ6wqF')\n","children":["$","$L3",null,{"className":"language-js","children":"$17"}]}],["$","$L5",null,{"language":"python","code":"from gologin_api import ApiClient\n\nclient = ApiClient(token)\n\nclient.groups.delete(\"L7cGNIBKZiNJ6wqF\")\n","children":["$","$L3",null,{"className":"language-python","children":"$18"}]}],["$","$L5",null,{"language":"php","code":"$$client = new \\GoLogin\\ApiClient($token);\n\n$client->groups->delete('L7cGNIBKZiNJ6wqF');\n","children":["$","$L3",null,{"className":"language-php","children":"$19"}]}]]}]}]]}]]}],["$","footer",null,{"className":"mx-auto mt-16 w-full max-w-2xl lg:max-w-5xl","children":["$","$L1a",null,{}]}]]}]],null],null]},["$","$L1b",null,{"parallelRouterKey":"children","segmentPath":["children","profiles","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L1c",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}],null]},["$L1d",null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/027cc402be06af88.css","precedence":"next","crossOrigin":"$undefined"}]],"$L1e"]]]]
1e:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Browser profiles - GoLogin API Reference"}],["$","meta","3",{"name":"description","content":"On this page, we’ll dive into the different group endpoints you can use to manage groups programmatically."}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]]
1:null
1f:I[2650,["231","static/chunks/231-987d5c3e911703df.js","458","static/chunks/458-4089d99a84ebbe2b.js","533","static/chunks/533-463131cc62f06a62.js","173","static/chunks/173-fc203c72e72da31b.js","192","static/chunks/192-bdca0343973e6cb5.js","235","static/chunks/235-5238db898b5afbf7.js","185","static/chunks/app/layout-1476186cd824e018.js"],"Providers"]
20:I[7010,["231","static/chunks/231-987d5c3e911703df.js","458","static/chunks/458-4089d99a84ebbe2b.js","533","static/chunks/533-463131cc62f06a62.js","173","static/chunks/173-fc203c72e72da31b.js","192","static/chunks/192-bdca0343973e6cb5.js","235","static/chunks/235-5238db898b5afbf7.js","185","static/chunks/app/layout-1476186cd824e018.js"],"Layout"]
21:I[4080,["231","static/chunks/231-987d5c3e911703df.js","458","static/chunks/458-4089d99a84ebbe2b.js","533","static/chunks/533-463131cc62f06a62.js","173","static/chunks/173-fc203c72e72da31b.js","192","static/chunks/192-bdca0343973e6cb5.js","235","static/chunks/235-5238db898b5afbf7.js","185","static/chunks/app/layout-1476186cd824e018.js"],""]
22:T47c,
const APP_ID = 'izr1nygf';
const user = {
// user_id: 1,
// email: 'dima.kaigorod@gmail.com',
// name: ''
};
window.intercomSettings = {
api_base: "https://api-iam.intercom.io",
app_id: APP_ID,
user_id: user.user_id, // IMPORTANT: Replace "user.id" with the variable you use to capture the user's ID
name: user.name, // IMPORTANT: Replace "user.name" with the variable you use to capture the user's name
email: user.email, // IMPORTANT: Replace "user.email" with the variable you use to capture the user's email address
};
(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('update',w.intercomSettings);}else{var d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/' + APP_ID;var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s, x);};if(document.readyState==='complete'){l();}else if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();
1d:["$","html",null,{"lang":"en","className":"h-full","suppressHydrationWarning":true,"children":["$","body",null,{"className":"flex min-h-full bg-white antialiased dark:bg-zinc-900","children":[["$","$L1f",null,{"children":["$","div",null,{"className":"w-full","children":["$","$L20",null,{"allSections":{"/":[{"title":"Guides","id":"guides"},{"title":"Resources","id":"resources"}],"/attachments":[{"title":"The attachment model","id":"the-attachment-model"},{"title":"List all attachments","id":"list-all-attachments","tag":"GET","label":"/v1/attachments"},{"title":"Create an attachment","id":"create-an-attachment","tag":"POST","label":"/v1/attachments"},{"title":"Retrieve an attachment","id":"retrieve-an-attachment","tag":"GET","label":"/v1/attachments/:id"},{"title":"Update an attachment","id":"update-an-attachment","tag":"PUT","label":"/v1/attachments/:id"},{"title":"Delete an attachment","id":"delete-an-attachment","tag":"DELETE","label":"/v1/attachments/:id"}],"/authentication":[{"title":"OAuth2 with bearer token","id":"o-auth2-with-bearer-token"},{"title":"Using an GologinApi instance","id":"using-an-gologin-api-instance"},{"title":"Using an SDK","id":"using-an-sdk"}],"/cloud":[{"title":"Make your first run of browser in the cloud","id":"make-your-first-run-of-browser-in-the-cloud"},{"title":"Running code yourself","id":"running-code-yourself"},{"title":"What's next?","id":"whats-next"}],"/contacts":[{"title":"The contact model","id":"the-contact-model"},{"title":"List all contacts","id":"list-all-contacts","tag":"GET","label":"/v1/contacts"},{"title":"Create a contact","id":"create-a-contact","tag":"POST","label":"/v1/contacts"},{"title":"Retrieve a contact","id":"retrieve-a-contact","tag":"GET","label":"/v1/contacts/:id"},{"title":"Update a contact","id":"update-a-contact","tag":"PUT","label":"/v1/contacts/:id"},{"title":"Delete a contact","id":"delete-a-contact","tag":"DELETE","label":"/v1/contacts/:id"}],"/custom-proxies":[{"title":"Clone and run headless scraping browser code sample","id":"clone-and-run-headless-scraping-browser-code-sample"},{"title":"What's next?","id":"whats-next"}],"/headless":[{"title":"Clone and run headless scraping browser code sample","id":"clone-and-run-headless-scraping-browser-code-sample"},{"title":"What's next?","id":"whats-next"}],"/conversations":[{"title":"The conversation model","id":"the-conversation-model"},{"title":"List all conversations","id":"list-all-conversations","tag":"GET","label":"/v1/conversations"},{"title":"Create a conversation","id":"create-a-conversation","tag":"POST","label":"/v1/conversations"},{"title":"Retrieve a conversation","id":"retrieve-a-conversation","tag":"GET","label":"/v1/conversations/:id"},{"title":"Update a conversation","id":"update-a-conversation","tag":"PUT","label":"/v1/conversations/:id"},{"title":"Delete a conversation","id":"delete-a-conversation","tag":"DELETE","label":"/v1/conversations/:id"}],"/errors":[{"title":"Status codes","id":"status-codes"},{"title":"Error types","id":"error-types"}],"/profiles":[{"title":"List all groups","id":"list-all-groups","tag":"GET","label":"/v1/groups"},{"title":"Create a group","id":"create-a-group","tag":"POST","label":"/v1/groups"},{"title":"Retrieve a group","id":"retrieve-a-group","tag":"GET","label":"/v1/groups/:id"},{"title":"Update a group","id":"update-a-group","tag":"PUT","label":"/v1/groups/:id"},{"title":"Delete a group","id":"delete-a-group","tag":"DELETE","label":"/v1/groups/:id"}],"/provided-proxies":[{"title":"Clone and run headless scraping browser code sample","id":"clone-and-run-headless-scraping-browser-code-sample"},{"title":"What's next?","id":"whats-next"}],"/quickstart":[{"title":"Making your first anonymous scrapping request","id":"making-your-first-anonymous-scrapping-request"},{"title":"What this script does, step by step","id":"what-this-script-does-step-by-step"},{"title":"Running code yourself","id":"running-code-yourself"},{"title":"What's next?","id":"whats-next"}],"/recaptcha":[{"title":"Making your first anonymous scrapping request","id":"making-your-first-anonymous-scrapping-request"},{"title":"What this script does, step by step","id":"what-this-script-does-step-by-step"},{"title":"Running code yourself","id":"running-code-yourself"},{"title":"What's next?","id":"whats-next"}],"/sdks":[{"title":"Official libraries","id":"official-libraries"}]},"children":["$","$L1b",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L1c",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"absolute inset-0 -z-10 mx-0 max-w-none overflow-hidden","children":["$","div",null,{"className":"absolute left-1/2 top-0 ml-[-38rem] h-[25rem] w-[81.25rem] dark:[mask-image:linear-gradient(white,transparent)]","children":[["$","div",null,{"className":"absolute inset-0 bg-gradient-to-r from-[#36b49f] to-[#DBFF75] opacity-40 [mask-image:radial-gradient(farthest-side_at_top,white,transparent)] dark:from-[#36b49f]/30 dark:to-[#DBFF75]/30 dark:opacity-100","children":["$","svg",null,{"aria-hidden":"true","className":"absolute inset-x-0 inset-y-[-50%] h-[200%] w-full skew-y-[-18deg] fill-black/40 stroke-black/50 mix-blend-overlay dark:fill-white/2.5 dark:stroke-white/5","children":[["$","defs",null,{"children":["$","pattern",null,{"id":":S1:","width":72,"height":56,"patternUnits":"userSpaceOnUse","x":-12,"y":4,"children":["$","path",null,{"d":"M.5 56V.5H72","fill":"none"}]}]}],["$","rect",null,{"width":"100%","height":"100%","strokeWidth":0,"fill":"url(#:S1:)"}],["$","svg",null,{"x":-12,"y":4,"className":"overflow-visible","children":[["$","rect","4-3",{"strokeWidth":"0","width":73,"height":57,"x":288,"y":168}],["$","rect","2-1",{"strokeWidth":"0","width":73,"height":57,"x":144,"y":56}],["$","rect","7-3",{"strokeWidth":"0","width":73,"height":57,"x":504,"y":168}],["$","rect","10-6",{"strokeWidth":"0","width":73,"height":57,"x":720,"y":336}]]}]]}]}],["$","svg",null,{"viewBox":"0 0 1113 440","aria-hidden":"true","className":"absolute left-1/2 top-0 ml-[-19rem] w-[69.5625rem] fill-white blur-[26px] dark:hidden","children":["$","path",null,{"d":"M.016 439.5s-9.5-300 434-300S882.516 20 882.516 20V0h230.004v439.5H.016Z"}]}]]}]}],["$","div",null,{"className":"mx-auto flex h-full max-w-xl flex-col items-center justify-center py-16 text-center","children":[["$","p",null,{"className":"text-sm font-semibold text-zinc-900 dark:text-white","children":"404"}],["$","h1",null,{"className":"mt-2 text-2xl font-bold text-zinc-900 dark:text-white","children":"Page not found"}],["$","p",null,{"className":"mt-2 text-base text-zinc-600 dark:text-zinc-400","children":"Sorry, we couldn’t find the page you’re looking for."}],["$","$Ld",null,{"className":"inline-flex gap-0.5 justify-center overflow-hidden text-sm font-medium transition rounded-full bg-zinc-900 py-1 px-3 text-white hover:bg-zinc-700 dark:bg-emerald-400/10 dark:text-emerald-400 dark:ring-1 dark:ring-inset dark:ring-emerald-400/20 dark:hover:bg-emerald-400/10 dark:hover:text-emerald-300 dark:hover:ring-emerald-300 mt-8","href":"/","children":[false,"Back to docs",["$","svg",null,{"viewBox":"0 0 20 20","fill":"none","aria-hidden":"true","className":"mt-0.5 h-5 w-5 -mr-1","children":["$","path",null,{"stroke":"currentColor","strokeLinecap":"round","strokeLinejoin":"round","d":"m11.5 6.5 3 3.5m0 0-3 3.5m3-3.5h-9"}]}]]}]]}]],"notFoundStyles":[],"styles":null}]}]}]}],["$","$L21",null,{"id":"intercom","dangerouslySetInnerHTML":{"__html":"$22"}}]]}]}]