Skip to main content
POST
/
v1
/
sessions
/
{sessionId}
/
uploads
Upload Files
curl --request POST \
  --url https://api.anchorbrowser.io/v1/sessions/{sessionId}/uploads \
  --header 'Content-Type: multipart/form-data' \
  --header 'anchor-api-key: <api-key>' \
  --form file=@example-file
{
  "data": {
    "status": "<string>",
    "message": "<string>"
  }
}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Path Parameters

sessionId
string<uuid>
required

The browser session ID

Body

multipart/form-data
file
file
required

File to upload to the browser session

Response

File uploaded successfully

data
object
I