PlatformIntegrations
API ReferenceV1.2 (Current)

Lease Household

Get lease household

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

HTTP Basic authentication using clientId as username and clientSecret as password

In: header

Path Parameters

leaseIdstring
Formatuuid

Header Parameters

Obligo-Version?string

API version to use for the request. When you omit the header, the API version set on your app is used.

Account-Id?string

Required when operating on behalf of a connected account

Formatuuid

Response Body

application/json

application/json

curl -X GET "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/household" \  -H "Obligo-Version: string" \  -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
[
  {
    "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"
}

Add a household renter

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

HTTP Basic authentication using clientId as username and clientSecret as password

In: header

Path Parameters

leaseIdstring
Formatuuid

Query Parameters

idempotencyId?string

Idempotency key for write requests. Cached for 24 hours.

Header Parameters

Obligo-Version?string

API version to use for the request. When you omit the header, the API version set on your app is used.

Account-Id?string

Required when operating on behalf of a connected account

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

Response Body

application/json

application/json

application/json

curl -X POST "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/household?idempotencyId=string" \  -H "Obligo-Version: string" \  -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -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"
}

Remove a household renter

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

HTTP Basic authentication using clientId as username and clientSecret as password

In: header

Path Parameters

leaseIdstring
Formatuuid
householdRenterIdstring
Formatuuid

Query Parameters

idempotencyId?string

Idempotency key for write requests. Cached for 24 hours.

Header Parameters

Obligo-Version?string

API version to use for the request. When you omit the header, the API version set on your app is used.

Account-Id?string

Required when operating on behalf of a connected account

Formatuuid

Response Body

application/json

application/json

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

Update a household renter

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

HTTP Basic authentication using clientId as username and clientSecret as password

In: header

Path Parameters

leaseIdstring
Formatuuid
householdRenterIdstring
Formatuuid

Header Parameters

Obligo-Version?string

API version to use for the request. When you omit the header, the API version set on your app is used.

Account-Id?string

Required when operating on behalf of a connected account

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

Response Body

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: string" \  -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
Empty
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}