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": "1251229e-f1dc-4fd8-a59a-039d950d05be",
  "brand": "453cc71c-9c4e-4985-b375-88293c48acf6",
  "user": "322ab187-8e30-4433-96a7-871a0e5877ce",
  "owner": "322ab187-8e30-4433-96a7-871a0e5877ce"
}
Response  200
HideShow
Body
{
  "code": "OK",
  "data": {
    "id": "1e945b63-bd8c-4c77-96de-9539e8220e13",
    "type": "website",
    "created_at": 1783015007.895265,
    "updated_at": 1783015007.895526,
    "user": {
      "type": "user",
      "username": null,
      "first_name": "John",
      "last_name": "Doe",
      "email": "[email protected]",
      "phone_number": "+12134272026",
      "created_at": 1783015006.254714,
      "id": "322ab187-8e30-4433-96a7-871a0e5877ce",
      "address_id": null,
      "cover_image_url": null,
      "profile_image_url": null,
      "updated_at": 1783015006.232667,
      "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": "d10e90ff-68d9-4368-8972-0bd3b6a56ecc",
      "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": "12:56 PM - Thursday Jul 02, 2026",
      "push_allowed": true,
      "agents": [
        {
          "id": "597e96d1-9a00-4acf-8dae-9369e83dcf8f",
          "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": "1140457221",
          "updated_at": 1783015006.381461,
          "deleted_at": null,
          "created_at": 1783015006.381461,
          "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": "453cc71c-9c4e-4985-b375-88293c48acf6",
      "display_name": "John Doe",
      "abbreviated_display_name": "John",
      "online_state": "Offline",
      "has_password": true
    },
    "brand": {
      "id": "453cc71c-9c4e-4985-b375-88293c48acf6",
      "created_at": 1783015006.996691,
      "updated_at": 1783015006.996691,
      "palette": {
        "primary": "red",
        "type": "brand_palette"
      },
      "assets": {
        "type": "brand_assets"
      },
      "messages": {
        "type": "brand_messages"
      },
      "parent": {
        "id": "61d9f018-39ab-4916-b41c-53b21e690314",
        "created_at": 1783015006.553555,
        "updated_at": 1783015006.553556,
        "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": [
        "61d9f018-39ab-4916-b41c-53b21e690314"
      ],
      "type": "brand",
      "hostnames": null,
      "member_count": 1,
      "base_url": "https://irish.rechat.com"
    },
    "owner": "322ab187-8e30-4433-96a7-871a0e5877ce",
    "template": "light",
    "attributes": {
      "biography": "Foo bar",
      "facebook_url": "http://facebook.com/foo"
    },
    "title": "Website Title",
    "template_instance": {
      "id": "1251229e-f1dc-4fd8-a59a-039d950d05be",
      "created_at": 1783015006.232667,
      "html": "SOME HTML",
      "file": {
        "id": "575abd03-db5a-4029-b23c-9898dadf896a",
        "created_at": 1783015007.833953,
        "updated_at": 1783015007.833953,
        "deleted_at": null,
        "created_by": "322ab187-8e30-4433-96a7-871a0e5877ce",
        "path": "templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
        "name": "image.png",
        "public": true,
        "type": "file",
        "url": "https://test.cloudfront.net/templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
        "preview_url": "https://test.cloudfront.net/templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
        "mime": "image/png"
      },
      "created_by": "322ab187-8e30-4433-96a7-871a0e5877ce",
      "branch": "http://mock-branch-url",
      "updated_at": 1783015006.232667,
      "deleted_at": null,
      "type": "template_instance"
    },
    "hostnames": [
      "intelligent-montalcini.rechat.site"
    ],
    "wid": "1e945b63-bd8c-4c77-96de-9539e8220e13",
    "ord": "1"
  }
}

Get a website

Get a website
GET/websites/:id

Example URI

GET /websites/:id
URI Parameters
HideShow
id
string (required) Example: 1e945b63-bd8c-4c77-96de-9539e8220e13
Response  200
HideShow
Body
{
  "code": "OK",
  "data": {
    "id": "1e945b63-bd8c-4c77-96de-9539e8220e13",
    "type": "website",
    "created_at": 1783015007.895265,
    "updated_at": 1783015007.895526,
    "user": {
      "type": "user",
      "username": null,
      "first_name": "John",
      "last_name": "Doe",
      "email": "[email protected]",
      "phone_number": "+12134272026",
      "created_at": 1783015006.254714,
      "id": "322ab187-8e30-4433-96a7-871a0e5877ce",
      "address_id": null,
      "cover_image_url": null,
      "profile_image_url": null,
      "updated_at": 1783015006.232667,
      "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": "d10e90ff-68d9-4368-8972-0bd3b6a56ecc",
      "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": "12:56 PM - Thursday Jul 02, 2026",
      "push_allowed": true,
      "agents": [
        {
          "id": "597e96d1-9a00-4acf-8dae-9369e83dcf8f",
          "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": "1140457221",
          "updated_at": 1783015006.381461,
          "deleted_at": null,
          "created_at": 1783015006.381461,
          "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": "453cc71c-9c4e-4985-b375-88293c48acf6",
      "display_name": "John Doe",
      "abbreviated_display_name": "John",
      "online_state": "Offline",
      "has_password": true
    },
    "brand": {
      "id": "453cc71c-9c4e-4985-b375-88293c48acf6",
      "created_at": 1783015006.996691,
      "updated_at": 1783015006.996691,
      "palette": {
        "primary": "red",
        "type": "brand_palette"
      },
      "assets": {
        "type": "brand_assets"
      },
      "messages": {
        "type": "brand_messages"
      },
      "parent": {
        "id": "61d9f018-39ab-4916-b41c-53b21e690314",
        "created_at": 1783015006.553555,
        "updated_at": 1783015006.553556,
        "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": [
        "61d9f018-39ab-4916-b41c-53b21e690314"
      ],
      "type": "brand",
      "hostnames": null,
      "member_count": 1,
      "base_url": "https://irish.rechat.com"
    },
    "owner": "322ab187-8e30-4433-96a7-871a0e5877ce",
    "template": "light",
    "attributes": {
      "biography": "Foo bar",
      "facebook_url": "http://facebook.com/foo"
    },
    "title": "Website Title",
    "template_instance": {
      "id": "1251229e-f1dc-4fd8-a59a-039d950d05be",
      "created_at": 1783015006.232667,
      "html": "SOME HTML",
      "file": {
        "id": "575abd03-db5a-4029-b23c-9898dadf896a",
        "created_at": 1783015007.833953,
        "updated_at": 1783015007.833953,
        "deleted_at": null,
        "created_by": "322ab187-8e30-4433-96a7-871a0e5877ce",
        "path": "templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
        "name": "image.png",
        "public": true,
        "type": "file",
        "url": "https://test.cloudfront.net/templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
        "preview_url": "https://test.cloudfront.net/templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
        "mime": "image/png"
      },
      "created_by": "322ab187-8e30-4433-96a7-871a0e5877ce",
      "branch": "http://mock-branch-url",
      "updated_at": 1783015006.232667,
      "deleted_at": null,
      "type": "template_instance"
    },
    "hostnames": [
      "intelligent-montalcini.rechat.site"
    ],
    "wid": "1e945b63-bd8c-4c77-96de-9539e8220e13",
    "ord": "1"
  }
}

Update a website

Update a website
PUT/websites/:id

Example URI

PUT /websites/:id
URI Parameters
HideShow
id
string (required) Example: 1e945b63-bd8c-4c77-96de-9539e8220e13
Request
HideShow
Body
{
  "template": "light2",
  "title": "Website Title",
  "attributes": {
    "biography": "Foo bar",
    "facebook_url": "https://updated_facebook_url",
    "new_attribute": "value"
  },
  "user": "322ab187-8e30-4433-96a7-871a0e5877ce"
}
Response  200
HideShow
Body
{
  "code": "OK",
  "data": {
    "id": "1e945b63-bd8c-4c77-96de-9539e8220e13",
    "type": "website",
    "created_at": 1783015007.895265,
    "updated_at": 1783015008.187651,
    "user": {
      "type": "user",
      "username": null,
      "first_name": "John",
      "last_name": "Doe",
      "email": "[email protected]",
      "phone_number": "+12134272026",
      "created_at": 1783015006.254714,
      "id": "322ab187-8e30-4433-96a7-871a0e5877ce",
      "address_id": null,
      "cover_image_url": null,
      "profile_image_url": null,
      "updated_at": 1783015006.232667,
      "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": "d10e90ff-68d9-4368-8972-0bd3b6a56ecc",
      "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": "12:56 PM - Thursday Jul 02, 2026",
      "push_allowed": true,
      "agents": [
        {
          "id": "597e96d1-9a00-4acf-8dae-9369e83dcf8f",
          "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": "1140457221",
          "updated_at": 1783015006.381461,
          "deleted_at": null,
          "created_at": 1783015006.381461,
          "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": "453cc71c-9c4e-4985-b375-88293c48acf6",
      "display_name": "John Doe",
      "abbreviated_display_name": "John",
      "online_state": "Offline",
      "has_password": true
    },
    "brand": {
      "id": "453cc71c-9c4e-4985-b375-88293c48acf6",
      "created_at": 1783015006.996691,
      "updated_at": 1783015006.996691,
      "palette": {
        "primary": "red",
        "type": "brand_palette"
      },
      "assets": {
        "type": "brand_assets"
      },
      "messages": {
        "type": "brand_messages"
      },
      "parent": {
        "id": "61d9f018-39ab-4916-b41c-53b21e690314",
        "created_at": 1783015006.553555,
        "updated_at": 1783015006.553556,
        "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": [
        "61d9f018-39ab-4916-b41c-53b21e690314"
      ],
      "type": "brand",
      "hostnames": null,
      "member_count": 1,
      "base_url": "https://irish.rechat.com"
    },
    "owner": "322ab187-8e30-4433-96a7-871a0e5877ce",
    "template": "light2",
    "attributes": {
      "biography": "Foo bar",
      "facebook_url": "https://updated_facebook_url",
      "new_attribute": "value"
    },
    "title": "Website Title",
    "template_instance": null,
    "hostnames": [
      "intelligent-montalcini.rechat.site"
    ],
    "wid": "1e945b63-bd8c-4c77-96de-9539e8220e13",
    "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": "1e945b63-bd8c-4c77-96de-9539e8220e13",
      "type": "website",
      "created_at": 1783015007.895265,
      "updated_at": 1783015007.895526,
      "user": {
        "type": "user",
        "username": null,
        "first_name": "John",
        "last_name": "Doe",
        "email": "[email protected]",
        "phone_number": "+12134272026",
        "created_at": 1783015006.254714,
        "id": "322ab187-8e30-4433-96a7-871a0e5877ce",
        "address_id": null,
        "cover_image_url": null,
        "profile_image_url": null,
        "updated_at": 1783015006.232667,
        "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": "d10e90ff-68d9-4368-8972-0bd3b6a56ecc",
        "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": "12:56 PM - Thursday Jul 02, 2026",
        "push_allowed": true,
        "agents": [
          {
            "id": "597e96d1-9a00-4acf-8dae-9369e83dcf8f",
            "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": "1140457221",
            "updated_at": 1783015006.381461,
            "deleted_at": null,
            "created_at": 1783015006.381461,
            "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": "453cc71c-9c4e-4985-b375-88293c48acf6",
        "display_name": "John Doe",
        "abbreviated_display_name": "John",
        "online_state": "Offline",
        "has_password": true
      },
      "brand": {
        "id": "453cc71c-9c4e-4985-b375-88293c48acf6",
        "created_at": 1783015006.996691,
        "updated_at": 1783015006.996691,
        "palette": {
          "primary": "red",
          "type": "brand_palette"
        },
        "assets": {
          "type": "brand_assets"
        },
        "messages": {
          "type": "brand_messages"
        },
        "parent": {
          "id": "61d9f018-39ab-4916-b41c-53b21e690314",
          "created_at": 1783015006.553555,
          "updated_at": 1783015006.553556,
          "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": [
          "61d9f018-39ab-4916-b41c-53b21e690314"
        ],
        "type": "brand",
        "hostnames": null,
        "member_count": 1,
        "base_url": "https://irish.rechat.com"
      },
      "owner": "322ab187-8e30-4433-96a7-871a0e5877ce",
      "template": "light",
      "attributes": {
        "biography": "Foo bar",
        "facebook_url": "http://facebook.com/foo"
      },
      "title": "Website Title",
      "template_instance": {
        "id": "1251229e-f1dc-4fd8-a59a-039d950d05be",
        "created_at": 1783015006.232667,
        "html": "SOME HTML",
        "file": {
          "id": "575abd03-db5a-4029-b23c-9898dadf896a",
          "created_at": 1783015007.833953,
          "updated_at": 1783015007.833953,
          "deleted_at": null,
          "created_by": "322ab187-8e30-4433-96a7-871a0e5877ce",
          "path": "templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
          "name": "image.png",
          "public": true,
          "type": "file",
          "url": "https://test.cloudfront.net/templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
          "preview_url": "https://test.cloudfront.net/templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
          "mime": "image/png"
        },
        "created_by": "322ab187-8e30-4433-96a7-871a0e5877ce",
        "branch": "http://mock-branch-url",
        "updated_at": 1783015006.232667,
        "deleted_at": null,
        "type": "template_instance"
      },
      "hostnames": [
        "intelligent-montalcini.rechat.site"
      ],
      "wid": "1e945b63-bd8c-4c77-96de-9539e8220e13",
      "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: 453cc71c-9c4e-4985-b375-88293c48acf6
Response  200
HideShow
Body
{
  "code": "OK",
  "data": [
    {
      "id": "1e945b63-bd8c-4c77-96de-9539e8220e13",
      "type": "website",
      "created_at": 1783015007.895265,
      "updated_at": 1783015007.895526,
      "user": {
        "type": "user",
        "username": null,
        "first_name": "John",
        "last_name": "Doe",
        "email": "[email protected]",
        "phone_number": "+12134272026",
        "created_at": 1783015006.254714,
        "id": "322ab187-8e30-4433-96a7-871a0e5877ce",
        "address_id": null,
        "cover_image_url": null,
        "profile_image_url": null,
        "updated_at": 1783015006.232667,
        "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": "d10e90ff-68d9-4368-8972-0bd3b6a56ecc",
        "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": "12:56 PM - Thursday Jul 02, 2026",
        "push_allowed": true,
        "agents": [
          {
            "id": "597e96d1-9a00-4acf-8dae-9369e83dcf8f",
            "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": "1140457221",
            "updated_at": 1783015006.381461,
            "deleted_at": null,
            "created_at": 1783015006.381461,
            "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": "453cc71c-9c4e-4985-b375-88293c48acf6",
        "display_name": "John Doe",
        "abbreviated_display_name": "John",
        "online_state": "Offline",
        "has_password": true
      },
      "brand": {
        "id": "453cc71c-9c4e-4985-b375-88293c48acf6",
        "created_at": 1783015006.996691,
        "updated_at": 1783015006.996691,
        "palette": {
          "primary": "red",
          "type": "brand_palette"
        },
        "assets": {
          "type": "brand_assets"
        },
        "messages": {
          "type": "brand_messages"
        },
        "parent": {
          "id": "61d9f018-39ab-4916-b41c-53b21e690314",
          "created_at": 1783015006.553555,
          "updated_at": 1783015006.553556,
          "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": [
          "61d9f018-39ab-4916-b41c-53b21e690314"
        ],
        "type": "brand",
        "hostnames": null,
        "member_count": 1,
        "base_url": "https://irish.rechat.com"
      },
      "owner": "322ab187-8e30-4433-96a7-871a0e5877ce",
      "template": "light",
      "attributes": {
        "biography": "Foo bar",
        "facebook_url": "http://facebook.com/foo"
      },
      "title": "Website Title",
      "template_instance": {
        "id": "1251229e-f1dc-4fd8-a59a-039d950d05be",
        "created_at": 1783015006.232667,
        "html": "SOME HTML",
        "file": {
          "id": "575abd03-db5a-4029-b23c-9898dadf896a",
          "created_at": 1783015007.833953,
          "updated_at": 1783015007.833953,
          "deleted_at": null,
          "created_by": "322ab187-8e30-4433-96a7-871a0e5877ce",
          "path": "templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
          "name": "image.png",
          "public": true,
          "type": "file",
          "url": "https://test.cloudfront.net/templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
          "preview_url": "https://test.cloudfront.net/templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
          "mime": "image/png"
        },
        "created_by": "322ab187-8e30-4433-96a7-871a0e5877ce",
        "branch": "http://mock-branch-url",
        "updated_at": 1783015006.232667,
        "deleted_at": null,
        "type": "template_instance"
      },
      "hostnames": [
        "intelligent-montalcini.rechat.site"
      ],
      "wid": "1e945b63-bd8c-4c77-96de-9539e8220e13",
      "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: 1e945b63-bd8c-4c77-96de-9539e8220e13
Request
HideShow
Body
{
  "hostname": "localsite",
  "is_default": true,
  "website": "1e945b63-bd8c-4c77-96de-9539e8220e13"
}
Response  200
HideShow
Body
{
  "code": "OK",
  "data": {
    "id": "1e945b63-bd8c-4c77-96de-9539e8220e13",
    "type": "website",
    "created_at": 1783015007.895265,
    "updated_at": 1783015007.895526,
    "user": {
      "type": "user",
      "username": null,
      "first_name": "John",
      "last_name": "Doe",
      "email": "[email protected]",
      "phone_number": "+12134272026",
      "created_at": 1783015006.254714,
      "id": "322ab187-8e30-4433-96a7-871a0e5877ce",
      "address_id": null,
      "cover_image_url": null,
      "profile_image_url": null,
      "updated_at": 1783015006.232667,
      "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": "d10e90ff-68d9-4368-8972-0bd3b6a56ecc",
      "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": "12:56 PM - Thursday Jul 02, 2026",
      "push_allowed": true,
      "agents": [
        {
          "id": "597e96d1-9a00-4acf-8dae-9369e83dcf8f",
          "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": "1140457221",
          "updated_at": 1783015006.381461,
          "deleted_at": null,
          "created_at": 1783015006.381461,
          "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": "453cc71c-9c4e-4985-b375-88293c48acf6",
      "display_name": "John Doe",
      "abbreviated_display_name": "John",
      "online_state": "Offline",
      "has_password": true
    },
    "brand": {
      "id": "453cc71c-9c4e-4985-b375-88293c48acf6",
      "created_at": 1783015006.996691,
      "updated_at": 1783015006.996691,
      "palette": {
        "primary": "red",
        "type": "brand_palette"
      },
      "assets": {
        "type": "brand_assets"
      },
      "messages": {
        "type": "brand_messages"
      },
      "parent": {
        "id": "61d9f018-39ab-4916-b41c-53b21e690314",
        "created_at": 1783015006.553555,
        "updated_at": 1783015006.553556,
        "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": [
        "61d9f018-39ab-4916-b41c-53b21e690314"
      ],
      "type": "brand",
      "hostnames": null,
      "member_count": 1,
      "base_url": "https://irish.rechat.com"
    },
    "owner": "322ab187-8e30-4433-96a7-871a0e5877ce",
    "template": "light",
    "attributes": {
      "biography": "Foo bar",
      "facebook_url": "http://facebook.com/foo"
    },
    "title": "Website Title",
    "template_instance": {
      "id": "1251229e-f1dc-4fd8-a59a-039d950d05be",
      "created_at": 1783015006.232667,
      "html": "SOME HTML",
      "file": {
        "id": "575abd03-db5a-4029-b23c-9898dadf896a",
        "created_at": 1783015007.833953,
        "updated_at": 1783015007.833953,
        "deleted_at": null,
        "created_by": "322ab187-8e30-4433-96a7-871a0e5877ce",
        "path": "templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
        "name": "image.png",
        "public": true,
        "type": "file",
        "url": "https://test.cloudfront.net/templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
        "preview_url": "https://test.cloudfront.net/templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
        "mime": "image/png"
      },
      "created_by": "322ab187-8e30-4433-96a7-871a0e5877ce",
      "branch": "http://mock-branch-url",
      "updated_at": 1783015006.232667,
      "deleted_at": null,
      "type": "template_instance"
    },
    "hostnames": [
      "localsite",
      "intelligent-montalcini.rechat.site"
    ],
    "wid": "1e945b63-bd8c-4c77-96de-9539e8220e13",
    "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: 1e945b63-bd8c-4c77-96de-9539e8220e13
hostname
string (required) Example: localsite
Response  200
HideShow
Body
{
  "code": "OK",
  "data": {
    "id": "1e945b63-bd8c-4c77-96de-9539e8220e13",
    "type": "website",
    "created_at": 1783015007.895265,
    "updated_at": 1783015007.895526,
    "user": {
      "type": "user",
      "username": null,
      "first_name": "John",
      "last_name": "Doe",
      "email": "[email protected]",
      "phone_number": "+12134272026",
      "created_at": 1783015006.254714,
      "id": "322ab187-8e30-4433-96a7-871a0e5877ce",
      "address_id": null,
      "cover_image_url": null,
      "profile_image_url": null,
      "updated_at": 1783015006.232667,
      "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": "d10e90ff-68d9-4368-8972-0bd3b6a56ecc",
      "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": "12:56 PM - Thursday Jul 02, 2026",
      "push_allowed": true,
      "agents": [
        {
          "id": "597e96d1-9a00-4acf-8dae-9369e83dcf8f",
          "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": "1140457221",
          "updated_at": 1783015006.381461,
          "deleted_at": null,
          "created_at": 1783015006.381461,
          "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": "453cc71c-9c4e-4985-b375-88293c48acf6",
      "display_name": "John Doe",
      "abbreviated_display_name": "John",
      "online_state": "Offline",
      "has_password": true
    },
    "brand": {
      "id": "453cc71c-9c4e-4985-b375-88293c48acf6",
      "created_at": 1783015006.996691,
      "updated_at": 1783015006.996691,
      "palette": {
        "primary": "red",
        "type": "brand_palette"
      },
      "assets": {
        "type": "brand_assets"
      },
      "messages": {
        "type": "brand_messages"
      },
      "parent": {
        "id": "61d9f018-39ab-4916-b41c-53b21e690314",
        "created_at": 1783015006.553555,
        "updated_at": 1783015006.553556,
        "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": [
        "61d9f018-39ab-4916-b41c-53b21e690314"
      ],
      "type": "brand",
      "hostnames": null,
      "member_count": 1,
      "base_url": "https://irish.rechat.com"
    },
    "owner": "322ab187-8e30-4433-96a7-871a0e5877ce",
    "template": "light",
    "attributes": {
      "biography": "Foo bar",
      "facebook_url": "http://facebook.com/foo"
    },
    "title": "Website Title",
    "template_instance": {
      "id": "1251229e-f1dc-4fd8-a59a-039d950d05be",
      "created_at": 1783015006.232667,
      "html": "SOME HTML",
      "file": {
        "id": "575abd03-db5a-4029-b23c-9898dadf896a",
        "created_at": 1783015007.833953,
        "updated_at": 1783015007.833953,
        "deleted_at": null,
        "created_by": "322ab187-8e30-4433-96a7-871a0e5877ce",
        "path": "templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
        "name": "image.png",
        "public": true,
        "type": "file",
        "url": "https://test.cloudfront.net/templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
        "preview_url": "https://test.cloudfront.net/templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
        "mime": "image/png"
      },
      "created_by": "322ab187-8e30-4433-96a7-871a0e5877ce",
      "branch": "http://mock-branch-url",
      "updated_at": 1783015006.232667,
      "deleted_at": null,
      "type": "template_instance"
    },
    "hostnames": [
      "intelligent-montalcini.rechat.site"
    ],
    "wid": "1e945b63-bd8c-4c77-96de-9539e8220e13",
    "ord": "1"
  }
}

Delete a website

Delete a website
DELETE/websites/:id

Example URI

DELETE /websites/:id
URI Parameters
HideShow
id
string (required) Example: 1e945b63-bd8c-4c77-96de-9539e8220e13
Request
HideShow
Body
{
  "user": "322ab187-8e30-4433-96a7-871a0e5877ce"
}
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": "1e945b63-bd8c-4c77-96de-9539e8220e13",
    "type": "website",
    "created_at": 1783015007.895265,
    "updated_at": 1783015007.895526,
    "user": {
      "type": "user",
      "username": null,
      "first_name": "John",
      "last_name": "Doe",
      "email": "[email protected]",
      "phone_number": "+12134272026",
      "created_at": 1783015006.254714,
      "id": "322ab187-8e30-4433-96a7-871a0e5877ce",
      "address_id": null,
      "cover_image_url": null,
      "profile_image_url": null,
      "updated_at": 1783015006.232667,
      "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": "d10e90ff-68d9-4368-8972-0bd3b6a56ecc",
      "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": "12:56 PM - Thursday Jul 02, 2026",
      "push_allowed": true,
      "agents": [
        {
          "id": "597e96d1-9a00-4acf-8dae-9369e83dcf8f",
          "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": "1140457221",
          "updated_at": 1783015006.381461,
          "deleted_at": null,
          "created_at": 1783015006.381461,
          "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": "453cc71c-9c4e-4985-b375-88293c48acf6",
      "display_name": "John Doe",
      "abbreviated_display_name": "John",
      "online_state": "Offline",
      "has_password": true
    },
    "brand": {
      "id": "453cc71c-9c4e-4985-b375-88293c48acf6",
      "created_at": 1783015006.996691,
      "updated_at": 1783015006.996691,
      "palette": {
        "primary": "red",
        "type": "brand_palette"
      },
      "assets": {
        "type": "brand_assets"
      },
      "messages": {
        "type": "brand_messages"
      },
      "parent": {
        "id": "61d9f018-39ab-4916-b41c-53b21e690314",
        "created_at": 1783015006.553555,
        "updated_at": 1783015006.553556,
        "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": [
        "61d9f018-39ab-4916-b41c-53b21e690314"
      ],
      "type": "brand",
      "hostnames": null,
      "member_count": 1,
      "base_url": "https://irish.rechat.com"
    },
    "owner": "322ab187-8e30-4433-96a7-871a0e5877ce",
    "template": "light",
    "attributes": {
      "biography": "Foo bar",
      "facebook_url": "http://facebook.com/foo"
    },
    "title": "Website Title",
    "template_instance": {
      "id": "1251229e-f1dc-4fd8-a59a-039d950d05be",
      "created_at": 1783015006.232667,
      "html": "SOME HTML",
      "file": {
        "id": "575abd03-db5a-4029-b23c-9898dadf896a",
        "created_at": 1783015007.833953,
        "updated_at": 1783015007.833953,
        "deleted_at": null,
        "created_by": "322ab187-8e30-4433-96a7-871a0e5877ce",
        "path": "templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
        "name": "image.png",
        "public": true,
        "type": "file",
        "url": "https://test.cloudfront.net/templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
        "preview_url": "https://test.cloudfront.net/templates/instances/65370d80-763f-11f1-94b5-7519f45a456b.png",
        "mime": "image/png"
      },
      "created_by": "322ab187-8e30-4433-96a7-871a0e5877ce",
      "branch": "http://mock-branch-url",
      "updated_at": 1783015006.232667,
      "deleted_at": null,
      "type": "template_instance"
    },
    "hostnames": [
      "localsite",
      "intelligent-montalcini.rechat.site"
    ],
    "wid": "1e945b63-bd8c-4c77-96de-9539e8220e13",
    "ord": "1"
  }
}

Generated by aglio on 02 Jul 2026