POST
/
account
/
api
/
v1
/
session
curl --request POST \
  --url https://svc.sandbox.anon.com/account/api/v1/session \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ownerId": "<string>",
  "domain": "<string>",
  "session": {
    "id": "<string>",
    "status": "active",
    "cookies": [
      {
        "name": "<string>",
        "value": "<string>",
        "domain": "<string>",
        "path": "<string>",
        "expires": 123,
        "secure": true,
        "hostOnly": true,
        "httpOnly": true,
        "discard": true,
        "session": true,
        "partitioned": true,
        "sameSite": "unspecified",
        "sameSitePolicy": "unspecified",
        "storeId": "<string>"
      }
    ],
    "localStorage": [
      [
        "<string>"
      ]
    ],
    "sessionStorage": [
      [
        "<string>"
      ]
    ],
    "proxyId": "<string>",
    "url": "<string>"
  }
}'
{
  "message": "<string>",
  "ownerId": "<string>",
  "domain": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
domain
string
required
session
object
required
ownerId
string | null

Response

200 - application/json
Successful response

Added session info

message
string
required
ownerId
string
required
domain
string
required

Was this page helpful?