/api/v1/profiles/package/export
Export profiles as an encrypted .adbprofile package (Argon2id + XChaCha20-Poly1305): settings, accounts, proxy, neutral cookies, browser data without cache; supported Windows DPAPI keys are transferred in the package and protected again on import; App-Bound data is omitted
Request#
curl --fail-with-body --request POST \
"$ADBR_API_URL/api/v1/profiles/package/export" \
-H "Authorization: Bearer $ADBR_API_TOKEN" \
-H "Content-Type: application/json" \
--data @request.jsonUse the local address and token from API & MCP. Replace path placeholders such as {id} with actual IDs. Create request.json according to the body schema below before running this command.
Authentication and permissions#
Authentication: Bearer token
Scopes: profiles:read, secrets:read
All listed scopes are required; admin satisfies scope checks. Account permissions, request content, vault state and resource permissions can impose additional requirements.
Parameters#
No path or query parameters declared.
Request body#
Required.
| Field | Type | Required | Description |
|---|---|---|---|
ids | array | Yes | |
password | string | Yes | |
target_path | string | Yes | |
include_cookies | boolean | No | |
include_browser_data | boolean | No |
Complete body schema
{
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"ids",
"password",
"target_path"
],
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"minItems": 1,
"maxItems": 1000
},
"password": {
"type": "string",
"minLength": 12,
"maxLength": 1024
},
"target_path": {
"type": "string",
"minLength": 4,
"maxLength": 1024
},
"include_cookies": {
"type": "boolean"
},
"include_browser_data": {
"type": "boolean"
}
},
"additionalProperties": false
}
}
}
}Responses#
200 · Default response
{
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"path",
"size_bytes",
"sha256",
"profiles"
],
"properties": {
"path": {
"type": "string"
},
"size_bytes": {
"type": "integer"
},
"sha256": {
"type": "string"
},
"profiles": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"no",
"name",
"cookies",
"files",
"warnings"
],
"properties": {
"id": {
"type": "string"
},
"no": {
"type": "integer"
},
"name": {
"type": "string"
},
"cookies": {
"type": [
"null",
"integer"
]
},
"files": {
"type": "integer"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}
}
}
}default · HTTP error envelope. The status and error.code identify the failure.
{
"description": "HTTP error envelope. The status and error.code identify the failure.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}General authentication and transport errors may occur in addition to the documented responses.
OpenAPI definition#
Complete operation definition
{
"summary": "Profile als verschlüsseltes .adbprofile-Paket exportieren (Argon2id + XChaCha20-Poly1305): Einstellungen, Konten, Proxy, Cookies neutral, Browserdaten ohne Cache; unterstützte Windows-DPAPI-Schlüssel werden im Paket übertragen und beim Import neu geschützt, App-Bound-Daten werden ausgelassen",
"tags": [
"Import/Export"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"ids",
"password",
"target_path"
],
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"minItems": 1,
"maxItems": 1000
},
"password": {
"type": "string",
"minLength": 12,
"maxLength": 1024
},
"target_path": {
"type": "string",
"minLength": 4,
"maxLength": 1024
},
"include_cookies": {
"type": "boolean"
},
"include_browser_data": {
"type": "boolean"
}
},
"additionalProperties": false
}
}
}
},
"x-required-scopes": [
"profiles:read",
"secrets:read"
],
"responses": {
"200": {
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"path",
"size_bytes",
"sha256",
"profiles"
],
"properties": {
"path": {
"type": "string"
},
"size_bytes": {
"type": "integer"
},
"sha256": {
"type": "string"
},
"profiles": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"no",
"name",
"cookies",
"files",
"warnings"
],
"properties": {
"id": {
"type": "string"
},
"no": {
"type": "integer"
},
"name": {
"type": "string"
},
"cookies": {
"type": [
"null",
"integer"
]
},
"files": {
"type": "integer"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}
}
}
},
"default": {
"description": "HTTP error envelope. The status and error.code identify the failure.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}