API Documentation
Website ¶
Overview
Website endpoints are responsible for manipulating the data for our website builder.
Create a website ¶
Create a websitePOST/websites
Example URI
POST /websites
Request
Body
{
"template": "light",
"title": "Website Title",
"attributes": {
"biography": "Foo bar",
"facebook_url": "http://facebook.com/foo"
},
"template_instance": "da819c38-146d-4001-bab9-328bbc34740f",
"brand": "80fcc9b1-293b-497d-a8a8-812835b964e4",
"user": "80a227b2-29a0-11e7-b636-e4a7a08e15d4"
}
Response
200
Body
{
"code": "OK",
"data": {
"id": "dd39cd7c-0fe6-4ca1-932e-497c3996aebd",
"type": "website",
"created_at": 1760470151.461364,
"updated_at": 1760470151.462125,
"user": {
"type": "user",
"username": null,
"first_name": "Unit",
"last_name": "Test",
"email": "[email protected]",
"phone_number": "+4368120265807",
"created_at": 1493115498.770362,
"id": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"address_id": null,
"cover_image_url": null,
"profile_image_url": null,
"updated_at": 1760470149.288666,
"user_status": "Active",
"profile_image_thumbnail_url": null,
"cover_image_thumbnail_url": null,
"email_confirmed": true,
"timezone": "America/Chicago",
"user_type": "Agent",
"deleted_at": null,
"phone_confirmed": false,
"is_shadow": false,
"personal_room": null,
"brand": null,
"fake_email": false,
"features": [
"Deals"
],
"last_seen_at": null,
"email_signature": null,
"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,
"current_time": "2:29 PM - Tuesday Oct 14, 2025",
"push_allowed": true,
"agents": [
{
"id": "b6755500-7f39-4b1b-aebf-ef3829a2fc15",
"email": "[email protected]",
"mlsid": "00920130",
"fax": "(972) 264-4703",
"full_name": "Gholi Sweet",
"first_name": "Gholi",
"last_name": "Sweet",
"middle_name": null,
"phone_number": "(972) 264-4703",
"nar_number": "797500044",
"office_mui": "15512742",
"status": "Active",
"office_mlsid": "RCHT01X",
"work_phone": "(469) 358-8080",
"generational_name": null,
"matrix_unique_id": "155155530",
"updated_at": 1760470149.387342,
"deleted_at": null,
"created_at": 1760470149.387342,
"mls": "NTREIS",
"license_number": null,
"designation": null,
"nrds": "01053140",
"type": "agent",
"office_id": null,
"secret_questions": [
"(972) XXX-XX03",
"jewellxxxxxxxxxxxxxal.net",
"(469) XXX-XX80"
]
}
],
"last_seen_type": null,
"active_brand": "80fcc9b1-293b-497d-a8a8-812835b964e4",
"display_name": "Unit Test",
"abbreviated_display_name": "Unit",
"online_state": "Offline",
"has_password": true
},
"brand": {
"id": "80fcc9b1-293b-497d-a8a8-812835b964e4",
"created_at": 1760470150.290219,
"updated_at": 1760470150.290219,
"palette": {
"primary": "red",
"type": "brand_palette"
},
"assets": {
"type": "brand_assets"
},
"messages": {
"type": "brand_messages"
},
"parent": {
"id": "fc61338a-1dfe-4ec6-ac98-c3778242a1eb",
"created_at": 1760470150.240165,
"updated_at": 1760470150.240165,
"palette": {
"primary": "red",
"type": "brand_palette"
},
"assets": {
"type": "brand_assets"
},
"messages": {
"type": "brand_messages"
},
"parent": {
"id": "e34642bc-2fc1-4b7c-a6ab-37c9281b44ae",
"created_at": 1760470149.515764,
"updated_at": 1760470149.515764,
"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": "Parent Brand",
"deleted_at": null,
"training": false,
"brand_type": "Brokerage",
"parents": [
"e34642bc-2fc1-4b7c-a6ab-37c9281b44ae"
],
"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": [
"fc61338a-1dfe-4ec6-ac98-c3778242a1eb",
"e34642bc-2fc1-4b7c-a6ab-37c9281b44ae"
],
"type": "brand",
"hostnames": null,
"member_count": 1,
"base_url": "https://irish.rechat.com"
},
"template": "light",
"attributes": {
"biography": "Foo bar",
"facebook_url": "http://facebook.com/foo"
},
"title": "Website Title",
"template_instance": {
"id": "da819c38-146d-4001-bab9-328bbc34740f",
"created_at": 1760470149.288666,
"html": "SOME HTML",
"file": {
"id": "fd5a8add-1079-4721-b1cc-6083f486247b",
"created_at": 1760470151.385689,
"updated_at": 1760470151.385689,
"deleted_at": null,
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"path": "templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"name": "image.png",
"public": true,
"type": "file",
"url": "https://test.cloudfront.net/templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"preview_url": "https://test.cloudfront.net/templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"mime": "image/png"
},
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"branch": "http://mock-branch-url",
"updated_at": 1760470149.288666,
"deleted_at": null,
"type": "template_instance"
},
"hostnames": [
"zealous-babbage.undefined"
],
"wid": "dd39cd7c-0fe6-4ca1-932e-497c3996aebd",
"ord": "1"
}
}
Get a website ¶
Get a websiteGET/websites/:id
Example URI
GET /websites/:id
URI Parameters
- id
string
(required) Example: dd39cd7c-0fe6-4ca1-932e-497c3996aebd
Response
200
Body
{
"code": "OK",
"data": {
"id": "dd39cd7c-0fe6-4ca1-932e-497c3996aebd",
"type": "website",
"created_at": 1760470151.461364,
"updated_at": 1760470151.462125,
"user": {
"type": "user",
"username": null,
"first_name": "Unit",
"last_name": "Test",
"email": "[email protected]",
"phone_number": "+4368120265807",
"created_at": 1493115498.770362,
"id": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"address_id": null,
"cover_image_url": null,
"profile_image_url": null,
"updated_at": 1760470149.288666,
"user_status": "Active",
"profile_image_thumbnail_url": null,
"cover_image_thumbnail_url": null,
"email_confirmed": true,
"timezone": "America/Chicago",
"user_type": "Agent",
"deleted_at": null,
"phone_confirmed": false,
"is_shadow": false,
"personal_room": null,
"brand": null,
"fake_email": false,
"features": [
"Deals"
],
"last_seen_at": null,
"email_signature": null,
"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,
"current_time": "2:29 PM - Tuesday Oct 14, 2025",
"push_allowed": true,
"agents": [
{
"id": "b6755500-7f39-4b1b-aebf-ef3829a2fc15",
"email": "[email protected]",
"mlsid": "00920130",
"fax": "(972) 264-4703",
"full_name": "Gholi Sweet",
"first_name": "Gholi",
"last_name": "Sweet",
"middle_name": null,
"phone_number": "(972) 264-4703",
"nar_number": "797500044",
"office_mui": "15512742",
"status": "Active",
"office_mlsid": "RCHT01X",
"work_phone": "(469) 358-8080",
"generational_name": null,
"matrix_unique_id": "155155530",
"updated_at": 1760470149.387342,
"deleted_at": null,
"created_at": 1760470149.387342,
"mls": "NTREIS",
"license_number": null,
"designation": null,
"nrds": "01053140",
"type": "agent",
"office_id": null,
"secret_questions": [
"(972) XXX-XX03",
"jewellxxxxxxxxxxxxxal.net",
"(469) XXX-XX80"
]
}
],
"last_seen_type": null,
"active_brand": "80fcc9b1-293b-497d-a8a8-812835b964e4",
"display_name": "Unit Test",
"abbreviated_display_name": "Unit",
"online_state": "Offline",
"has_password": true
},
"brand": {
"id": "80fcc9b1-293b-497d-a8a8-812835b964e4",
"created_at": 1760470150.290219,
"updated_at": 1760470150.290219,
"palette": {
"primary": "red",
"type": "brand_palette"
},
"assets": {
"type": "brand_assets"
},
"messages": {
"type": "brand_messages"
},
"parent": {
"id": "fc61338a-1dfe-4ec6-ac98-c3778242a1eb",
"created_at": 1760470150.240165,
"updated_at": 1760470150.240165,
"palette": {
"primary": "red",
"type": "brand_palette"
},
"assets": {
"type": "brand_assets"
},
"messages": {
"type": "brand_messages"
},
"parent": {
"id": "e34642bc-2fc1-4b7c-a6ab-37c9281b44ae",
"created_at": 1760470149.515764,
"updated_at": 1760470149.515764,
"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": "Parent Brand",
"deleted_at": null,
"training": false,
"brand_type": "Brokerage",
"parents": [
"e34642bc-2fc1-4b7c-a6ab-37c9281b44ae"
],
"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": [
"fc61338a-1dfe-4ec6-ac98-c3778242a1eb",
"e34642bc-2fc1-4b7c-a6ab-37c9281b44ae"
],
"type": "brand",
"hostnames": null,
"member_count": 1,
"base_url": "https://irish.rechat.com"
},
"template": "light",
"attributes": {
"biography": "Foo bar",
"facebook_url": "http://facebook.com/foo"
},
"title": "Website Title",
"template_instance": {
"id": "da819c38-146d-4001-bab9-328bbc34740f",
"created_at": 1760470149.288666,
"html": "SOME HTML",
"file": {
"id": "fd5a8add-1079-4721-b1cc-6083f486247b",
"created_at": 1760470151.385689,
"updated_at": 1760470151.385689,
"deleted_at": null,
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"path": "templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"name": "image.png",
"public": true,
"type": "file",
"url": "https://test.cloudfront.net/templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"preview_url": "https://test.cloudfront.net/templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"mime": "image/png"
},
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"branch": "http://mock-branch-url",
"updated_at": 1760470149.288666,
"deleted_at": null,
"type": "template_instance"
},
"hostnames": [
"zealous-babbage.undefined"
],
"wid": "dd39cd7c-0fe6-4ca1-932e-497c3996aebd",
"ord": "1"
}
}
Update a website ¶
Update a websitePUT/websites/:id
Example URI
PUT /websites/:id
URI Parameters
- id
string
(required) Example: dd39cd7c-0fe6-4ca1-932e-497c3996aebd
Request
Body
{
"template": "light2",
"title": "Website Title",
"attributes": {
"biography": "Foo bar",
"facebook_url": "https://updated_facebook_url",
"new_attribute": "value"
},
"user": "80a227b2-29a0-11e7-b636-e4a7a08e15d4"
}
Response
200
Body
{
"code": "OK",
"data": {
"id": "dd39cd7c-0fe6-4ca1-932e-497c3996aebd",
"type": "website",
"created_at": 1760470151.461364,
"updated_at": 1760470151.869663,
"user": {
"type": "user",
"username": null,
"first_name": "Unit",
"last_name": "Test",
"email": "[email protected]",
"phone_number": "+4368120265807",
"created_at": 1493115498.770362,
"id": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"address_id": null,
"cover_image_url": null,
"profile_image_url": null,
"updated_at": 1760470149.288666,
"user_status": "Active",
"profile_image_thumbnail_url": null,
"cover_image_thumbnail_url": null,
"email_confirmed": true,
"timezone": "America/Chicago",
"user_type": "Agent",
"deleted_at": null,
"phone_confirmed": false,
"is_shadow": false,
"personal_room": null,
"brand": null,
"fake_email": false,
"features": [
"Deals"
],
"last_seen_at": null,
"email_signature": null,
"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,
"current_time": "2:29 PM - Tuesday Oct 14, 2025",
"push_allowed": true,
"agents": [
{
"id": "b6755500-7f39-4b1b-aebf-ef3829a2fc15",
"email": "[email protected]",
"mlsid": "00920130",
"fax": "(972) 264-4703",
"full_name": "Gholi Sweet",
"first_name": "Gholi",
"last_name": "Sweet",
"middle_name": null,
"phone_number": "(972) 264-4703",
"nar_number": "797500044",
"office_mui": "15512742",
"status": "Active",
"office_mlsid": "RCHT01X",
"work_phone": "(469) 358-8080",
"generational_name": null,
"matrix_unique_id": "155155530",
"updated_at": 1760470149.387342,
"deleted_at": null,
"created_at": 1760470149.387342,
"mls": "NTREIS",
"license_number": null,
"designation": null,
"nrds": "01053140",
"type": "agent",
"office_id": null,
"secret_questions": [
"(972) XXX-XX03",
"jewellxxxxxxxxxxxxxal.net",
"(469) XXX-XX80"
]
}
],
"last_seen_type": null,
"active_brand": "80fcc9b1-293b-497d-a8a8-812835b964e4",
"display_name": "Unit Test",
"abbreviated_display_name": "Unit",
"online_state": "Offline",
"has_password": true
},
"brand": {
"id": "80fcc9b1-293b-497d-a8a8-812835b964e4",
"created_at": 1760470150.290219,
"updated_at": 1760470150.290219,
"palette": {
"primary": "red",
"type": "brand_palette"
},
"assets": {
"type": "brand_assets"
},
"messages": {
"type": "brand_messages"
},
"parent": {
"id": "fc61338a-1dfe-4ec6-ac98-c3778242a1eb",
"created_at": 1760470150.240165,
"updated_at": 1760470150.240165,
"palette": {
"primary": "red",
"type": "brand_palette"
},
"assets": {
"type": "brand_assets"
},
"messages": {
"type": "brand_messages"
},
"parent": {
"id": "e34642bc-2fc1-4b7c-a6ab-37c9281b44ae",
"created_at": 1760470149.515764,
"updated_at": 1760470149.515764,
"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": "Parent Brand",
"deleted_at": null,
"training": false,
"brand_type": "Brokerage",
"parents": [
"e34642bc-2fc1-4b7c-a6ab-37c9281b44ae"
],
"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": [
"fc61338a-1dfe-4ec6-ac98-c3778242a1eb",
"e34642bc-2fc1-4b7c-a6ab-37c9281b44ae"
],
"type": "brand",
"hostnames": null,
"member_count": 1,
"base_url": "https://irish.rechat.com"
},
"template": "light2",
"attributes": {
"biography": "Foo bar",
"facebook_url": "https://updated_facebook_url",
"new_attribute": "value"
},
"title": "Website Title",
"template_instance": null,
"hostnames": [
"zealous-babbage.undefined"
],
"wid": "dd39cd7c-0fe6-4ca1-932e-497c3996aebd",
"ord": "1"
}
}
Get all user's websites ¶
Get all user's websitesGET/websites
Example URI
GET /websites
Response
200
Body
{
"code": "OK",
"data": [
{
"id": "dd39cd7c-0fe6-4ca1-932e-497c3996aebd",
"type": "website",
"created_at": 1760470151.461364,
"updated_at": 1760470151.462125,
"user": {
"type": "user",
"username": null,
"first_name": "Unit",
"last_name": "Test",
"email": "[email protected]",
"phone_number": "+4368120265807",
"created_at": 1493115498.770362,
"id": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"address_id": null,
"cover_image_url": null,
"profile_image_url": null,
"updated_at": 1760470149.288666,
"user_status": "Active",
"profile_image_thumbnail_url": null,
"cover_image_thumbnail_url": null,
"email_confirmed": true,
"timezone": "America/Chicago",
"user_type": "Agent",
"deleted_at": null,
"phone_confirmed": false,
"is_shadow": false,
"personal_room": null,
"brand": null,
"fake_email": false,
"features": [
"Deals"
],
"last_seen_at": null,
"email_signature": null,
"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,
"current_time": "2:29 PM - Tuesday Oct 14, 2025",
"push_allowed": true,
"agents": [
{
"id": "b6755500-7f39-4b1b-aebf-ef3829a2fc15",
"email": "[email protected]",
"mlsid": "00920130",
"fax": "(972) 264-4703",
"full_name": "Gholi Sweet",
"first_name": "Gholi",
"last_name": "Sweet",
"middle_name": null,
"phone_number": "(972) 264-4703",
"nar_number": "797500044",
"office_mui": "15512742",
"status": "Active",
"office_mlsid": "RCHT01X",
"work_phone": "(469) 358-8080",
"generational_name": null,
"matrix_unique_id": "155155530",
"updated_at": 1760470149.387342,
"deleted_at": null,
"created_at": 1760470149.387342,
"mls": "NTREIS",
"license_number": null,
"designation": null,
"nrds": "01053140",
"type": "agent",
"office_id": null,
"secret_questions": [
"(972) XXX-XX03",
"jewellxxxxxxxxxxxxxal.net",
"(469) XXX-XX80"
]
}
],
"last_seen_type": null,
"active_brand": "80fcc9b1-293b-497d-a8a8-812835b964e4",
"display_name": "Unit Test",
"abbreviated_display_name": "Unit",
"online_state": "Offline",
"has_password": true
},
"brand": {
"id": "80fcc9b1-293b-497d-a8a8-812835b964e4",
"created_at": 1760470150.290219,
"updated_at": 1760470150.290219,
"palette": {
"primary": "red",
"type": "brand_palette"
},
"assets": {
"type": "brand_assets"
},
"messages": {
"type": "brand_messages"
},
"parent": {
"id": "fc61338a-1dfe-4ec6-ac98-c3778242a1eb",
"created_at": 1760470150.240165,
"updated_at": 1760470150.240165,
"palette": {
"primary": "red",
"type": "brand_palette"
},
"assets": {
"type": "brand_assets"
},
"messages": {
"type": "brand_messages"
},
"parent": {
"id": "e34642bc-2fc1-4b7c-a6ab-37c9281b44ae",
"created_at": 1760470149.515764,
"updated_at": 1760470149.515764,
"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": "Parent Brand",
"deleted_at": null,
"training": false,
"brand_type": "Brokerage",
"parents": [
"e34642bc-2fc1-4b7c-a6ab-37c9281b44ae"
],
"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": [
"fc61338a-1dfe-4ec6-ac98-c3778242a1eb",
"e34642bc-2fc1-4b7c-a6ab-37c9281b44ae"
],
"type": "brand",
"hostnames": null,
"member_count": 1,
"base_url": "https://irish.rechat.com"
},
"template": "light",
"attributes": {
"biography": "Foo bar",
"facebook_url": "http://facebook.com/foo"
},
"title": "Website Title",
"template_instance": {
"id": "da819c38-146d-4001-bab9-328bbc34740f",
"created_at": 1760470149.288666,
"html": "SOME HTML",
"file": {
"id": "fd5a8add-1079-4721-b1cc-6083f486247b",
"created_at": 1760470151.385689,
"updated_at": 1760470151.385689,
"deleted_at": null,
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"path": "templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"name": "image.png",
"public": true,
"type": "file",
"url": "https://test.cloudfront.net/templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"preview_url": "https://test.cloudfront.net/templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"mime": "image/png"
},
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"branch": "http://mock-branch-url",
"updated_at": 1760470149.288666,
"deleted_at": null,
"type": "template_instance"
},
"hostnames": [
"zealous-babbage.undefined"
],
"wid": "dd39cd7c-0fe6-4ca1-932e-497c3996aebd",
"ord": "1"
}
],
"info": {
"count": 1,
"total": 0
}
}
Get all brand's websites ¶
Get all brand's websitesGET/brand/:brand/websites
Example URI
GET /brand/:brand/websites
URI Parameters
- brand
string
(required) Example: 80fcc9b1-293b-497d-a8a8-812835b964e4
Response
200
Body
{
"code": "OK",
"data": [
{
"id": "dd39cd7c-0fe6-4ca1-932e-497c3996aebd",
"type": "website",
"created_at": 1760470151.461364,
"updated_at": 1760470151.462125,
"user": {
"type": "user",
"username": null,
"first_name": "Unit",
"last_name": "Test",
"email": "[email protected]",
"phone_number": "+4368120265807",
"created_at": 1493115498.770362,
"id": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"address_id": null,
"cover_image_url": null,
"profile_image_url": null,
"updated_at": 1760470149.288666,
"user_status": "Active",
"profile_image_thumbnail_url": null,
"cover_image_thumbnail_url": null,
"email_confirmed": true,
"timezone": "America/Chicago",
"user_type": "Agent",
"deleted_at": null,
"phone_confirmed": false,
"is_shadow": false,
"personal_room": null,
"brand": null,
"fake_email": false,
"features": [
"Deals"
],
"last_seen_at": null,
"email_signature": null,
"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,
"current_time": "2:29 PM - Tuesday Oct 14, 2025",
"push_allowed": true,
"agents": [
{
"id": "b6755500-7f39-4b1b-aebf-ef3829a2fc15",
"email": "[email protected]",
"mlsid": "00920130",
"fax": "(972) 264-4703",
"full_name": "Gholi Sweet",
"first_name": "Gholi",
"last_name": "Sweet",
"middle_name": null,
"phone_number": "(972) 264-4703",
"nar_number": "797500044",
"office_mui": "15512742",
"status": "Active",
"office_mlsid": "RCHT01X",
"work_phone": "(469) 358-8080",
"generational_name": null,
"matrix_unique_id": "155155530",
"updated_at": 1760470149.387342,
"deleted_at": null,
"created_at": 1760470149.387342,
"mls": "NTREIS",
"license_number": null,
"designation": null,
"nrds": "01053140",
"type": "agent",
"office_id": null,
"secret_questions": [
"(972) XXX-XX03",
"jewellxxxxxxxxxxxxxal.net",
"(469) XXX-XX80"
]
}
],
"last_seen_type": null,
"active_brand": "80fcc9b1-293b-497d-a8a8-812835b964e4",
"display_name": "Unit Test",
"abbreviated_display_name": "Unit",
"online_state": "Offline",
"has_password": true
},
"brand": {
"id": "80fcc9b1-293b-497d-a8a8-812835b964e4",
"created_at": 1760470150.290219,
"updated_at": 1760470150.290219,
"palette": {
"primary": "red",
"type": "brand_palette"
},
"assets": {
"type": "brand_assets"
},
"messages": {
"type": "brand_messages"
},
"parent": {
"id": "fc61338a-1dfe-4ec6-ac98-c3778242a1eb",
"created_at": 1760470150.240165,
"updated_at": 1760470150.240165,
"palette": {
"primary": "red",
"type": "brand_palette"
},
"assets": {
"type": "brand_assets"
},
"messages": {
"type": "brand_messages"
},
"parent": {
"id": "e34642bc-2fc1-4b7c-a6ab-37c9281b44ae",
"created_at": 1760470149.515764,
"updated_at": 1760470149.515764,
"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": "Parent Brand",
"deleted_at": null,
"training": false,
"brand_type": "Brokerage",
"parents": [
"e34642bc-2fc1-4b7c-a6ab-37c9281b44ae"
],
"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": [
"fc61338a-1dfe-4ec6-ac98-c3778242a1eb",
"e34642bc-2fc1-4b7c-a6ab-37c9281b44ae"
],
"type": "brand",
"hostnames": null,
"member_count": 1,
"base_url": "https://irish.rechat.com"
},
"template": "light",
"attributes": {
"biography": "Foo bar",
"facebook_url": "http://facebook.com/foo"
},
"title": "Website Title",
"template_instance": {
"id": "da819c38-146d-4001-bab9-328bbc34740f",
"created_at": 1760470149.288666,
"html": "SOME HTML",
"file": {
"id": "fd5a8add-1079-4721-b1cc-6083f486247b",
"created_at": 1760470151.385689,
"updated_at": 1760470151.385689,
"deleted_at": null,
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"path": "templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"name": "image.png",
"public": true,
"type": "file",
"url": "https://test.cloudfront.net/templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"preview_url": "https://test.cloudfront.net/templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"mime": "image/png"
},
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"branch": "http://mock-branch-url",
"updated_at": 1760470149.288666,
"deleted_at": null,
"type": "template_instance"
},
"hostnames": [
"zealous-babbage.undefined"
],
"wid": "dd39cd7c-0fe6-4ca1-932e-497c3996aebd",
"ord": "1"
}
],
"info": {
"count": 1,
"total": 0
}
}
Add hostname to a website ¶
Add hostname to a websitePOST/websites/:id/hostnames
Example URI
POST /websites/:id/hostnames
URI Parameters
- id
string
(required) Example: dd39cd7c-0fe6-4ca1-932e-497c3996aebd
Request
Body
{
"hostname": "localsite",
"is_default": true,
"website": "dd39cd7c-0fe6-4ca1-932e-497c3996aebd"
}
Response
200
Body
{
"code": "OK",
"data": {
"id": "dd39cd7c-0fe6-4ca1-932e-497c3996aebd",
"type": "website",
"created_at": 1760470151.461364,
"updated_at": 1760470151.462125,
"user": {
"type": "user",
"username": null,
"first_name": "Unit",
"last_name": "Test",
"email": "[email protected]",
"phone_number": "+4368120265807",
"created_at": 1493115498.770362,
"id": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"address_id": null,
"cover_image_url": null,
"profile_image_url": null,
"updated_at": 1760470149.288666,
"user_status": "Active",
"profile_image_thumbnail_url": null,
"cover_image_thumbnail_url": null,
"email_confirmed": true,
"timezone": "America/Chicago",
"user_type": "Agent",
"deleted_at": null,
"phone_confirmed": false,
"is_shadow": false,
"personal_room": null,
"brand": null,
"fake_email": false,
"features": [
"Deals"
],
"last_seen_at": null,
"email_signature": null,
"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,
"current_time": "2:29 PM - Tuesday Oct 14, 2025",
"push_allowed": true,
"agents": [
{
"id": "b6755500-7f39-4b1b-aebf-ef3829a2fc15",
"email": "[email protected]",
"mlsid": "00920130",
"fax": "(972) 264-4703",
"full_name": "Gholi Sweet",
"first_name": "Gholi",
"last_name": "Sweet",
"middle_name": null,
"phone_number": "(972) 264-4703",
"nar_number": "797500044",
"office_mui": "15512742",
"status": "Active",
"office_mlsid": "RCHT01X",
"work_phone": "(469) 358-8080",
"generational_name": null,
"matrix_unique_id": "155155530",
"updated_at": 1760470149.387342,
"deleted_at": null,
"created_at": 1760470149.387342,
"mls": "NTREIS",
"license_number": null,
"designation": null,
"nrds": "01053140",
"type": "agent",
"office_id": null,
"secret_questions": [
"(972) XXX-XX03",
"jewellxxxxxxxxxxxxxal.net",
"(469) XXX-XX80"
]
}
],
"last_seen_type": null,
"active_brand": "80fcc9b1-293b-497d-a8a8-812835b964e4",
"display_name": "Unit Test",
"abbreviated_display_name": "Unit",
"online_state": "Offline",
"has_password": true
},
"brand": {
"id": "80fcc9b1-293b-497d-a8a8-812835b964e4",
"created_at": 1760470150.290219,
"updated_at": 1760470150.290219,
"palette": {
"primary": "red",
"type": "brand_palette"
},
"assets": {
"type": "brand_assets"
},
"messages": {
"type": "brand_messages"
},
"parent": {
"id": "fc61338a-1dfe-4ec6-ac98-c3778242a1eb",
"created_at": 1760470150.240165,
"updated_at": 1760470150.240165,
"palette": {
"primary": "red",
"type": "brand_palette"
},
"assets": {
"type": "brand_assets"
},
"messages": {
"type": "brand_messages"
},
"parent": {
"id": "e34642bc-2fc1-4b7c-a6ab-37c9281b44ae",
"created_at": 1760470149.515764,
"updated_at": 1760470149.515764,
"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": "Parent Brand",
"deleted_at": null,
"training": false,
"brand_type": "Brokerage",
"parents": [
"e34642bc-2fc1-4b7c-a6ab-37c9281b44ae"
],
"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": [
"fc61338a-1dfe-4ec6-ac98-c3778242a1eb",
"e34642bc-2fc1-4b7c-a6ab-37c9281b44ae"
],
"type": "brand",
"hostnames": null,
"member_count": 1,
"base_url": "https://irish.rechat.com"
},
"template": "light",
"attributes": {
"biography": "Foo bar",
"facebook_url": "http://facebook.com/foo"
},
"title": "Website Title",
"template_instance": {
"id": "da819c38-146d-4001-bab9-328bbc34740f",
"created_at": 1760470149.288666,
"html": "SOME HTML",
"file": {
"id": "fd5a8add-1079-4721-b1cc-6083f486247b",
"created_at": 1760470151.385689,
"updated_at": 1760470151.385689,
"deleted_at": null,
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"path": "templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"name": "image.png",
"public": true,
"type": "file",
"url": "https://test.cloudfront.net/templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"preview_url": "https://test.cloudfront.net/templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"mime": "image/png"
},
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"branch": "http://mock-branch-url",
"updated_at": 1760470149.288666,
"deleted_at": null,
"type": "template_instance"
},
"hostnames": [
"localsite",
"zealous-babbage.undefined"
],
"wid": "dd39cd7c-0fe6-4ca1-932e-497c3996aebd",
"ord": "1"
}
}
Delete hostname from a website ¶
Delete hostname from a websiteDELETE/websites/:id/hostnames?hostname=:hostname
Example URI
DELETE /websites/:id/hostnames?hostname=:hostname
URI Parameters
- id
string
(required) Example: dd39cd7c-0fe6-4ca1-932e-497c3996aebd- hostname
string
(required) Example: localsite
Response
200
Body
{
"code": "OK",
"data": {
"id": "dd39cd7c-0fe6-4ca1-932e-497c3996aebd",
"type": "website",
"created_at": 1760470151.461364,
"updated_at": 1760470151.462125,
"user": {
"type": "user",
"username": null,
"first_name": "Unit",
"last_name": "Test",
"email": "[email protected]",
"phone_number": "+4368120265807",
"created_at": 1493115498.770362,
"id": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"address_id": null,
"cover_image_url": null,
"profile_image_url": null,
"updated_at": 1760470149.288666,
"user_status": "Active",
"profile_image_thumbnail_url": null,
"cover_image_thumbnail_url": null,
"email_confirmed": true,
"timezone": "America/Chicago",
"user_type": "Agent",
"deleted_at": null,
"phone_confirmed": false,
"is_shadow": false,
"personal_room": null,
"brand": null,
"fake_email": false,
"features": [
"Deals"
],
"last_seen_at": null,
"email_signature": null,
"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,
"current_time": "2:29 PM - Tuesday Oct 14, 2025",
"push_allowed": true,
"agents": [
{
"id": "b6755500-7f39-4b1b-aebf-ef3829a2fc15",
"email": "[email protected]",
"mlsid": "00920130",
"fax": "(972) 264-4703",
"full_name": "Gholi Sweet",
"first_name": "Gholi",
"last_name": "Sweet",
"middle_name": null,
"phone_number": "(972) 264-4703",
"nar_number": "797500044",
"office_mui": "15512742",
"status": "Active",
"office_mlsid": "RCHT01X",
"work_phone": "(469) 358-8080",
"generational_name": null,
"matrix_unique_id": "155155530",
"updated_at": 1760470149.387342,
"deleted_at": null,
"created_at": 1760470149.387342,
"mls": "NTREIS",
"license_number": null,
"designation": null,
"nrds": "01053140",
"type": "agent",
"office_id": null,
"secret_questions": [
"(972) XXX-XX03",
"jewellxxxxxxxxxxxxxal.net",
"(469) XXX-XX80"
]
}
],
"last_seen_type": null,
"active_brand": "80fcc9b1-293b-497d-a8a8-812835b964e4",
"display_name": "Unit Test",
"abbreviated_display_name": "Unit",
"online_state": "Offline",
"has_password": true
},
"brand": {
"id": "80fcc9b1-293b-497d-a8a8-812835b964e4",
"created_at": 1760470150.290219,
"updated_at": 1760470150.290219,
"palette": {
"primary": "red",
"type": "brand_palette"
},
"assets": {
"type": "brand_assets"
},
"messages": {
"type": "brand_messages"
},
"parent": {
"id": "fc61338a-1dfe-4ec6-ac98-c3778242a1eb",
"created_at": 1760470150.240165,
"updated_at": 1760470150.240165,
"palette": {
"primary": "red",
"type": "brand_palette"
},
"assets": {
"type": "brand_assets"
},
"messages": {
"type": "brand_messages"
},
"parent": {
"id": "e34642bc-2fc1-4b7c-a6ab-37c9281b44ae",
"created_at": 1760470149.515764,
"updated_at": 1760470149.515764,
"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": "Parent Brand",
"deleted_at": null,
"training": false,
"brand_type": "Brokerage",
"parents": [
"e34642bc-2fc1-4b7c-a6ab-37c9281b44ae"
],
"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": [
"fc61338a-1dfe-4ec6-ac98-c3778242a1eb",
"e34642bc-2fc1-4b7c-a6ab-37c9281b44ae"
],
"type": "brand",
"hostnames": null,
"member_count": 1,
"base_url": "https://irish.rechat.com"
},
"template": "light",
"attributes": {
"biography": "Foo bar",
"facebook_url": "http://facebook.com/foo"
},
"title": "Website Title",
"template_instance": {
"id": "da819c38-146d-4001-bab9-328bbc34740f",
"created_at": 1760470149.288666,
"html": "SOME HTML",
"file": {
"id": "fd5a8add-1079-4721-b1cc-6083f486247b",
"created_at": 1760470151.385689,
"updated_at": 1760470151.385689,
"deleted_at": null,
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"path": "templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"name": "image.png",
"public": true,
"type": "file",
"url": "https://test.cloudfront.net/templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"preview_url": "https://test.cloudfront.net/templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"mime": "image/png"
},
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"branch": "http://mock-branch-url",
"updated_at": 1760470149.288666,
"deleted_at": null,
"type": "template_instance"
},
"hostnames": [
"zealous-babbage.undefined"
],
"wid": "dd39cd7c-0fe6-4ca1-932e-497c3996aebd",
"ord": "1"
}
}
Delete a website ¶
Delete a websiteDELETE/websites/:id
Example URI
DELETE /websites/:id
URI Parameters
- id
string
(required) Example: dd39cd7c-0fe6-4ca1-932e-497c3996aebd
Request
Body
{
"user": "80a227b2-29a0-11e7-b636-e4a7a08e15d4"
}
Response
204
Find a website by its hostname ¶
Find a website by its hostnameGET/websites/search?hostname=:hostname
Example URI
GET /websites/search?hostname=:hostname
URI Parameters
- hostname
string
(required) Example: localsite
Response
200
Body
{
"code": "OK",
"data": {
"id": "dd39cd7c-0fe6-4ca1-932e-497c3996aebd",
"type": "website",
"created_at": 1760470151.461364,
"updated_at": 1760470151.462125,
"user": {
"type": "user",
"username": null,
"first_name": "Unit",
"last_name": "Test",
"email": "[email protected]",
"phone_number": "+4368120265807",
"created_at": 1493115498.770362,
"id": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"address_id": null,
"cover_image_url": null,
"profile_image_url": null,
"updated_at": 1760470149.288666,
"user_status": "Active",
"profile_image_thumbnail_url": null,
"cover_image_thumbnail_url": null,
"email_confirmed": true,
"timezone": "America/Chicago",
"user_type": "Agent",
"deleted_at": null,
"phone_confirmed": false,
"is_shadow": false,
"personal_room": null,
"brand": null,
"fake_email": false,
"features": [
"Deals"
],
"last_seen_at": null,
"email_signature": null,
"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,
"current_time": "2:29 PM - Tuesday Oct 14, 2025",
"push_allowed": true,
"agents": [
{
"id": "b6755500-7f39-4b1b-aebf-ef3829a2fc15",
"email": "[email protected]",
"mlsid": "00920130",
"fax": "(972) 264-4703",
"full_name": "Gholi Sweet",
"first_name": "Gholi",
"last_name": "Sweet",
"middle_name": null,
"phone_number": "(972) 264-4703",
"nar_number": "797500044",
"office_mui": "15512742",
"status": "Active",
"office_mlsid": "RCHT01X",
"work_phone": "(469) 358-8080",
"generational_name": null,
"matrix_unique_id": "155155530",
"updated_at": 1760470149.387342,
"deleted_at": null,
"created_at": 1760470149.387342,
"mls": "NTREIS",
"license_number": null,
"designation": null,
"nrds": "01053140",
"type": "agent",
"office_id": null,
"secret_questions": [
"(972) XXX-XX03",
"jewellxxxxxxxxxxxxxal.net",
"(469) XXX-XX80"
]
}
],
"last_seen_type": null,
"active_brand": "80fcc9b1-293b-497d-a8a8-812835b964e4",
"display_name": "Unit Test",
"abbreviated_display_name": "Unit",
"online_state": "Offline",
"has_password": true
},
"brand": {
"id": "80fcc9b1-293b-497d-a8a8-812835b964e4",
"created_at": 1760470150.290219,
"updated_at": 1760470150.290219,
"palette": {
"primary": "red",
"type": "brand_palette"
},
"assets": {
"type": "brand_assets"
},
"messages": {
"type": "brand_messages"
},
"parent": {
"id": "fc61338a-1dfe-4ec6-ac98-c3778242a1eb",
"created_at": 1760470150.240165,
"updated_at": 1760470150.240165,
"palette": {
"primary": "red",
"type": "brand_palette"
},
"assets": {
"type": "brand_assets"
},
"messages": {
"type": "brand_messages"
},
"parent": {
"id": "e34642bc-2fc1-4b7c-a6ab-37c9281b44ae",
"created_at": 1760470149.515764,
"updated_at": 1760470149.515764,
"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": "Parent Brand",
"deleted_at": null,
"training": false,
"brand_type": "Brokerage",
"parents": [
"e34642bc-2fc1-4b7c-a6ab-37c9281b44ae"
],
"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": [
"fc61338a-1dfe-4ec6-ac98-c3778242a1eb",
"e34642bc-2fc1-4b7c-a6ab-37c9281b44ae"
],
"type": "brand",
"hostnames": null,
"member_count": 1,
"base_url": "https://irish.rechat.com"
},
"template": "light",
"attributes": {
"biography": "Foo bar",
"facebook_url": "http://facebook.com/foo"
},
"title": "Website Title",
"template_instance": {
"id": "da819c38-146d-4001-bab9-328bbc34740f",
"created_at": 1760470149.288666,
"html": "SOME HTML",
"file": {
"id": "fd5a8add-1079-4721-b1cc-6083f486247b",
"created_at": 1760470151.385689,
"updated_at": 1760470151.385689,
"deleted_at": null,
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"path": "templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"name": "image.png",
"public": true,
"type": "file",
"url": "https://test.cloudfront.net/templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"preview_url": "https://test.cloudfront.net/templates/instances/0f9d0e70-a934-11f0-bdea-d5cf17ea076e.png",
"mime": "image/png"
},
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"branch": "http://mock-branch-url",
"updated_at": 1760470149.288666,
"deleted_at": null,
"type": "template_instance"
},
"hostnames": [
"localsite",
"zealous-babbage.undefined"
],
"wid": "dd39cd7c-0fe6-4ca1-932e-497c3996aebd",
"ord": "1"
}
}