Skip to main content
POST
/
v1
/
identities
/
profile-sessions
Create Profile Session
curl --request POST \
  --url https://api.anchorbrowser.io/v1/identities/profile-sessions \
  --header 'Content-Type: application/json' \
  --header 'anchor-api-key: <api-key>' \
  --data '
{
  "profile_name": "<string>",
  "initial_url": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "cdp_url": "<string>",
    "live_view_url": "<string>"
  }
}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Body

application/json
profile_name
string
required

Name of the profile to load and persist.

initial_url
string
required

URL to open when the session starts.

Response

Profile session created successfully.

data
object