PlatformIntegrations
API ReferenceV1 (Legacy)

Leases

List leases

GET
/leases
AuthorizationBasic <token>

Base64-encoded clientId:clientSecret

In: header

Query Parameters

offset?integer
Default0
Range0 <= value
limit?integer
Default10
Range1 <= value <= 100
sortBy?string
descending?boolean
search?string
metadata[key]?string

Filter by metadata key-value pair

Header Parameters

Obligo-Versionstring

API version header

Value in"1"

Response Body

application/json

application/json

curl -X GET "https://api.obligo.com/leases?offset=0&limit=10&sortBy=string&descending=true&search=string&metadata%5Bkey%5D=string" \  -H "Obligo-Version: 1"
{
  "totalItems": 0,
  "items": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "referenceCode": "string",
      "startsAt": "2019-08-24",
      "endsAt": "2019-08-24",
      "propertyId": "8e8b8450-dc1b-4360-8109-7067337b42cb",
      "assetId": "9179b887-04ef-4ce5-ab3a-b5bbd39ea3c8",
      "fundsRouterId": "20f31fbb-7ba1-4ccf-a098-fd2da5d475fa",
      "address": {
        "line": "string",
        "city": "string",
        "state": "string",
        "country": "string",
        "postalCode": "string"
      },
      "unit": "string",
      "rent": 0,
      "termType": "Fixed",
      "applicationStatus": "Approved",
      "assignee": {
        "name": "string",
        "email": "user@example.com"
      },
      "managementUrl": "string",
      "leaseCreatedAt": "2019-08-24T14:15:22Z",
      "signedAt": "2019-08-24T14:15:22Z",
      "moveInAt": "2019-08-24T14:15:22Z",
      "moveOutAt": "2019-08-24T14:15:22Z",
      "onNoticeAt": "2019-08-24T14:15:22Z",
      "renewalSignedAt": "2019-08-24T14:15:22Z",
      "eviction": true,
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "approvedAt": "2019-08-24T14:15:22Z",
      "closedAt": "2019-08-24T14:15:22Z",
      "metadata": {}
    }
  ]
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}

Create a lease

POST
/leases
AuthorizationBasic <token>

Base64-encoded clientId:clientSecret

In: header

Query Parameters

idempotencyId?string

Idempotency key for POST requests (cached 24h)

Formatuuid

Header Parameters

Obligo-Versionstring

API version header

Value in"1"
startsAt?string
Formatdate
endsAt?string
Formatdate
propertyId?string
Formatuuid
assetId?string
Formatuuid
address?
unit?string
rent?integer

Amount in cents

termType?string
Value in"Fixed" | "MonthToMonth" | "AtWill"
applicationStatus?string
Value in"Approved" | "Pending" | "Denied"
assignee?
household?
financials?
metadata?object

Response Body

application/json

application/json

application/json

curl -X POST "https://api.obligo.com/leases?idempotencyId=497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Obligo-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}

Get a lease

GET
/leases/{leaseId}
AuthorizationBasic <token>

Base64-encoded clientId:clientSecret

In: header

Path Parameters

leaseIdstring
Formatuuid

Header Parameters

Obligo-Versionstring

API version header

Value in"1"

Response Body

application/json

application/json

application/json

curl -X GET "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Obligo-Version: 1"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "referenceCode": "string",
  "startsAt": "2019-08-24",
  "endsAt": "2019-08-24",
  "propertyId": "8e8b8450-dc1b-4360-8109-7067337b42cb",
  "assetId": "9179b887-04ef-4ce5-ab3a-b5bbd39ea3c8",
  "fundsRouterId": "20f31fbb-7ba1-4ccf-a098-fd2da5d475fa",
  "address": {
    "line": "string",
    "city": "string",
    "state": "string",
    "country": "string",
    "postalCode": "string"
  },
  "unit": "string",
  "rent": 0,
  "termType": "Fixed",
  "applicationStatus": "Approved",
  "assignee": {
    "name": "string",
    "email": "user@example.com"
  },
  "managementUrl": "string",
  "leaseCreatedAt": "2019-08-24T14:15:22Z",
  "signedAt": "2019-08-24T14:15:22Z",
  "moveInAt": "2019-08-24T14:15:22Z",
  "moveOutAt": "2019-08-24T14:15:22Z",
  "onNoticeAt": "2019-08-24T14:15:22Z",
  "renewalSignedAt": "2019-08-24T14:15:22Z",
  "eviction": true,
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z",
  "approvedAt": "2019-08-24T14:15:22Z",
  "closedAt": "2019-08-24T14:15:22Z",
  "metadata": {}
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}

Update a lease

PUT
/leases/{leaseId}
AuthorizationBasic <token>

Base64-encoded clientId:clientSecret

In: header

Path Parameters

leaseIdstring
Formatuuid

Header Parameters

Obligo-Versionstring

API version header

Value in"1"
startsAt?string
Formatdate
endsAt?string
Formatdate
assetId?string
Formatuuid
address?
unit?string
rent?integer

Amount in cents

metadata?object

Response Body

application/json

application/json

application/json

curl -X PUT "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Obligo-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
Empty
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}

Close a lease

POST
/leases/{leaseId}/close
AuthorizationBasic <token>

Base64-encoded clientId:clientSecret

In: header

Path Parameters

leaseIdstring
Formatuuid

Header Parameters

Obligo-Versionstring

API version header

Value in"1"

Response Body

application/json

application/json

curl -X POST "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/close" \  -H "Obligo-Version: 1"
Empty
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}

Get lease financials

GET
/leases/{leaseId}/financials
AuthorizationBasic <token>

Base64-encoded clientId:clientSecret

In: header

Path Parameters

leaseIdstring
Formatuuid

Header Parameters

Obligo-Versionstring

API version header

Value in"1"

Response Body

application/json

application/json

application/json

curl -X GET "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/financials" \  -H "Obligo-Version: 1"
{
  "pending": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "typeId": "caab7c42-4ce7-4bd5-bbab-6017cec730b7",
      "amount": 0,
      "leaseStage": "MoveIn",
      "relatedEntity": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "type": "string"
      },
      "attachmentIds": [
        "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      ],
      "description": "string",
      "metadata": {},
      "status": "Draft"
    }
  ],
  "balance": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "typeId": "caab7c42-4ce7-4bd5-bbab-6017cec730b7",
      "amount": 0,
      "leaseStage": "MoveIn",
      "metadata": {},
      "status": "Committed",
      "createdAt": "2019-08-24T14:15:22Z",
      "settledAt": "2019-08-24T14:15:22Z"
    }
  ],
  "securities": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "type": "BillingAuthorization",
      "amount": 0,
      "charged": true,
      "createdAt": "2019-08-24T14:15:22Z"
    }
  ],
  "summary": {
    "securities": {
      "pending": 0,
      "available": 0,
      "charged": 0,
      "released": 0
    }
  }
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}

Create a pending payment or refund

POST
/leases/{leaseId}/financials
AuthorizationBasic <token>

Base64-encoded clientId:clientSecret

In: header

Path Parameters

leaseIdstring
Formatuuid

Query Parameters

idempotencyId?string

Idempotency key for POST requests (cached 24h)

Formatuuid

Header Parameters

Obligo-Versionstring

API version header

Value in"1"
typeIdstring
Formatuuid
amountinteger

Amount in cents. Negative = payment, positive = refund

leaseStagestring
Value in"MoveIn" | "MidLease" | "MoveOut"
relatedEntity?
attachmentIds?array<string>
commit?boolean
description?string
metadata?object

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/financials?idempotencyId=497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Obligo-Version: 1" \  -H "Content-Type: application/json" \  -d '{    "typeId": "caab7c42-4ce7-4bd5-bbab-6017cec730b7",    "amount": 0,    "leaseStage": "MoveIn"  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}

Delete a pending payment or refund

DELETE
/leases/{leaseId}/financials/{itemId}
AuthorizationBasic <token>

Base64-encoded clientId:clientSecret

In: header

Path Parameters

leaseIdstring
Formatuuid
itemIdstring
Formatuuid

Header Parameters

Obligo-Versionstring

API version header

Value in"1"

Response Body

application/json

application/json

application/json

curl -X DELETE "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/financials/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Obligo-Version: 1"
Empty
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}

Update a pending payment or refund

PUT
/leases/{leaseId}/financials/{itemId}
AuthorizationBasic <token>

Base64-encoded clientId:clientSecret

In: header

Path Parameters

leaseIdstring
Formatuuid
itemIdstring
Formatuuid

Header Parameters

Obligo-Versionstring

API version header

Value in"1"
typeId?string
Formatuuid
amount?integer

Amount in cents

leaseStage?string
Value in"MoveIn" | "MidLease" | "MoveOut"
relatedEntity?
attachmentIds?array<string>
description?string
metadata?object

Response Body

application/json

application/json

application/json

curl -X PUT "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/financials/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Obligo-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
Empty
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}

Commit pending payments and refunds

POST
/leases/{leaseId}/commit-financials
AuthorizationBasic <token>

Base64-encoded clientId:clientSecret

In: header

Path Parameters

leaseIdstring
Formatuuid

Header Parameters

Obligo-Versionstring

API version header

Value in"1"
ids?array<string>
leaseStage?string
Value in"MoveIn" | "MidLease" | "MoveOut"

Response Body

application/json

application/json

application/json

curl -X POST "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/commit-financials" \  -H "Obligo-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
Empty
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}

Get a lease household

GET
/leases/{leaseId}/household
AuthorizationBasic <token>

Base64-encoded clientId:clientSecret

In: header

Path Parameters

leaseIdstring
Formatuuid

Header Parameters

Obligo-Versionstring

API version header

Value in"1"

Response Body

application/json

application/json

application/json

curl -X GET "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/household" \  -H "Obligo-Version: 1"
[
  {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "renter": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "firstName": "string",
      "lastName": "string",
      "email": "user@example.com",
      "phoneNumber": "string",
      "addresses": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "line": "string",
          "city": "string",
          "state": "string",
          "country": "string",
          "postalCode": "string"
        }
      ],
      "ssnProvided": true,
      "dateOfBirth": "2019-08-24",
      "consents": [
        {
          "types": [
            "BackgroundCheck"
          ],
          "ipAddress": "string",
          "timestamp": "2019-08-24T14:15:22Z"
        }
      ],
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "metadata": {}
    },
    "role": "LeaseHolder",
    "primary": true
  }
]
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}

Add a household renter

POST
/leases/{leaseId}/household
AuthorizationBasic <token>

Base64-encoded clientId:clientSecret

In: header

Path Parameters

leaseIdstring
Formatuuid

Header Parameters

Obligo-Versionstring

API version header

Value in"1"
renterIdstring
Formatuuid
rolestring
Value in"LeaseHolder" | "Guarantor"
primary?boolean

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/household" \  -H "Obligo-Version: 1" \  -H "Content-Type: application/json" \  -d '{    "renterId": "5e8fd3a6-1229-4fc6-80e4-337191896d0b",    "role": "LeaseHolder"  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}

Remove a household renter

DELETE
/leases/{leaseId}/household/{householdRenterId}
AuthorizationBasic <token>

Base64-encoded clientId:clientSecret

In: header

Path Parameters

leaseIdstring
Formatuuid
householdRenterIdstring
Formatuuid

Header Parameters

Obligo-Versionstring

API version header

Value in"1"

Response Body

application/json

application/json

application/json

curl -X DELETE "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/household/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Obligo-Version: 1"
Empty
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}

Update a household renter role

PUT
/leases/{leaseId}/household/{householdRenterId}
AuthorizationBasic <token>

Base64-encoded clientId:clientSecret

In: header

Path Parameters

leaseIdstring
Formatuuid
householdRenterIdstring
Formatuuid

Header Parameters

Obligo-Versionstring

API version header

Value in"1"
role?string
Value in"LeaseHolder" | "Guarantor"
primary?boolean

Response Body

application/json

application/json

application/json

curl -X PUT "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/household/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Obligo-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
Empty
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}