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,
"sessionId": "<string>",
"auth_status": "authenticated",
"method": "profile"
}{
"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,
"sessionId": "<string>",
"auth_status": "authenticated",
"method": "profile"
}{
"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).
Body
application/json
Response
Identity reauthentication started or completed
Was this page helpful?

