Mandates
Attach a document to a mandate
Attaches a signed document (media) to a mandate. When the attached document is signed and the mandate is within its validity window, the mandate is atomically activated (status becomes active).
curl -X POST https://api.faireplace.com/api/mandates/770e8400-e29b-41d4-a716-446655440222/attach-document \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "media_id": "660e8400-e29b-41d4-a716-446655440111" }'
post/mandates/{id}/attach-document
Request
- Base URL: https://api.faireplace.com/api
- URL: https://api.faireplace.com/api/mandates/{id}/attach-document
- Auth: HTTP bearer
Path parameters
idstring uuid required
Request body
Example request
{
"media_id": "660e8400-e29b-41d4-a716-446655440111"
}Response
The updated mandate.
Example response
{
"id": "770e8400-e29b-41d4-a716-446655440222",
"tenant_id": "tenant_123",
"mandataire_auth_user_id": "user_456",
"principal": {
"person_id": "550e8400-e29b-41d4-a716-446655440000",
"kind": "owner",
"display_name": "Jean Dupont"
},
"scope": [
"initiate_signature",
"sign_on_behalf"
],
"valid_from": "2026-01-01",
"valid_until": "2026-12-31",
"mandate_document": {
"media_id": "660e8400-e29b-41d4-a716-446655440111"
},
"status": "draft",
"created_at": "2026-01-01T10:00:00Z",
"updated_at": "2026-01-01T10:00:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.