curl --request POST \
--url https://api.anchorbrowser.io/v1/identities/{identityId}/reauthenticate \
--header 'Content-Type: application/json' \
--header 'anchor-api-key: <api-key>' \
--data '{
"sync": true
}'{
"identityId": "<string>",
"async": true
}{
"error": {
"code": 123,
"message": "<string>"
}
}{
"error": {
"code": 123,
"message": "<string>"
}
}{
"error": {
"code": 123,
"message": "<string>"
}
}{
"error": {
"code": 123,
"message": "<string>"
}
}{
"error": {
"code": 123,
"message": "<string>"
}
}Identities
Reauthenticate Identity
Re-authenticates an identity on demand: validates the saved browser profile and runs login if
it is no longer signed in, then persists the refreshed profile and tears the temporary session
down. Equivalent to a session with identity_skip_validation: false that ends after auth.
POST
/
v1
/
identities
/
{identityId}
/
reauthenticate
curl --request POST \
--url https://api.anchorbrowser.io/v1/identities/{identityId}/reauthenticate \
--header 'Content-Type: application/json' \
--header 'anchor-api-key: <api-key>' \
--data '{
"sync": true
}'{
"identityId": "<string>",
"async": true
}{
"error": {
"code": 123,
"message": "<string>"
}
}{
"error": {
"code": 123,
"message": "<string>"
}
}{
"error": {
"code": 123,
"message": "<string>"
}
}{
"error": {
"code": 123,
"message": "<string>"
}
}{
"error": {
"code": 123,
"message": "<string>"
}
}Authorizations
API key for your Anchor Browser account, sent as the anchor-api-key header on every
request. Create one at app.anchorbrowser.io (API Access),
or obtain one programmatically via the unauthenticated agent-access flow
(POST /v1/agent-access).
Path Parameters
The ID of the identity to reauthenticate
Body
application/json
When true (default), wait for authentication to finish and persist the refreshed
profile before returning. When false, start authentication asynchronously.
Was this page helpful?

