curl --request POST \
--url https://events.1password.com/api/v2/signinattempts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"cursor": "aGVsbG8hIGlzIGl0IG1lIHlvdSBhcmUgbG9va2luZyBmb3IK"
}
'{
"items": [
{
"uuid": "56YE2TYN2VFYRLNSHKPW5NVT5E",
"session_uuid": "56YE2TYN2VFYRLNSHKPW5NVT5E",
"timestamp": "2020-06-11T16:32:50-03:00",
"category": "firewall_failed",
"type": "continent_blocked",
"country": "France",
"details": {
"value": "Europe"
},
"target_user": {
"uuid": "56YE2TYN2VFYRLNSHKPW5NVT5E",
"name": "Jack O'Neill",
"email": "jsmith@example.com",
"user_account_uuid": "56YE2TYN2VFYRLNSHKPW5NVT5E"
},
"client": {
"app_name": "1Password Extension",
"app_version": "20127",
"platform_name": "Chrome",
"platform_version": "<string>",
"os_name": "MacOSX",
"os_version": "10.15.6",
"ip_address": "13.227.95.22"
},
"location": {
"country": "CA",
"region": "Ontario",
"city": "Toronto",
"longitude": 43.64,
"latitude": -79.433
},
"account_uuid": "56YE2TYN2VFYRLNSHKPW5NVT5E"
}
],
"cursor": "aGVsbG8hIGlzIGl0IG1lIHlvdSBhcmUgbG9va2luZyBmb3IK",
"has_more": true
}API Reference
Retrieves events for both successful and failed attempts to sign into a 1Password account
This endpoint requires your JSON Web Token to have the signinattempts feature.
POST
/
api
/
v2
/
signinattempts
curl --request POST \
--url https://events.1password.com/api/v2/signinattempts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"cursor": "aGVsbG8hIGlzIGl0IG1lIHlvdSBhcmUgbG9va2luZyBmb3IK"
}
'{
"items": [
{
"uuid": "56YE2TYN2VFYRLNSHKPW5NVT5E",
"session_uuid": "56YE2TYN2VFYRLNSHKPW5NVT5E",
"timestamp": "2020-06-11T16:32:50-03:00",
"category": "firewall_failed",
"type": "continent_blocked",
"country": "France",
"details": {
"value": "Europe"
},
"target_user": {
"uuid": "56YE2TYN2VFYRLNSHKPW5NVT5E",
"name": "Jack O'Neill",
"email": "jsmith@example.com",
"user_account_uuid": "56YE2TYN2VFYRLNSHKPW5NVT5E"
},
"client": {
"app_name": "1Password Extension",
"app_version": "20127",
"platform_name": "Chrome",
"platform_version": "<string>",
"os_name": "MacOSX",
"os_version": "10.15.6",
"ip_address": "13.227.95.22"
},
"location": {
"country": "CA",
"region": "Ontario",
"city": "Toronto",
"longitude": 43.64,
"latitude": -79.433
},
"account_uuid": "56YE2TYN2VFYRLNSHKPW5NVT5E"
}
],
"cursor": "aGVsbG8hIGlzIGl0IG1lIHlvdSBhcmUgbG9va2luZyBmb3IK",
"has_more": true
}Authorizations
A JWT SA token issued to this service
Body
application/json
- Option 1
- Option 2
Cursor
Cursor to fetch more data if available or continue the polling process if required
Example:
"aGVsbG8hIGlzIGl0IG1lIHlvdSBhcmUgbG9va2luZyBmb3IK"
Response
Sign-in attempts response object
An object wrapping cursor properties and a list of sign-in attempts
Show child attributes
Show child attributes
Cursor to fetch more data if available or continue the polling process if required
Example:
"aGVsbG8hIGlzIGl0IG1lIHlvdSBhcmUgbG9va2luZyBmb3IK"
Whether there may still be more data to fetch using the returned cursor. If true, the subsequent request could still be empty.
Was this page helpful?
⌘I