Add Website to App

Description

You can use this API to add a website to your app.

URL

Copiedhttps://salesiq.zoho.com/api/v2/{screen name}/apps/{app id}/website

Example

Copiedhttps://salesiq.zoho.com/api/v2/zylker-inc/apps/32180000000014001/website

Payload

Copied{
  "website":"www.zylker.com"
}

Success Response

Copied{
  "url": "/api/v2/zylker-inc/apps/51841000003484047/website",
  "object": "website",
  "data": {
    "modified_time": "1525710322367",
    "website": "www.zylker.com",
    "code": "9be1e3a8a198db39a51fc0f5f412ec5a991ae99e5e19614dde099fb6d6f8152f",
    "float": {
      "modified_time": "1525710322367",
      "hide_when_offline": "false",
      "custom_color": {
        "code": "#238de9",
        "is_enabled": "false"
      },
      "gravatar": {
        "file_path": "",
        "is_enabled": "false",
        "file_name": ""
      },
      "font": "default",
      "hide_in_mobile_device": "false",
      "sticker": "1",
      "online_headers": {
        "sub_header": "Chat now",
        "action": "",
        "header": "We are online"
      },
      "color": "#238de9",
      "custom_sticker": {
        "offline": {
          "file_path": "",
          "file_name": "zylker-img20.png"
        },
        "online": {
          "file_path": "",
          "file_name": "zylker-img21.png"
        },
        "is_enabled": "false"
      },
      "position": "bottom_right",
      "offline_headers": {
        "sub_header": "Submit message",
        "action": "",
        "header": "We are offline"
      },
      "show_company_logo": "false"
    },
    "referer": "www.zylker-inc.com",
    "personalised": {
      "modified_time": "1525710322367",
      "hide_when_offline": "false",
      "custom_color": {
        "code": "",
        "is_enabled": "false"
      },
      "font": "default",
      "hide_in_mobile_device": "false",
      "sticker": "1",
      "offline_headers": {
        "sub_header": "Submit message",
        "action": "",
        "header": "We are offline"
      },
      "color": "#238de9",
      "online_headers": {
        "sub_header": "Chat now",
        "action": "",
        "header": "We are online"
      },
      "operators_count": "2"
    },
    "button": {
      "modified_time": "1525710322367",
      "hide_when_offline": "false",
      "custom_color": {
        "code": "",
        "is_enabled": "false"
      },
      "font": "default",
      "hide_in_mobile_device": "false",
      "sticker": "1",
      "online_headers": {
        "sub_header": "Chat now",
        "action": "",
        "header": "We are online"
      },
      "color": "#238de9",
      "custom_sticker": {
        "offline": {
          "file_path": "",
          "file_name": ""
        },
        "online": {
          "file_path": "",
          "file_name": ""
        },
        "is_enabled": "false"
      },
      "offline_headers": {
        "sub_header": "Submit message",
        "action": "",
        "header": "We are offline"
      }
    },
    "created_by": "51841000001522001",
    "faq": {
      "use_default_color": "true",
      "dislike_response": "We're sorry that the article doesn't help you! we will try improvising it.",
      "modified_time": "1525710322367",
      "color": "#238de9",
      "theme": "1",
      "like_response": "Thank you for your feedback, we're happy that the article satisfied your need.",
      "categorize": {
        "order": [
          "department",
          "category"
        ],
        "is_enabled": "true"
      },
      "title": "Resources",
      "show_company_logo": "false",
      "size": "small"
    },
    "components": [],
    "widget_type": "float",
    "allow_in_multiple_websites": "false",
    "created_time": "1525710322367",
    "call": {
      "use_default_color": "true",
      "modified_time": "1525710322367",
      "feedback": {
        "is_enabled": "true",
        "message": "Submit your feedback"
      },
      "show_operator_image": "false",
      "rating": {
        "1_star": "We're sorry for your experience you faced, we will reach you as soon as possible and resolve this.",
        "is_enabled": "true",
        "5_star": "Great! thanks for your feedback.",
        "4_star": "Thank you, please share your feedback on how to improve.",
        "3_star": "Thank you! We'll reach you soon and help out.",
        "2_star": "We're sorry for your experience you faced, we will reach you as soon as possible and resolve this."
      },
      "color": "#238de9",
      "theme": "1",
      "fields": [
        {
          "name": "Name",
          "visibility": "3",
          "maxlength": "30",
          "is_enabled": "true",
          "hint": "Enter your name",
          "index": 0,
          "is_mandatory": "false",
          "type": "text",
          "is_predefined": "true"
        },
        {
          "name": "Email Address",
          "visibility": "3",
          "maxlength": "30",
          "is_enabled": "true",
          "hint": "Enter your email",
          "index": 1,
          "is_mandatory": "false",
          "type": "text",
          "is_predefined": "true"
        },
        {
          "name": "Phone",
          "visibility": "3",
          "maxlength": "30",
          "is_enabled": "true",
          "hint": "Enter your phone number",
          "index": 2,
          "is_mandatory": "false",
          "type": "text",
          "is_predefined": "true"
        }
      ],
      "agents_busy": {
        "response": "Thanks for your message, We'll get back to you shortly",
        "message": "All our operaters are busy, please leave us a message and we'll get back shortly."
      },
      "show_company_logo": "false"
    },
    "chat": {
      "feedback": {
        "is_enabled": "true",
        "message": "Submit your valuable feedback"
      },
      "show_company_logo": "false",
      "custom_css": {
        "url": "",
        "is_enabled": "false",
        "file_name": "File name like img_20_02_18"
      },
      "allow_visitors_to_share_screen": "true",
      "show_operator_image": "false",
      "waiting_message": "Please wait while our support executive will attend you shortly.",
      "modified_time": "1525710322367",
      "show_emojis": "true",
      "greeting_message": "Welcome to Zylker",
      "allow_bot": "false",
      "agents_offline": {
        "response": "Thanks for your message, We'll get back to you shortly",
        "message": "All our operaters are offline, please leave us a message and we'll get back shortly."
      },
      "thanking_message": "Thanking Message to visitor",
      "allow_visitors_to_view_conversation": "true",
      "rating": {
        "1_star": "We're sorry for your experience you faced, we will reach you as soon as possible and resolve this.",
        "is_enabled": "true",
        "5_star": "Great! thanks for your feedback.",
        "4_star": "Thank you, please share your feedback on how to improve.",
        "3_star": "Thank you! We'll reach you soon and help out.",
        "2_star": "We're sorry for your experience you faced, we will reach you as soon as possible and resolve this."
      },
      "agents_busy": {
        "response": "Thanks for your message, We'll get back to you shortly",
        "message": "All our operaters are busy, please leave us a message and we'll get back shortly."
      },
      "use_default_color": "true",
      "allow_visitors_to_share_file": "true",
      "size": "small",
      "fields": [
        {
          "name": "Name",
          "visibility": "3",
          "maxlength": "30",
          "is_enabled": "true",
          "hint": "Enter your name",
          "index": 0,
          "is_mandatory": "false",
          "type": "text",
          "is_predefined": "true"
        },
        {
          "name": "Email Address",
          "visibility": "3",
          "maxlength": "30",
          "is_enabled": "true",
          "hint": "Enter your email",
          "index": 1,
          "is_mandatory": "false",
          "type": "text",
          "is_predefined": "true"
        },
        {
          "name": "Phone",
          "visibility": "3",
          "maxlength": "30",
          "is_enabled": "true",
          "hint": "Enter your phone number",
          "index": 2,
          "is_mandatory": "false",
          "type": "text",
          "is_predefined": "true"
        }
      ],
      "language": "default",
      "color": "#238de9",
      "agents_engaged": {
        "response": "Thanks for your message, We'll get back to you shortly",
        "message": "All our operaters are engaged, please leave us a message and we'll get back shortly."
      },
      "allow_visitors_to_print": "true",
      "theme": "1",
      "allow_visitors_to_mute_sound": "true",
      "allow_visitors_to_mail_transcript": "true"
    }
  }
}