The served legal documents and this tenant's acceptances
GET
/v1/agreements
const url = 'https://api.vocapable.com/v1/agreements';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.vocapable.com/v1/agreements \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
AgreementList
object
documents
required
Documents
Array<object>
AgreementDocumentOne gated document as currently served, with the caller-tenant’s acceptance state.
object
kind
required
Kind
string
version
required
Version
string
content_sha256
required
Content Sha256
string
gate_scope
required
Gate Scope
string
draft
required
Draft
boolean
accepted
required
Accepted
boolean
Example
{ "documents": [ { "kind": "msa", "gate_scope": "account" } ]}