Actions (Beta) ๐งช
- LinkedIn
Integrations
Add session
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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Available options:
unspecified
, no_restriction
, Lax
, lax
, Strict
, strict
, None
, none
Available options:
unspecified
, no_restriction
, Lax
, lax
, Strict
, strict
, None
, none
Available options:
active
, revoked
, unknown
Was this page helpful?
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>"
}