Documentação

ReferênciaContratos

Listar contratos

GET/contracts

Lista contratos da organização com paginação baseada em cursor.

Autorização

X-API-Keystringobrigatóriono cabeçalho

Chave de API (prefixo nbr_) ou Token de Acesso Pessoal (prefixo pat_)

Parâmetros de consulta

cursorstring

Token opaco de cursor para paginação. Obtido via page_info.end_cursor da resposta anterior.

limitinteger

Número de itens por página, até 100; acima disso, 100. Sem valor, ou menor que 1, são 10.

formatoint64
statusstring[]

Mantém só os contratos nestes status. Repita o parâmetro para mais de um.

Valores aceitos:draftreviewapprovedpending_signaturepartially_signedfully_executedcancelled
contract_typestring

Mantém só os contratos deste tipo

Valores aceitos:promessacompromissoamendmentaddendum
searchstring

Mantém só os contratos cujo título, partes ou imóvel (tipo ou endereço) contêm o texto

date_fromstring

Mantém só os contratos criados a partir deste instante (RFC 3339)

formatodate-time
date_tostring

Mantém só os contratos criados até este instante (RFC 3339)

formatodate-time

Respostas

itemsobject[]obrigatório
page_infoobjectobrigatório
curl -X GET "https://api.nobur.com.br/public/v1/contracts" \  -H "X-API-Key: <token>"
{  "items": [    {      "content": "string",      "content_type": "tiptap",      "contract_number": "CONT-2026-000022",      "contract_type": "promessa",      "created_at": "2019-08-24T14:15:22Z",      "created_by": "string",      "current_version": 0,      "document_plan_version": 0,      "draft_document_id": "string",      "file_size": 0,      "file_type": "string",      "fully_executed_at": "2019-08-24T14:15:22Z",      "has_signed_pdf": true,      "id": "cnt_abc123",      "lawyer_email": "string",      "lawyer_review_notes": "string",      "lawyer_review_required": true,      "lawyer_reviewed_at": "2019-08-24T14:15:22Z",      "lawyer_share_token": "string",      "lawyer_share_token_created_at": "2019-08-24T14:15:22Z",      "lawyer_share_token_expires_at": "2019-08-24T14:15:22Z",      "organization_id": "string",      "parties_summary": {        "buyers": [          {            "id": "string",            "name": "string"          }        ],        "buyers_count": 0,        "sellers": [          {            "id": "string",            "name": "string"          }        ],        "sellers_count": 0      },      "properties": {        "count": 0,        "items": [          {            "address": "string",            "development_name": "string",            "id": "string",            "type": "apartment",            "unit": "string"          }        ]      },      "proposal_id": "string",      "proposal_number": "string",      "reviewed_at": "2019-08-24T14:15:22Z",      "reviewed_by": "string",      "sent_for_signature_at": "2019-08-24T14:15:22Z",      "sent_version_number": 0,      "share_options": {        "show_documents": true,        "show_parties": true,        "show_property": true      },      "share_token": "string",      "share_token_created_at": "2019-08-24T14:15:22Z",      "share_token_created_by": "string",      "share_token_enabled": true,      "share_token_expires_at": "2019-08-24T14:15:22Z",      "sharing": {        "can_edit": true,        "can_manage_sharing": true,        "can_view": true,        "is_owner": true,        "share_token_enabled": true,        "shared_with_count": 0,        "shared_with_users": [          {            "email": "string",            "name": "string",            "user_id": "string"          }        ],        "visibility": "restricted"      },      "signature_envelope_id": "string",      "signature_provider": "simple_consent",      "signed_document_id": "string",      "sinal_amount": 0,      "sinal_paid_at": "2019-08-24T14:15:22Z",      "sinal_payment_method": "pix",      "sinal_type": "confirmatoria",      "status": "draft",      "template_id": "string",      "tenant_id": "string",      "title": "string",      "updated_at": "2019-08-24T14:15:22Z",      "updated_by": "string",      "visibility": "restricted"    }  ],  "page_info": {    "end_cursor": "string",    "has_next_page": true,    "has_previous_page": true,    "start_cursor": "string",    "total": 0  }}