Back to top

API Documentation

Website

Overview

Website endpoints are responsible for manipulating the data for our website builder.

Create a website

Create a website
POST/websites

Example URI

POST /websites
Request
HideShow
Body
{
  "template": "light",
  "title": "Website Title",
  "attributes": {
    "biography": "Foo bar",
    "facebook_url": "http://facebook.com/foo"
  },
  "template_instance": "03d4678a-28e9-4cc5-8e6a-c79902c6a6f5",
  "brand": "2b8ae87a-993e-4b42-90b2-68ba579c1fe8",
  "user": "58083362-d937-4b19-adf2-a505f2e30ef4",
  "owner": "58083362-d937-4b19-adf2-a505f2e30ef4"
}
Response  200
HideShow
Body
{
  "code": "OK",
  "data": {
    "id": "0160310d-968d-494c-922f-2e16eded8359",
    "type": "website",
    "created_at": 1795516136.450299,
    "updated_at": 1795516136.450491,
    "user": {
      "type": "user",
      "username": null,
      "first_name": "John",
      "last_name": "Doe",
      "email": "[email protected]",
      "phone_number": "+18544104188",
      "created_at": 1795516135.761137,
      "id": "58083362-d937-4b19-adf2-a505f2e30ef4",
      "address_id": null,
      "cover_image_url": null,
      "profile_image_url": null,
      "updated_at": 1795516135.75371,
      "user_status": "Active",
      "profile_image_thumbnail_url": null,
      "cover_image_thumbnail_url": null,
      "email_confirmed": false,
      "timezone": "America/Chicago",
      "user_type": "Agent",
      "deleted_at": null,
      "phone_confirmed": false,
      "is_shadow": null,
      "personal_room": "45d0a8a4-ff77-4685-8bd4-33df5c9b36f8",
      "brand": null,
      "fake_email": null,
      "features": null,
      "last_seen_at": null,
      "email_signature": "This is my signature.",
      "daily_enabled": true,
      "email_quota": 30000,
      "website": null,
      "instagram": null,
      "twitter": null,
      "linkedin": null,
      "youtube": null,
      "facebook": null,
      "designation": null,
      "tiktok": null,
      "mfa_enabled": false,
      "xpressdocs_user_id": null,
      "bio": "This is my bio.",
      "current_time": "4:28 AM - Tuesday Nov 24, 2026",
      "push_allowed": false,
      "agents": [
        {
          "id": "6d093275-5e08-4fe6-bdd7-64336e0103dc",
          "email": "[email protected]",
          "mlsid": "00920130",
          "fax": "(972) 264-4703",
          "full_name": "Gholi Sweet",
          "first_name": "Gholi",
          "last_name": "Sweet",
          "middle_name": null,
          "phone_number": "+19722644703",
          "nar_number": "797500044",
          "office_mui": "15512742",
          "status": "Active",
          "office_mlsid": "RCHT01X",
          "work_phone": "+14693588080",
          "generational_name": null,
          "matrix_unique_id": "295595321",
          "updated_at": 1795516135.820665,
          "deleted_at": null,
          "created_at": 1795516135.820665,
          "mls": "NTREIS",
          "license_number": null,
          "designation": null,
          "nrds": "01053140",
          "type": "agent",
          "office_id": null,
          "secret_questions": [
            "(972) XXX-XX03",
            "jewellxxxxxxxxxxxxxal.net",
            "+1XXXXXXXX80"
          ]
        }
      ],
      "last_seen_type": null,
      "active_brand": "2b8ae87a-993e-4b42-90b2-68ba579c1fe8",
      "display_name": "John Doe",
      "abbreviated_display_name": "John",
      "online_state": "Offline",
      "has_password": true
    },
    "brand": {
      "id": "2b8ae87a-993e-4b42-90b2-68ba579c1fe8",
      "created_at": 1795516136.063131,
      "updated_at": 1795516136.063131,
      "palette": {
        "primary": "red",
        "type": "brand_palette"
      },
      "assets": {
        "type": "brand_assets"
      },
      "messages": {
        "type": "brand_messages"
      },
      "parent": {
        "id": "42cf15e1-744f-46f6-bf47-3d681acbca84",
        "created_at": 1795516135.879224,
        "updated_at": 1795516135.879224,
        "palette": {
          "primary": "red",
          "type": "brand_palette"
        },
        "assets": {
          "type": "brand_assets"
        },
        "messages": {
          "type": "brand_messages"
        },
        "parent": null,
        "name": "Parent Brand",
        "deleted_at": null,
        "training": false,
        "brand_type": "Brokerage",
        "parents": null,
        "type": "brand",
        "hostnames": null,
        "member_count": 1,
        "base_url": "https://irish.rechat.com"
      },
      "name": "Child Brand",
      "deleted_at": null,
      "training": false,
      "brand_type": "Brokerage",
      "parents": [
        "42cf15e1-744f-46f6-bf47-3d681acbca84"
      ],
      "type": "brand",
      "hostnames": null,
      "member_count": 1,
      "base_url": "https://irish.rechat.com"
    },
    "owner": "58083362-d937-4b19-adf2-a505f2e30ef4",
    "template": "light",
    "attributes": {
      "biography": "Foo bar",
      "facebook_url": "http://facebook.com/foo"
    },
    "title": "Website Title",
    "template_instance": {
      "id": "03d4678a-28e9-4cc5-8e6a-c79902c6a6f5",
      "created_at": 1795516135.75371,
      "html": "SOME HTML",
      "file": {
        "id": "138794f2-97a6-4f00-bab2-2d18399991b0",
        "created_at": 1795516136.42211,
        "updated_at": 1795516136.42211,
        "deleted_at": null,
        "created_by": "58083362-d937-4b19-adf2-a505f2e30ef4",
        "path": "templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
        "name": "image.png",
        "public": true,
        "type": "file",
        "url": "https://test.cloudfront.net/templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
        "preview_url": "https://test.cloudfront.net/templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
        "mime": "image/png"
      },
      "created_by": "58083362-d937-4b19-adf2-a505f2e30ef4",
      "branch": "http://mock-branch-url",
      "updated_at": 1795516135.75371,
      "deleted_at": null,
      "type": "template_instance"
    },
    "hostnames": [
      "wizardly-almeida.rechat.site"
    ],
    "wid": "0160310d-968d-494c-922f-2e16eded8359",
    "ord": "1"
  }
}

Get a website

Get a website
GET/websites/:id

Example URI

GET /websites/:id
URI Parameters
HideShow
id
string (required) Example: 0160310d-968d-494c-922f-2e16eded8359
Response  200
HideShow
Body
{
  "code": "OK",
  "data": {
    "id": "0160310d-968d-494c-922f-2e16eded8359",
    "type": "website",
    "created_at": 1795516136.450299,
    "updated_at": 1795516136.450491,
    "user": {
      "type": "user",
      "username": null,
      "first_name": "John",
      "last_name": "Doe",
      "email": "[email protected]",
      "phone_number": "+18544104188",
      "created_at": 1795516135.761137,
      "id": "58083362-d937-4b19-adf2-a505f2e30ef4",
      "address_id": null,
      "cover_image_url": null,
      "profile_image_url": null,
      "updated_at": 1795516135.75371,
      "user_status": "Active",
      "profile_image_thumbnail_url": null,
      "cover_image_thumbnail_url": null,
      "email_confirmed": false,
      "timezone": "America/Chicago",
      "user_type": "Agent",
      "deleted_at": null,
      "phone_confirmed": false,
      "is_shadow": null,
      "personal_room": "45d0a8a4-ff77-4685-8bd4-33df5c9b36f8",
      "brand": null,
      "fake_email": null,
      "features": null,
      "last_seen_at": null,
      "email_signature": "This is my signature.",
      "daily_enabled": true,
      "email_quota": 30000,
      "website": null,
      "instagram": null,
      "twitter": null,
      "linkedin": null,
      "youtube": null,
      "facebook": null,
      "designation": null,
      "tiktok": null,
      "mfa_enabled": false,
      "xpressdocs_user_id": null,
      "bio": "This is my bio.",
      "current_time": "4:28 AM - Tuesday Nov 24, 2026",
      "push_allowed": false,
      "agents": [
        {
          "id": "6d093275-5e08-4fe6-bdd7-64336e0103dc",
          "email": "[email protected]",
          "mlsid": "00920130",
          "fax": "(972) 264-4703",
          "full_name": "Gholi Sweet",
          "first_name": "Gholi",
          "last_name": "Sweet",
          "middle_name": null,
          "phone_number": "+19722644703",
          "nar_number": "797500044",
          "office_mui": "15512742",
          "status": "Active",
          "office_mlsid": "RCHT01X",
          "work_phone": "+14693588080",
          "generational_name": null,
          "matrix_unique_id": "295595321",
          "updated_at": 1795516135.820665,
          "deleted_at": null,
          "created_at": 1795516135.820665,
          "mls": "NTREIS",
          "license_number": null,
          "designation": null,
          "nrds": "01053140",
          "type": "agent",
          "office_id": null,
          "secret_questions": [
            "(972) XXX-XX03",
            "jewellxxxxxxxxxxxxxal.net",
            "+1XXXXXXXX80"
          ]
        }
      ],
      "last_seen_type": null,
      "active_brand": "2b8ae87a-993e-4b42-90b2-68ba579c1fe8",
      "display_name": "John Doe",
      "abbreviated_display_name": "John",
      "online_state": "Offline",
      "has_password": true
    },
    "brand": {
      "id": "2b8ae87a-993e-4b42-90b2-68ba579c1fe8",
      "created_at": 1795516136.063131,
      "updated_at": 1795516136.063131,
      "palette": {
        "primary": "red",
        "type": "brand_palette"
      },
      "assets": {
        "type": "brand_assets"
      },
      "messages": {
        "type": "brand_messages"
      },
      "parent": {
        "id": "42cf15e1-744f-46f6-bf47-3d681acbca84",
        "created_at": 1795516135.879224,
        "updated_at": 1795516135.879224,
        "palette": {
          "primary": "red",
          "type": "brand_palette"
        },
        "assets": {
          "type": "brand_assets"
        },
        "messages": {
          "type": "brand_messages"
        },
        "parent": null,
        "name": "Parent Brand",
        "deleted_at": null,
        "training": false,
        "brand_type": "Brokerage",
        "parents": null,
        "type": "brand",
        "hostnames": null,
        "member_count": 1,
        "base_url": "https://irish.rechat.com"
      },
      "name": "Child Brand",
      "deleted_at": null,
      "training": false,
      "brand_type": "Brokerage",
      "parents": [
        "42cf15e1-744f-46f6-bf47-3d681acbca84"
      ],
      "type": "brand",
      "hostnames": null,
      "member_count": 1,
      "base_url": "https://irish.rechat.com"
    },
    "owner": "58083362-d937-4b19-adf2-a505f2e30ef4",
    "template": "light",
    "attributes": {
      "biography": "Foo bar",
      "facebook_url": "http://facebook.com/foo"
    },
    "title": "Website Title",
    "template_instance": {
      "id": "03d4678a-28e9-4cc5-8e6a-c79902c6a6f5",
      "created_at": 1795516135.75371,
      "html": "SOME HTML",
      "file": {
        "id": "138794f2-97a6-4f00-bab2-2d18399991b0",
        "created_at": 1795516136.42211,
        "updated_at": 1795516136.42211,
        "deleted_at": null,
        "created_by": "58083362-d937-4b19-adf2-a505f2e30ef4",
        "path": "templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
        "name": "image.png",
        "public": true,
        "type": "file",
        "url": "https://test.cloudfront.net/templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
        "preview_url": "https://test.cloudfront.net/templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
        "mime": "image/png"
      },
      "created_by": "58083362-d937-4b19-adf2-a505f2e30ef4",
      "branch": "http://mock-branch-url",
      "updated_at": 1795516135.75371,
      "deleted_at": null,
      "type": "template_instance"
    },
    "hostnames": [
      "wizardly-almeida.rechat.site"
    ],
    "wid": "0160310d-968d-494c-922f-2e16eded8359",
    "ord": "1"
  }
}

Update a website

Update a website
PUT/websites/:id

Example URI

PUT /websites/:id
URI Parameters
HideShow
id
string (required) Example: 0160310d-968d-494c-922f-2e16eded8359
Request
HideShow
Body
{
  "template": "light2",
  "title": "Website Title",
  "attributes": {
    "biography": "Foo bar",
    "facebook_url": "https://updated_facebook_url",
    "new_attribute": "value"
  },
  "user": "58083362-d937-4b19-adf2-a505f2e30ef4"
}
Response  200
HideShow
Body
{
  "code": "OK",
  "data": {
    "id": "0160310d-968d-494c-922f-2e16eded8359",
    "type": "website",
    "created_at": 1795516136.450299,
    "updated_at": 1795516136.609709,
    "user": {
      "type": "user",
      "username": null,
      "first_name": "John",
      "last_name": "Doe",
      "email": "[email protected]",
      "phone_number": "+18544104188",
      "created_at": 1795516135.761137,
      "id": "58083362-d937-4b19-adf2-a505f2e30ef4",
      "address_id": null,
      "cover_image_url": null,
      "profile_image_url": null,
      "updated_at": 1795516135.75371,
      "user_status": "Active",
      "profile_image_thumbnail_url": null,
      "cover_image_thumbnail_url": null,
      "email_confirmed": false,
      "timezone": "America/Chicago",
      "user_type": "Agent",
      "deleted_at": null,
      "phone_confirmed": false,
      "is_shadow": null,
      "personal_room": "45d0a8a4-ff77-4685-8bd4-33df5c9b36f8",
      "brand": null,
      "fake_email": null,
      "features": null,
      "last_seen_at": null,
      "email_signature": "This is my signature.",
      "daily_enabled": true,
      "email_quota": 30000,
      "website": null,
      "instagram": null,
      "twitter": null,
      "linkedin": null,
      "youtube": null,
      "facebook": null,
      "designation": null,
      "tiktok": null,
      "mfa_enabled": false,
      "xpressdocs_user_id": null,
      "bio": "This is my bio.",
      "current_time": "4:28 AM - Tuesday Nov 24, 2026",
      "push_allowed": false,
      "agents": [
        {
          "id": "6d093275-5e08-4fe6-bdd7-64336e0103dc",
          "email": "[email protected]",
          "mlsid": "00920130",
          "fax": "(972) 264-4703",
          "full_name": "Gholi Sweet",
          "first_name": "Gholi",
          "last_name": "Sweet",
          "middle_name": null,
          "phone_number": "+19722644703",
          "nar_number": "797500044",
          "office_mui": "15512742",
          "status": "Active",
          "office_mlsid": "RCHT01X",
          "work_phone": "+14693588080",
          "generational_name": null,
          "matrix_unique_id": "295595321",
          "updated_at": 1795516135.820665,
          "deleted_at": null,
          "created_at": 1795516135.820665,
          "mls": "NTREIS",
          "license_number": null,
          "designation": null,
          "nrds": "01053140",
          "type": "agent",
          "office_id": null,
          "secret_questions": [
            "(972) XXX-XX03",
            "jewellxxxxxxxxxxxxxal.net",
            "+1XXXXXXXX80"
          ]
        }
      ],
      "last_seen_type": null,
      "active_brand": "2b8ae87a-993e-4b42-90b2-68ba579c1fe8",
      "display_name": "John Doe",
      "abbreviated_display_name": "John",
      "online_state": "Offline",
      "has_password": true
    },
    "brand": {
      "id": "2b8ae87a-993e-4b42-90b2-68ba579c1fe8",
      "created_at": 1795516136.063131,
      "updated_at": 1795516136.063131,
      "palette": {
        "primary": "red",
        "type": "brand_palette"
      },
      "assets": {
        "type": "brand_assets"
      },
      "messages": {
        "type": "brand_messages"
      },
      "parent": {
        "id": "42cf15e1-744f-46f6-bf47-3d681acbca84",
        "created_at": 1795516135.879224,
        "updated_at": 1795516135.879224,
        "palette": {
          "primary": "red",
          "type": "brand_palette"
        },
        "assets": {
          "type": "brand_assets"
        },
        "messages": {
          "type": "brand_messages"
        },
        "parent": null,
        "name": "Parent Brand",
        "deleted_at": null,
        "training": false,
        "brand_type": "Brokerage",
        "parents": null,
        "type": "brand",
        "hostnames": null,
        "member_count": 1,
        "base_url": "https://irish.rechat.com"
      },
      "name": "Child Brand",
      "deleted_at": null,
      "training": false,
      "brand_type": "Brokerage",
      "parents": [
        "42cf15e1-744f-46f6-bf47-3d681acbca84"
      ],
      "type": "brand",
      "hostnames": null,
      "member_count": 1,
      "base_url": "https://irish.rechat.com"
    },
    "owner": "58083362-d937-4b19-adf2-a505f2e30ef4",
    "template": "light2",
    "attributes": {
      "biography": "Foo bar",
      "facebook_url": "https://updated_facebook_url",
      "new_attribute": "value"
    },
    "title": "Website Title",
    "template_instance": null,
    "hostnames": [
      "wizardly-almeida.rechat.site"
    ],
    "wid": "0160310d-968d-494c-922f-2e16eded8359",
    "ord": "1"
  }
}

Get all user's websites

Get all user's websites
GET/websites

Example URI

GET /websites
Response  200
HideShow
Body
{
  "code": "OK",
  "data": [
    {
      "id": "0160310d-968d-494c-922f-2e16eded8359",
      "type": "website",
      "created_at": 1795516136.450299,
      "updated_at": 1795516136.450491,
      "user": {
        "type": "user",
        "username": null,
        "first_name": "John",
        "last_name": "Doe",
        "email": "[email protected]",
        "phone_number": "+18544104188",
        "created_at": 1795516135.761137,
        "id": "58083362-d937-4b19-adf2-a505f2e30ef4",
        "address_id": null,
        "cover_image_url": null,
        "profile_image_url": null,
        "updated_at": 1795516135.75371,
        "user_status": "Active",
        "profile_image_thumbnail_url": null,
        "cover_image_thumbnail_url": null,
        "email_confirmed": false,
        "timezone": "America/Chicago",
        "user_type": "Agent",
        "deleted_at": null,
        "phone_confirmed": false,
        "is_shadow": null,
        "personal_room": "45d0a8a4-ff77-4685-8bd4-33df5c9b36f8",
        "brand": null,
        "fake_email": null,
        "features": null,
        "last_seen_at": null,
        "email_signature": "This is my signature.",
        "daily_enabled": true,
        "email_quota": 30000,
        "website": null,
        "instagram": null,
        "twitter": null,
        "linkedin": null,
        "youtube": null,
        "facebook": null,
        "designation": null,
        "tiktok": null,
        "mfa_enabled": false,
        "xpressdocs_user_id": null,
        "bio": "This is my bio.",
        "current_time": "4:28 AM - Tuesday Nov 24, 2026",
        "push_allowed": false,
        "agents": [
          {
            "id": "6d093275-5e08-4fe6-bdd7-64336e0103dc",
            "email": "[email protected]",
            "mlsid": "00920130",
            "fax": "(972) 264-4703",
            "full_name": "Gholi Sweet",
            "first_name": "Gholi",
            "last_name": "Sweet",
            "middle_name": null,
            "phone_number": "+19722644703",
            "nar_number": "797500044",
            "office_mui": "15512742",
            "status": "Active",
            "office_mlsid": "RCHT01X",
            "work_phone": "+14693588080",
            "generational_name": null,
            "matrix_unique_id": "295595321",
            "updated_at": 1795516135.820665,
            "deleted_at": null,
            "created_at": 1795516135.820665,
            "mls": "NTREIS",
            "license_number": null,
            "designation": null,
            "nrds": "01053140",
            "type": "agent",
            "office_id": null,
            "secret_questions": [
              "(972) XXX-XX03",
              "jewellxxxxxxxxxxxxxal.net",
              "+1XXXXXXXX80"
            ]
          }
        ],
        "last_seen_type": null,
        "active_brand": "2b8ae87a-993e-4b42-90b2-68ba579c1fe8",
        "display_name": "John Doe",
        "abbreviated_display_name": "John",
        "online_state": "Offline",
        "has_password": true
      },
      "brand": {
        "id": "2b8ae87a-993e-4b42-90b2-68ba579c1fe8",
        "created_at": 1795516136.063131,
        "updated_at": 1795516136.063131,
        "palette": {
          "primary": "red",
          "type": "brand_palette"
        },
        "assets": {
          "type": "brand_assets"
        },
        "messages": {
          "type": "brand_messages"
        },
        "parent": {
          "id": "42cf15e1-744f-46f6-bf47-3d681acbca84",
          "created_at": 1795516135.879224,
          "updated_at": 1795516135.879224,
          "palette": {
            "primary": "red",
            "type": "brand_palette"
          },
          "assets": {
            "type": "brand_assets"
          },
          "messages": {
            "type": "brand_messages"
          },
          "parent": null,
          "name": "Parent Brand",
          "deleted_at": null,
          "training": false,
          "brand_type": "Brokerage",
          "parents": null,
          "type": "brand",
          "hostnames": null,
          "member_count": 1,
          "base_url": "https://irish.rechat.com"
        },
        "name": "Child Brand",
        "deleted_at": null,
        "training": false,
        "brand_type": "Brokerage",
        "parents": [
          "42cf15e1-744f-46f6-bf47-3d681acbca84"
        ],
        "type": "brand",
        "hostnames": null,
        "member_count": 1,
        "base_url": "https://irish.rechat.com"
      },
      "owner": "58083362-d937-4b19-adf2-a505f2e30ef4",
      "template": "light",
      "attributes": {
        "biography": "Foo bar",
        "facebook_url": "http://facebook.com/foo"
      },
      "title": "Website Title",
      "template_instance": {
        "id": "03d4678a-28e9-4cc5-8e6a-c79902c6a6f5",
        "created_at": 1795516135.75371,
        "html": "SOME HTML",
        "file": {
          "id": "138794f2-97a6-4f00-bab2-2d18399991b0",
          "created_at": 1795516136.42211,
          "updated_at": 1795516136.42211,
          "deleted_at": null,
          "created_by": "58083362-d937-4b19-adf2-a505f2e30ef4",
          "path": "templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
          "name": "image.png",
          "public": true,
          "type": "file",
          "url": "https://test.cloudfront.net/templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
          "preview_url": "https://test.cloudfront.net/templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
          "mime": "image/png"
        },
        "created_by": "58083362-d937-4b19-adf2-a505f2e30ef4",
        "branch": "http://mock-branch-url",
        "updated_at": 1795516135.75371,
        "deleted_at": null,
        "type": "template_instance"
      },
      "hostnames": [
        "wizardly-almeida.rechat.site"
      ],
      "wid": "0160310d-968d-494c-922f-2e16eded8359",
      "ord": "1"
    }
  ],
  "info": {
    "count": 1,
    "total": 0
  }
}

Get all brand's websites

Get all brand's websites
GET/brand/:brand/websites

Example URI

GET /brand/:brand/websites
URI Parameters
HideShow
brand
string (required) Example: 2b8ae87a-993e-4b42-90b2-68ba579c1fe8
Response  200
HideShow
Body
{
  "code": "OK",
  "data": [
    {
      "id": "0160310d-968d-494c-922f-2e16eded8359",
      "type": "website",
      "created_at": 1795516136.450299,
      "updated_at": 1795516136.450491,
      "user": {
        "type": "user",
        "username": null,
        "first_name": "John",
        "last_name": "Doe",
        "email": "[email protected]",
        "phone_number": "+18544104188",
        "created_at": 1795516135.761137,
        "id": "58083362-d937-4b19-adf2-a505f2e30ef4",
        "address_id": null,
        "cover_image_url": null,
        "profile_image_url": null,
        "updated_at": 1795516135.75371,
        "user_status": "Active",
        "profile_image_thumbnail_url": null,
        "cover_image_thumbnail_url": null,
        "email_confirmed": false,
        "timezone": "America/Chicago",
        "user_type": "Agent",
        "deleted_at": null,
        "phone_confirmed": false,
        "is_shadow": null,
        "personal_room": "45d0a8a4-ff77-4685-8bd4-33df5c9b36f8",
        "brand": null,
        "fake_email": null,
        "features": null,
        "last_seen_at": null,
        "email_signature": "This is my signature.",
        "daily_enabled": true,
        "email_quota": 30000,
        "website": null,
        "instagram": null,
        "twitter": null,
        "linkedin": null,
        "youtube": null,
        "facebook": null,
        "designation": null,
        "tiktok": null,
        "mfa_enabled": false,
        "xpressdocs_user_id": null,
        "bio": "This is my bio.",
        "current_time": "4:28 AM - Tuesday Nov 24, 2026",
        "push_allowed": false,
        "agents": [
          {
            "id": "6d093275-5e08-4fe6-bdd7-64336e0103dc",
            "email": "[email protected]",
            "mlsid": "00920130",
            "fax": "(972) 264-4703",
            "full_name": "Gholi Sweet",
            "first_name": "Gholi",
            "last_name": "Sweet",
            "middle_name": null,
            "phone_number": "+19722644703",
            "nar_number": "797500044",
            "office_mui": "15512742",
            "status": "Active",
            "office_mlsid": "RCHT01X",
            "work_phone": "+14693588080",
            "generational_name": null,
            "matrix_unique_id": "295595321",
            "updated_at": 1795516135.820665,
            "deleted_at": null,
            "created_at": 1795516135.820665,
            "mls": "NTREIS",
            "license_number": null,
            "designation": null,
            "nrds": "01053140",
            "type": "agent",
            "office_id": null,
            "secret_questions": [
              "(972) XXX-XX03",
              "jewellxxxxxxxxxxxxxal.net",
              "+1XXXXXXXX80"
            ]
          }
        ],
        "last_seen_type": null,
        "active_brand": "2b8ae87a-993e-4b42-90b2-68ba579c1fe8",
        "display_name": "John Doe",
        "abbreviated_display_name": "John",
        "online_state": "Offline",
        "has_password": true
      },
      "brand": {
        "id": "2b8ae87a-993e-4b42-90b2-68ba579c1fe8",
        "created_at": 1795516136.063131,
        "updated_at": 1795516136.063131,
        "palette": {
          "primary": "red",
          "type": "brand_palette"
        },
        "assets": {
          "type": "brand_assets"
        },
        "messages": {
          "type": "brand_messages"
        },
        "parent": {
          "id": "42cf15e1-744f-46f6-bf47-3d681acbca84",
          "created_at": 1795516135.879224,
          "updated_at": 1795516135.879224,
          "palette": {
            "primary": "red",
            "type": "brand_palette"
          },
          "assets": {
            "type": "brand_assets"
          },
          "messages": {
            "type": "brand_messages"
          },
          "parent": null,
          "name": "Parent Brand",
          "deleted_at": null,
          "training": false,
          "brand_type": "Brokerage",
          "parents": null,
          "type": "brand",
          "hostnames": null,
          "member_count": 1,
          "base_url": "https://irish.rechat.com"
        },
        "name": "Child Brand",
        "deleted_at": null,
        "training": false,
        "brand_type": "Brokerage",
        "parents": [
          "42cf15e1-744f-46f6-bf47-3d681acbca84"
        ],
        "type": "brand",
        "hostnames": null,
        "member_count": 1,
        "base_url": "https://irish.rechat.com"
      },
      "owner": "58083362-d937-4b19-adf2-a505f2e30ef4",
      "template": "light",
      "attributes": {
        "biography": "Foo bar",
        "facebook_url": "http://facebook.com/foo"
      },
      "title": "Website Title",
      "template_instance": {
        "id": "03d4678a-28e9-4cc5-8e6a-c79902c6a6f5",
        "created_at": 1795516135.75371,
        "html": "SOME HTML",
        "file": {
          "id": "138794f2-97a6-4f00-bab2-2d18399991b0",
          "created_at": 1795516136.42211,
          "updated_at": 1795516136.42211,
          "deleted_at": null,
          "created_by": "58083362-d937-4b19-adf2-a505f2e30ef4",
          "path": "templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
          "name": "image.png",
          "public": true,
          "type": "file",
          "url": "https://test.cloudfront.net/templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
          "preview_url": "https://test.cloudfront.net/templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
          "mime": "image/png"
        },
        "created_by": "58083362-d937-4b19-adf2-a505f2e30ef4",
        "branch": "http://mock-branch-url",
        "updated_at": 1795516135.75371,
        "deleted_at": null,
        "type": "template_instance"
      },
      "hostnames": [
        "wizardly-almeida.rechat.site"
      ],
      "wid": "0160310d-968d-494c-922f-2e16eded8359",
      "ord": "1"
    }
  ],
  "info": {
    "count": 1,
    "total": 1
  }
}

Add hostname to a website

Add hostname to a website
POST/websites/:id/hostnames

Example URI

POST /websites/:id/hostnames
URI Parameters
HideShow
id
string (required) Example: 0160310d-968d-494c-922f-2e16eded8359
Request
HideShow
Body
{
  "hostname": "localsite",
  "is_default": true
}
Response  200
HideShow
Body
{
  "code": "OK",
  "data": {
    "id": "0160310d-968d-494c-922f-2e16eded8359",
    "type": "website",
    "created_at": 1795516136.450299,
    "updated_at": 1795516136.450491,
    "user": {
      "type": "user",
      "username": null,
      "first_name": "John",
      "last_name": "Doe",
      "email": "[email protected]",
      "phone_number": "+18544104188",
      "created_at": 1795516135.761137,
      "id": "58083362-d937-4b19-adf2-a505f2e30ef4",
      "address_id": null,
      "cover_image_url": null,
      "profile_image_url": null,
      "updated_at": 1795516135.75371,
      "user_status": "Active",
      "profile_image_thumbnail_url": null,
      "cover_image_thumbnail_url": null,
      "email_confirmed": false,
      "timezone": "America/Chicago",
      "user_type": "Agent",
      "deleted_at": null,
      "phone_confirmed": false,
      "is_shadow": null,
      "personal_room": "45d0a8a4-ff77-4685-8bd4-33df5c9b36f8",
      "brand": null,
      "fake_email": null,
      "features": null,
      "last_seen_at": null,
      "email_signature": "This is my signature.",
      "daily_enabled": true,
      "email_quota": 30000,
      "website": null,
      "instagram": null,
      "twitter": null,
      "linkedin": null,
      "youtube": null,
      "facebook": null,
      "designation": null,
      "tiktok": null,
      "mfa_enabled": false,
      "xpressdocs_user_id": null,
      "bio": "This is my bio.",
      "current_time": "4:28 AM - Tuesday Nov 24, 2026",
      "push_allowed": false,
      "agents": [
        {
          "id": "6d093275-5e08-4fe6-bdd7-64336e0103dc",
          "email": "[email protected]",
          "mlsid": "00920130",
          "fax": "(972) 264-4703",
          "full_name": "Gholi Sweet",
          "first_name": "Gholi",
          "last_name": "Sweet",
          "middle_name": null,
          "phone_number": "+19722644703",
          "nar_number": "797500044",
          "office_mui": "15512742",
          "status": "Active",
          "office_mlsid": "RCHT01X",
          "work_phone": "+14693588080",
          "generational_name": null,
          "matrix_unique_id": "295595321",
          "updated_at": 1795516135.820665,
          "deleted_at": null,
          "created_at": 1795516135.820665,
          "mls": "NTREIS",
          "license_number": null,
          "designation": null,
          "nrds": "01053140",
          "type": "agent",
          "office_id": null,
          "secret_questions": [
            "(972) XXX-XX03",
            "jewellxxxxxxxxxxxxxal.net",
            "+1XXXXXXXX80"
          ]
        }
      ],
      "last_seen_type": null,
      "active_brand": "2b8ae87a-993e-4b42-90b2-68ba579c1fe8",
      "display_name": "John Doe",
      "abbreviated_display_name": "John",
      "online_state": "Offline",
      "has_password": true
    },
    "brand": {
      "id": "2b8ae87a-993e-4b42-90b2-68ba579c1fe8",
      "created_at": 1795516136.063131,
      "updated_at": 1795516136.063131,
      "palette": {
        "primary": "red",
        "type": "brand_palette"
      },
      "assets": {
        "type": "brand_assets"
      },
      "messages": {
        "type": "brand_messages"
      },
      "parent": {
        "id": "42cf15e1-744f-46f6-bf47-3d681acbca84",
        "created_at": 1795516135.879224,
        "updated_at": 1795516135.879224,
        "palette": {
          "primary": "red",
          "type": "brand_palette"
        },
        "assets": {
          "type": "brand_assets"
        },
        "messages": {
          "type": "brand_messages"
        },
        "parent": null,
        "name": "Parent Brand",
        "deleted_at": null,
        "training": false,
        "brand_type": "Brokerage",
        "parents": null,
        "type": "brand",
        "hostnames": null,
        "member_count": 1,
        "base_url": "https://irish.rechat.com"
      },
      "name": "Child Brand",
      "deleted_at": null,
      "training": false,
      "brand_type": "Brokerage",
      "parents": [
        "42cf15e1-744f-46f6-bf47-3d681acbca84"
      ],
      "type": "brand",
      "hostnames": null,
      "member_count": 1,
      "base_url": "https://irish.rechat.com"
    },
    "owner": "58083362-d937-4b19-adf2-a505f2e30ef4",
    "template": "light",
    "attributes": {
      "biography": "Foo bar",
      "facebook_url": "http://facebook.com/foo"
    },
    "title": "Website Title",
    "template_instance": {
      "id": "03d4678a-28e9-4cc5-8e6a-c79902c6a6f5",
      "created_at": 1795516135.75371,
      "html": "SOME HTML",
      "file": {
        "id": "138794f2-97a6-4f00-bab2-2d18399991b0",
        "created_at": 1795516136.42211,
        "updated_at": 1795516136.42211,
        "deleted_at": null,
        "created_by": "58083362-d937-4b19-adf2-a505f2e30ef4",
        "path": "templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
        "name": "image.png",
        "public": true,
        "type": "file",
        "url": "https://test.cloudfront.net/templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
        "preview_url": "https://test.cloudfront.net/templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
        "mime": "image/png"
      },
      "created_by": "58083362-d937-4b19-adf2-a505f2e30ef4",
      "branch": "http://mock-branch-url",
      "updated_at": 1795516135.75371,
      "deleted_at": null,
      "type": "template_instance"
    },
    "hostnames": [
      "localsite",
      "wizardly-almeida.rechat.site"
    ],
    "wid": "0160310d-968d-494c-922f-2e16eded8359",
    "ord": "1"
  }
}

Delete hostname from a website

Delete hostname from a website
DELETE/websites/:id/hostnames?hostname=:hostname

Example URI

DELETE /websites/:id/hostnames?hostname=:hostname
URI Parameters
HideShow
id
string (required) Example: 0160310d-968d-494c-922f-2e16eded8359
hostname
string (required) Example: localsite
Response  200
HideShow
Body
{
  "code": "OK",
  "data": {
    "id": "0160310d-968d-494c-922f-2e16eded8359",
    "type": "website",
    "created_at": 1795516136.450299,
    "updated_at": 1795516136.450491,
    "user": {
      "type": "user",
      "username": null,
      "first_name": "John",
      "last_name": "Doe",
      "email": "[email protected]",
      "phone_number": "+18544104188",
      "created_at": 1795516135.761137,
      "id": "58083362-d937-4b19-adf2-a505f2e30ef4",
      "address_id": null,
      "cover_image_url": null,
      "profile_image_url": null,
      "updated_at": 1795516135.75371,
      "user_status": "Active",
      "profile_image_thumbnail_url": null,
      "cover_image_thumbnail_url": null,
      "email_confirmed": false,
      "timezone": "America/Chicago",
      "user_type": "Agent",
      "deleted_at": null,
      "phone_confirmed": false,
      "is_shadow": null,
      "personal_room": "45d0a8a4-ff77-4685-8bd4-33df5c9b36f8",
      "brand": null,
      "fake_email": null,
      "features": null,
      "last_seen_at": null,
      "email_signature": "This is my signature.",
      "daily_enabled": true,
      "email_quota": 30000,
      "website": null,
      "instagram": null,
      "twitter": null,
      "linkedin": null,
      "youtube": null,
      "facebook": null,
      "designation": null,
      "tiktok": null,
      "mfa_enabled": false,
      "xpressdocs_user_id": null,
      "bio": "This is my bio.",
      "current_time": "4:28 AM - Tuesday Nov 24, 2026",
      "push_allowed": false,
      "agents": [
        {
          "id": "6d093275-5e08-4fe6-bdd7-64336e0103dc",
          "email": "[email protected]",
          "mlsid": "00920130",
          "fax": "(972) 264-4703",
          "full_name": "Gholi Sweet",
          "first_name": "Gholi",
          "last_name": "Sweet",
          "middle_name": null,
          "phone_number": "+19722644703",
          "nar_number": "797500044",
          "office_mui": "15512742",
          "status": "Active",
          "office_mlsid": "RCHT01X",
          "work_phone": "+14693588080",
          "generational_name": null,
          "matrix_unique_id": "295595321",
          "updated_at": 1795516135.820665,
          "deleted_at": null,
          "created_at": 1795516135.820665,
          "mls": "NTREIS",
          "license_number": null,
          "designation": null,
          "nrds": "01053140",
          "type": "agent",
          "office_id": null,
          "secret_questions": [
            "(972) XXX-XX03",
            "jewellxxxxxxxxxxxxxal.net",
            "+1XXXXXXXX80"
          ]
        }
      ],
      "last_seen_type": null,
      "active_brand": "2b8ae87a-993e-4b42-90b2-68ba579c1fe8",
      "display_name": "John Doe",
      "abbreviated_display_name": "John",
      "online_state": "Offline",
      "has_password": true
    },
    "brand": {
      "id": "2b8ae87a-993e-4b42-90b2-68ba579c1fe8",
      "created_at": 1795516136.063131,
      "updated_at": 1795516136.063131,
      "palette": {
        "primary": "red",
        "type": "brand_palette"
      },
      "assets": {
        "type": "brand_assets"
      },
      "messages": {
        "type": "brand_messages"
      },
      "parent": {
        "id": "42cf15e1-744f-46f6-bf47-3d681acbca84",
        "created_at": 1795516135.879224,
        "updated_at": 1795516135.879224,
        "palette": {
          "primary": "red",
          "type": "brand_palette"
        },
        "assets": {
          "type": "brand_assets"
        },
        "messages": {
          "type": "brand_messages"
        },
        "parent": null,
        "name": "Parent Brand",
        "deleted_at": null,
        "training": false,
        "brand_type": "Brokerage",
        "parents": null,
        "type": "brand",
        "hostnames": null,
        "member_count": 1,
        "base_url": "https://irish.rechat.com"
      },
      "name": "Child Brand",
      "deleted_at": null,
      "training": false,
      "brand_type": "Brokerage",
      "parents": [
        "42cf15e1-744f-46f6-bf47-3d681acbca84"
      ],
      "type": "brand",
      "hostnames": null,
      "member_count": 1,
      "base_url": "https://irish.rechat.com"
    },
    "owner": "58083362-d937-4b19-adf2-a505f2e30ef4",
    "template": "light",
    "attributes": {
      "biography": "Foo bar",
      "facebook_url": "http://facebook.com/foo"
    },
    "title": "Website Title",
    "template_instance": {
      "id": "03d4678a-28e9-4cc5-8e6a-c79902c6a6f5",
      "created_at": 1795516135.75371,
      "html": "SOME HTML",
      "file": {
        "id": "138794f2-97a6-4f00-bab2-2d18399991b0",
        "created_at": 1795516136.42211,
        "updated_at": 1795516136.42211,
        "deleted_at": null,
        "created_by": "58083362-d937-4b19-adf2-a505f2e30ef4",
        "path": "templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
        "name": "image.png",
        "public": true,
        "type": "file",
        "url": "https://test.cloudfront.net/templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
        "preview_url": "https://test.cloudfront.net/templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
        "mime": "image/png"
      },
      "created_by": "58083362-d937-4b19-adf2-a505f2e30ef4",
      "branch": "http://mock-branch-url",
      "updated_at": 1795516135.75371,
      "deleted_at": null,
      "type": "template_instance"
    },
    "hostnames": [
      "wizardly-almeida.rechat.site"
    ],
    "wid": "0160310d-968d-494c-922f-2e16eded8359",
    "ord": "1"
  }
}

Delete a website

Delete a website
DELETE/websites/:id

Example URI

DELETE /websites/:id
URI Parameters
HideShow
id
string (required) Example: 0160310d-968d-494c-922f-2e16eded8359
Request
HideShow
Body
{
  "user": "58083362-d937-4b19-adf2-a505f2e30ef4"
}
Response  204

Find a website by its hostname

Find a website by its hostname
GET/websites/search?hostname=:hostname

Example URI

GET /websites/search?hostname=:hostname
URI Parameters
HideShow
hostname
string (required) Example: localsite
Response  200
HideShow
Body
{
  "code": "OK",
  "data": {
    "id": "0160310d-968d-494c-922f-2e16eded8359",
    "type": "website",
    "created_at": 1795516136.450299,
    "updated_at": 1795516136.450491,
    "user": {
      "type": "user",
      "username": null,
      "first_name": "John",
      "last_name": "Doe",
      "email": "[email protected]",
      "phone_number": "+18544104188",
      "created_at": 1795516135.761137,
      "id": "58083362-d937-4b19-adf2-a505f2e30ef4",
      "address_id": null,
      "cover_image_url": null,
      "profile_image_url": null,
      "updated_at": 1795516135.75371,
      "user_status": "Active",
      "profile_image_thumbnail_url": null,
      "cover_image_thumbnail_url": null,
      "email_confirmed": false,
      "timezone": "America/Chicago",
      "user_type": "Agent",
      "deleted_at": null,
      "phone_confirmed": false,
      "is_shadow": null,
      "personal_room": "45d0a8a4-ff77-4685-8bd4-33df5c9b36f8",
      "brand": null,
      "fake_email": null,
      "features": null,
      "last_seen_at": null,
      "email_signature": "This is my signature.",
      "daily_enabled": true,
      "email_quota": 30000,
      "website": null,
      "instagram": null,
      "twitter": null,
      "linkedin": null,
      "youtube": null,
      "facebook": null,
      "designation": null,
      "tiktok": null,
      "mfa_enabled": false,
      "xpressdocs_user_id": null,
      "bio": "This is my bio.",
      "current_time": "4:28 AM - Tuesday Nov 24, 2026",
      "push_allowed": false,
      "agents": [
        {
          "id": "6d093275-5e08-4fe6-bdd7-64336e0103dc",
          "email": "[email protected]",
          "mlsid": "00920130",
          "fax": "(972) 264-4703",
          "full_name": "Gholi Sweet",
          "first_name": "Gholi",
          "last_name": "Sweet",
          "middle_name": null,
          "phone_number": "+19722644703",
          "nar_number": "797500044",
          "office_mui": "15512742",
          "status": "Active",
          "office_mlsid": "RCHT01X",
          "work_phone": "+14693588080",
          "generational_name": null,
          "matrix_unique_id": "295595321",
          "updated_at": 1795516135.820665,
          "deleted_at": null,
          "created_at": 1795516135.820665,
          "mls": "NTREIS",
          "license_number": null,
          "designation": null,
          "nrds": "01053140",
          "type": "agent",
          "office_id": null,
          "secret_questions": [
            "(972) XXX-XX03",
            "jewellxxxxxxxxxxxxxal.net",
            "+1XXXXXXXX80"
          ]
        }
      ],
      "last_seen_type": null,
      "active_brand": "2b8ae87a-993e-4b42-90b2-68ba579c1fe8",
      "display_name": "John Doe",
      "abbreviated_display_name": "John",
      "online_state": "Offline",
      "has_password": true
    },
    "brand": {
      "id": "2b8ae87a-993e-4b42-90b2-68ba579c1fe8",
      "created_at": 1795516136.063131,
      "updated_at": 1795516136.063131,
      "palette": {
        "primary": "red",
        "type": "brand_palette"
      },
      "assets": {
        "type": "brand_assets"
      },
      "messages": {
        "type": "brand_messages"
      },
      "parent": {
        "id": "42cf15e1-744f-46f6-bf47-3d681acbca84",
        "created_at": 1795516135.879224,
        "updated_at": 1795516135.879224,
        "palette": {
          "primary": "red",
          "type": "brand_palette"
        },
        "assets": {
          "type": "brand_assets"
        },
        "messages": {
          "type": "brand_messages"
        },
        "parent": null,
        "name": "Parent Brand",
        "deleted_at": null,
        "training": false,
        "brand_type": "Brokerage",
        "parents": null,
        "type": "brand",
        "hostnames": null,
        "member_count": 1,
        "base_url": "https://irish.rechat.com"
      },
      "name": "Child Brand",
      "deleted_at": null,
      "training": false,
      "brand_type": "Brokerage",
      "parents": [
        "42cf15e1-744f-46f6-bf47-3d681acbca84"
      ],
      "type": "brand",
      "hostnames": null,
      "member_count": 1,
      "base_url": "https://irish.rechat.com"
    },
    "owner": "58083362-d937-4b19-adf2-a505f2e30ef4",
    "template": "light",
    "attributes": {
      "biography": "Foo bar",
      "facebook_url": "http://facebook.com/foo"
    },
    "title": "Website Title",
    "template_instance": {
      "id": "03d4678a-28e9-4cc5-8e6a-c79902c6a6f5",
      "created_at": 1795516135.75371,
      "html": "SOME HTML",
      "file": {
        "id": "138794f2-97a6-4f00-bab2-2d18399991b0",
        "created_at": 1795516136.42211,
        "updated_at": 1795516136.42211,
        "deleted_at": null,
        "created_by": "58083362-d937-4b19-adf2-a505f2e30ef4",
        "path": "templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
        "name": "image.png",
        "public": true,
        "type": "file",
        "url": "https://test.cloudfront.net/templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
        "preview_url": "https://test.cloudfront.net/templates/instances/da80e150-e7f1-11f1-abd6-c79f1667f709.png",
        "mime": "image/png"
      },
      "created_by": "58083362-d937-4b19-adf2-a505f2e30ef4",
      "branch": "http://mock-branch-url",
      "updated_at": 1795516135.75371,
      "deleted_at": null,
      "type": "template_instance"
    },
    "hostnames": [
      "localsite",
      "wizardly-almeida.rechat.site"
    ],
    "wid": "0160310d-968d-494c-922f-2e16eded8359",
    "ord": "1"
  }
}

Generated by aglio on 24 Nov 2026