Archived transactions can be retrieved via the /archives
endpoint. Note that archived transactions are also available via the /transactions
endpoint for 60 days. After this period, an archived transaction can only be retrieved via the /archives
endpoint.
To retrieve an archived transaction, send a request to GET /v1/archives/{transaction_id}
.
curl
https://api.universign.com/v1/archives/tx_YxwdbnAdl9vO \
The API returns a transaction_archive
object.
{
"object": "transaction-archive",
"transaction_id": "tx_YxwdbnAdl9vO",
"created_at": "2021-09-13T13:12:07Z",
"started_at": "2021-09-13T14:13:08Z",
"completed_at": "2021-09-15T17:18:02Z",
"name": "Insurance contract",
"language": "fr",
"participants": [
{
"email": "bob@universign.com"
},
{
"email": "carol@universign.com",
"name": "Carol Smith"
}
],
"documents": [
{
"id": "doc_87oO",
"name": "contract.pdf"
}
],
"metadata": { },
"carbon_copies" : [ ],
"uploads" : [ ],
"private" : false
}