TeaseDocs
DevelopersAPI referenceAccounts

Import a browser session

Connect a social account from its browser cookies; the write keeps only their hash.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

POST /v1/accounts/session-import: the browser's cookies, its device keys and an exit.

Response Body

application/json

application/json

POST
/v1/accounts/session-import
curl -X POST "https://example.com/v1/accounts/session-import" \  -H "Content-Type: application/json" \  -d '{    "platform": "string",    "cookies": [      {}    ]  }'
null
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}