Examples

POST /v1/21da8bfd-a358-4f00-808f-74f08b9d9687/tenants/sign_in
{
  "tenant": {
    "login": "mitchellbartell@thiel.io68",
    "password": "super_secret_password"
  }
}
200
{
  "tenant": {
    "id": "d5a0552a-2c03-46f0-b325-02e2decb42dc",
    "account_number": 1000002,
    "first_name": "Rich68",
    "last_name": "Wehner",
    "middle_initial": null,
    "email": "mitchellbartell@thiel.io68",
    "tax_exempt": false,
    "is_military": false,
    "is_business": false,
    "business_name": null,
    "last_sign_in_at": "2022-09-12T22:36:44.512-10:00",
    "title": null,
    "delinquent": false,
    "current_ledger_ids": [],
    "preferences": {
      "email_invoices": true,
      "print_invoices": false,
      "charge_invoice_fee": true,
      "receive_legal_notices_by_email": null,
      "delinquency_exempt": false,
      "delinquency_docs_by_email": false,
      "delinquency_docs_by_mail": false,
      "receive_sms_for_gate_activity": false,
      "opt_in_to_marketing_emails": false,
      "opt_in_to_marketing_sms": false,
      "opt_in_to_transactional_sms": false,
      "exclude_from_insurance_auto_enroll": false,
      "exclude_from_insurance_auto_enroll_reason": null,
      "exclude_from_insurance_auto_enroll_created_by": null,
      "exclude_from_insurance_auto_enroll_on": null
    },
    "military_information": null,
    "username": "mitchellbartell@thiel.io68",
    "drivers_license_number": null,
    "drivers_license_state": null,
    "vehicle_license_plate_number": null,
    "vehicle_license_state": null,
    "vehicle_description": null,
    "has_tenant_portal_account": true,
    "created_at": "2022-09-12T22:36:44.481-10:00",
    "gate_24_hour_access": false,
    "active": false,
    "tenant_account_kind_name": "Standard",
    "blocked_payments": false,
    "date_of_birth": null,
    "phone_numbers": [],
    "mailing_address": {
      "id": "8531aea8-a82f-4ad7-b0a0-51d081186095",
      "address1": "381246 Langworth Hill",
      "address2": null,
      "city": "South Jessie",
      "state": "CT",
      "postal": "39384",
      "country": "US",
      "full_address": "381246 Langworth Hill, South Jessie, CT 39384",
      "latitude": 39.114844,
      "longitude": -94.630169,
      "time_zone_id": "America/New_York",
      "time_zone_offset": "-04:00",
      "invalid_data": false,
      "label": "Home"
    },
    "addresses": [
      {
        "id": "8531aea8-a82f-4ad7-b0a0-51d081186095",
        "address1": "381246 Langworth Hill",
        "address2": null,
        "city": "South Jessie",
        "state": "CT",
        "postal": "39384",
        "country": "US",
        "full_address": "381246 Langworth Hill, South Jessie, CT 39384",
        "latitude": 39.114844,
        "longitude": -94.630169,
        "time_zone_id": "America/New_York",
        "time_zone_offset": "-04:00",
        "invalid_data": false,
        "label": "Home"
      }
    ],
    "facility_id": "21da8bfd-a358-4f00-808f-74f08b9d9687",
    "previous_ledger_ids": [],
    "lead_ids": [],
    "closed_lead_ids": [],
    "contact_ids": [],
    "support_case_ids": [],
    "event_ids": [],
    "password_recovery_question_ids": [
      "ed5b60d3-8ca2-4f39-abf3-a310bbf83482",
      "c01ae1a0-6dd4-411d-b855-2e72cdaeb90a"
    ]
  },
  "meta": {
    "status_code": 200,
    "status_message": "OK",
    "status_cat": "https://http.cat/200",
    "request_method": "POST",
    "request_id": null,
    "parameters": {
      "tenant": {
        "login": "mitchellbartell@thiel.io68",
        "password": "[FILTERED]"
      },
      "facility_id": "21da8bfd-a358-4f00-808f-74f08b9d9687"
    }
  }
}

Params

Param name Description
tenant
optional

Value: Must be a Hash
tenant[login]
required

Can be either an email or username.


Value: Must be a String
tenant[password]
required

Value: Must be a String
tenant[facility_uuid]
optional

Value: Must be a String