Retrieving documents
Almost everything you need to know to list or search for specific documents of a user.
Retrieving a specific document
# If you copy the query, remember to remove the comments
query {
document(id: "DOCUMENT ID") {
id
name
refusable
sortable
created_at
files { original signed pades }
signatures {
public_id
name
email
created_at
action { name }
link { short_link } # Signature link when the signer is added by "name" instead of "email"
user { id name email phone }
user_data { name email phone } # Data related to lock_user_data when creating the document
email_events {
sent # Email sending timestamp confirmation
opened # Email open timestamp (may not be registered in some email clients)
delivered # Email open timestamp (may not be registered in some email clients)
refused # Email sending error timestamp
reason # Error message returned when sending fails
}
viewed { ...event } # When the signer views
signed { ...event } # When the signer signs
rejected { ...event } # When the signer rejects
signed_unapproved { ...event } # When the signer signs but is pending biometric approval
biometric_approved { ...event } # When the pending biometric of the signer is approved
biometric_rejected { ...event } # When the pending biometric of the signer is rejected
}
}
}
fragment event on Event {
ip
port
reason
created_at
geolocation {
country
countryISO
state
stateISO
city
zipcode
latitude
longitude
}
}

Listing Documents

Retrieving documents from a folder

Last updated