e-Próspera
Reference

Get agreement documents for a partner residency application

View as Markdown
GET
/api/v1/partner/residency_applications/{id}/documents

Returns the Agreement of Coexistence the applicant accepted for this application, including the template PDF for that version, and, once the residency exists, its signed agreement and the applicant’s policy documents. Signed agreements must match this application’s residency ID; agreements for other residencies, identity-verification artifacts, and tax documents are never returned. Requires partner:person.application.read.

Authorization

partnerKey
AuthorizationBearer <token>

Partner Key for one approved Partner Integration. Keys are lifecycle- and scope-checked, and cross-integration resources are hidden.

In: header

Path Parameters

id*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/partner/residency_applications/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "slug": "string",      "version": "string",      "fileUrl": "http://example.com",      "createdAt": "2019-08-24T14:15:22Z"    }  ],  "agreementOfCoexistence": {    "aocId": "362edf67-c84f-4643-8cf8-0b739c8e06c4",    "slug": "string",    "version": "string",    "residencyType": "string",    "templatePdfUrl": "http://example.com",    "accepted": true,    "acceptedAt": "2019-08-24T14:15:22Z",    "signerName": "string",    "invalidatedAt": "2019-08-24T14:15:22Z"  },  "residencyEffectiveDate": "2019-08-24T14:15:22Z"}