{"id":11391,"date":"2024-08-05T12:33:11","date_gmt":"2024-08-05T11:33:11","guid":{"rendered":"https:\/\/help.expertsender.com\/?post_type=es&#038;p=11391"},"modified":"2025-10-03T12:35:25","modified_gmt":"2025-10-03T11:35:25","slug":"create-message","status":"publish","type":"es","link":"https:\/\/help.expertsender.com\/pl\/emp\/api\/create-message\/","title":{"rendered":"Create message"},"content":{"rendered":"\n<p>Messages collection allows creating and saving as draft messages, using HTTP POST method.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.4soboycmiw0g_l\"><strong>Request data format<\/strong><a href=\"https:\/\/help.expertsender.com\/emp\/api\/methods\/email-messages\/create-and-send-newsletter\/#h.4soboycmiw0g_l\"><\/a><\/h3>\n\n\n\n<p>Data part of request for creating a new message.<\/p>\n\n\n\n<p>Data element children:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Element\/attribute<\/strong><\/td><td><strong>Type<\/strong><\/td><td><strong>Notes<\/strong><\/td><\/tr><tr><td>MessageType<\/td><td>string<\/td><td>Required. Possible message types :<br>Newsletter<br>Autoresponder<br>Trigger<br>Transactional<br>Recurring<br>WorkflowMessage<\/td><\/tr><tr><td>Content<\/td><td>complex<\/td><td>Content information. Required.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Content element children:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Element\/attribute<\/th><th>Type<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td>FromName<\/td><td>string<\/td><td>String put into \u201cFrom:\u201d header. <\/td><\/tr><tr><td>FromEmail<\/td><td>string<\/td><td>Email put into \u201cFrom:\u201d header.<\/td><\/tr><tr><td>ReplyToName<\/td><td>string<\/td><td>String put into \u201cReply-To:\u201d header.<\/td><\/tr><tr><td>ReplyToEmail<\/td><td>string<\/td><td>Email put into \u201cReply-To:\u201d header.<\/td><\/tr><tr><td>Subject<\/td><td>string<\/td><td>Message subject.<\/td><\/tr><tr><td>Html<\/td><td>string<\/td><td>HTML content of message. The data should be enclosed in CDATA section for XML transport. See examples. Optional.*<\/td><\/tr><tr><td>Plain<\/td><td>string<\/td><td>Plain text content of message. Optional.*<\/td><\/tr><tr><td>AmpHtml<\/td><td>string<\/td><td>AMP HTML content of message. The data should be enclosed in CDATA section for XML transport. See examples. Optional.*<\/td><\/tr><tr><td>Preheader<\/td><td>string&nbsp;<\/td><td>Message preheader. Optional.<\/td><\/tr><tr><td>Header<\/td><td>integer<\/td><td>ID of header template to use. Optional.<\/td><\/tr><tr><td>Footer<\/td><td>integer<\/td><td>ID of footer template to use. Optional.<\/td><\/tr><tr><td>ContentFromUrl<\/td><td>complex<\/td><td>Used if content is not inside XML request but has to be downloaded from external source. Optional.*<\/td><\/tr><tr><td>GoogleAnalyticsTags<\/td><td>complex<\/td><td>Google Analytics tags used to decorate links inside message&#8217;s content. Optional. If omitted, Google Analytics will be disabled for created message.<\/td><\/tr><tr><td>CustomUtms<\/td><td>array[complex]<\/td><td>Array of CustomUtm elements used to add custom information to URLs in the message. Optional.<\/td><\/tr><tr><td>Tags<\/td><td>array[string]<\/td><td>List of tags used to mark the message for convenience reasons. Optional.<\/td><\/tr><tr><td>Attachments<\/td><td>complex<\/td><td>Collection of &#8220;Attachment&#8221; elements, containing additional attachment data (e.g. encoded PDF files sent with the message). Optional.**<\/td><\/tr><tr><td>UrlIntegrations<\/td><td>complex<\/td><td>List of IDs of URL integrations that were created in Business unit settings. Optional.<\/td><\/tr><tr><td>EnableClickTrack<\/td><td>boolean<\/td><td>If set to \u201cfalse\u201d, clicks won\u2019t be tracked. By default set to \u201ctrue\u201d. Optional.<\/td><\/tr><tr><td>EnableOpenTrack<\/td><td>boolean<\/td><td>If set to \u201cfalse\u201d, opens won\u2019t be tracked. By default set to \u201ctrue\u201d. Optional.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>* You may either put content of message inside using Html, Plain and\/or AmpHtml elements or specify that content is to be downloaded from external source (such as webpage or FTP server as zipped file with HTML and images) using ContentFromUrl element. If content was not found in either place, an error message will be returned. If there are more than one Html, Plain and\/or AmpHtml files only the last file will be the content of message. If you would like to send AMP Html you should provide Html and\/or Plain as a fallback version of email.<\/p>\n\n\n\n<p>AMP Html content must contain all needed elements (see examples) and all links must be secure links (like https:\/\/)<\/p>\n\n\n\n<p>** It is not possible to have both ContentFromUrl and Attachments elements at the same time.<\/p>\n\n\n\n<p>Note: If you wish to send inline images within your message, using ContentFromUrl method is the only way to do it.<\/p>\n\n\n\n<p>ContentFromUrl element children:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Element\/attribute<\/th><th>Type<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td>Url<\/td><td>string<\/td><td>URL address of imported file. Supported protocols are HTTP, HTTPS, FTP, FTPS and SFTP. E.g. ftp:\/\/www.domain.com\/mycreative.zip<\/td><\/tr><tr><td>Username<\/td><td>string<\/td><td>Username used for authentication. Optional.<\/td><\/tr><tr><td>Password<\/td><td>string<\/td><td>Password used for authentication. Optional.<\/td><\/tr><tr><td>FtpAuth<\/td><td>string<\/td><td>Authentication method for secure FTP servers. Optional. Valid values are:<br>None &#8211; FTP server does not support secure authentication (default)<br>ExplicitTls &#8211; Explicit TLS\/SSL authentication<br>ExplicitSsl &#8211; Explicit SSL only authentication<br>ImplicitSsl &#8211; Implicit SSL authentication<\/td><\/tr><tr><td>FtpUseActiveMode<\/td><td>boolean<\/td><td>If set to &#8220;true&#8221;, active mode will be used for FTP connections. Default value is &#8220;false&#8221; &#8211; passive connection mode will be used.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>GoogleAnalyticsTags element children:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Element\/attribute<\/th><th>Type<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td>Campaign<\/td><td>string<\/td><td>Google Analytics tag &#8220;utm_campaign&#8221;. Optional.<\/td><\/tr><tr><td>Source<\/td><td>string<\/td><td>Google Analytics tag &#8220;utm_source&#8221;. Optional.<\/td><\/tr><tr><td>Content<\/td><td>string<\/td><td>Google Analytics tag &#8220;utm_content&#8221;. Optional.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Note: The remaining tag, &#8220;utm_medium&#8221; is by default specified as &#8220;Email&#8221;.<\/p>\n\n\n\n<p>CustomUtms element children:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Element\/attribute<\/th><th>Type<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td>Name<\/td><td>string<\/td><td>The name of the custom UTM parameter. Maximum length: 255 characters. The name cannot be empty and must be unique.<br>Do not reuse names already reserved by Google Analytics (e.g., utm_source, utm_medium, utm_campaign, utm_term, utm_content).<\/td><\/tr><tr><td>Value<\/td><td>string<\/td><td>The value assigned to the UTM parameter. Maximum length: 255 characters. The value cannot be empty.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Attachment element children:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Element\/attribute<\/th><th>Type<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td>FileName<\/td><td>string<\/td><td>Attachment filename. E.g. &#8220;infosheet.pdf&#8221;. Should be unique (no 2 attachments should have the same filename). Required.<\/td><\/tr><tr><td>MimeType<\/td><td>string<\/td><td>File type according to MIME standards. E.g. &#8220;application\/pdf&#8221;. If omitted, default MIME type will be used: &#8220;application\/octet-stream&#8221;. Optional. MIME type can affect how email attachments are treated in different email clients, so it is advisable to always specify the correct type.*<\/td><\/tr><tr><td>Content<\/td><td>string<\/td><td>Attachment file content. Must be Base64 encoded.** See example requests. Required.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>* Note: For list of MIME types for different files, see: <a href=\"http:\/\/www.google.com\/url?q=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FInternet_media_type&amp;sa=D&amp;sntz=1&amp;usg=AOvVaw2IQ3lNeWlnYGvNWS0CWAkt\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/en.wikipedia.org\/wiki\/Internet_media_type<\/a><br>** Note: Binary to Base64 encoding is available in most programming languages. For more information about Base64 encoding, see: http:\/\/en.wikipedia.org\/wiki\/Base64<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#babed8;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#babed8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>POST https:\/\/api.esv2.com\/v2\/Api\/Messages<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-palenight\" style=\"background-color: #292D3E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #BABED8\">POST https:\/\/api.esv2.com\/v2\/Api\/Messages<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.8t5rznm3edtz_l\"><strong>Response<\/strong><a href=\"https:\/\/help.expertsender.com\/emp\/api\/methods\/email-messages\/create-and-send-newsletter\/#h.8t5rznm3edtz_l\"><\/a><\/h3>\n\n\n\n<p>Method returns ID of created message. ID can be used to retrieve message statistics (see \/Api\/MessageStatistics).<\/p>\n\n\n\n<p>Response Data element:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Element\/attribute<\/strong><\/td><td><strong>Type<\/strong><\/td><td><strong>Notes<\/strong><\/td><\/tr><tr><td>(Data element content)<\/td><td>int<\/td><td>ID of created message.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.pj1i1idaey73_l\"><strong>Examples<\/strong><a href=\"https:\/\/help.expertsender.com\/emp\/api\/methods\/email-messages\/create-and-send-newsletter\/#h.pj1i1idaey73_l\"><\/a><\/h3>\n\n\n\n<p><strong>Sending a simple newsletter<\/strong><\/p>\n\n\n\n<p>Request:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#babed8;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#babed8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>POST https:\/\/api.esv2.com\/v2\/Api\/Messages HTTP\/1.1 \nAccept-Encoding: gzip,deflate \nContent-Type: text\/xml;charset=UTF-8 \nUser-Agent: Jakarta Commons-HttpClient\/3.1 \nHost: api.esv2.com \nContent-Length: 457 \n\n &lt;ApiRequest xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:xs=\"http:\/\/www.w3.org\/2001\/XMLSchema\">\n   &lt;ApiKey>2OAEcpz0Rwv3Mhc9nTQK&lt;\/ApiKey>\n  &lt;Data>\n     &lt;MessageType>Autoresponder&lt;\/MessageType>\n     &lt;Content>\n       &lt;FromName>booyah&lt;\/FromName>\n       &lt;FromEmail>test@test.com&lt;\/FromEmail>\n       &lt;Subject>test draft\u00f3w przez API&lt;\/Subject>\n       &lt;Plain>Hello friend, how are you?&lt;\/Plain>\n     &lt;\/Content>\n   &lt;\/Data>\n &lt;\/ApiRequest><\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-palenight\" style=\"background-color: #292D3E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #BABED8\">POST https:\/\/api.esv2.com\/v2\/Api\/Messages HTTP\/1.1 <\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">Accept-Encoding: gzip,deflate <\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">Content-Type: text\/xml;charset=UTF-8 <\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">User-Agent: Jakarta Commons-HttpClient\/3.1 <\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">Host: api.esv2.com <\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">Content-Length: 457 <\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\"> <\/span><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #F07178\">ApiRequest<\/span><span style=\"color: #89DDFF\"> <\/span><span style=\"color: #C792EA\">xmlns<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #C792EA\">xsi<\/span><span style=\"color: #89DDFF\">=<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">http:\/\/www.w3.org\/2001\/XMLSchema-instance<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\"> <\/span><span style=\"color: #C792EA\">xmlns<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #C792EA\">xs<\/span><span style=\"color: #89DDFF\">=<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">http:\/\/www.w3.org\/2001\/XMLSchema<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">   <\/span><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #F07178\">ApiKey<\/span><span style=\"color: #89DDFF\">&gt;<\/span><span style=\"color: #BABED8\">2OAEcpz0Rwv3Mhc9nTQK<\/span><span style=\"color: #89DDFF\">&lt;\/<\/span><span style=\"color: #F07178\">ApiKey<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">  <\/span><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #F07178\">Data<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">     <\/span><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #F07178\">MessageType<\/span><span style=\"color: #89DDFF\">&gt;<\/span><span style=\"color: #BABED8\">Autoresponder<\/span><span style=\"color: #89DDFF\">&lt;\/<\/span><span style=\"color: #F07178\">MessageType<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">     <\/span><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #F07178\">Content<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">       <\/span><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #F07178\">FromName<\/span><span style=\"color: #89DDFF\">&gt;<\/span><span style=\"color: #BABED8\">booyah<\/span><span style=\"color: #89DDFF\">&lt;\/<\/span><span style=\"color: #F07178\">FromName<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">       <\/span><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #F07178\">FromEmail<\/span><span style=\"color: #89DDFF\">&gt;<\/span><span style=\"color: #BABED8\">test@test.com<\/span><span style=\"color: #89DDFF\">&lt;\/<\/span><span style=\"color: #F07178\">FromEmail<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">       <\/span><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #F07178\">Subject<\/span><span style=\"color: #89DDFF\">&gt;<\/span><span style=\"color: #BABED8\">test draft\u00f3w przez API<\/span><span style=\"color: #89DDFF\">&lt;\/<\/span><span style=\"color: #F07178\">Subject<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">       <\/span><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #F07178\">Plain<\/span><span style=\"color: #89DDFF\">&gt;<\/span><span style=\"color: #BABED8\">Hello friend, how are you?<\/span><span style=\"color: #89DDFF\">&lt;\/<\/span><span style=\"color: #F07178\">Plain<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">     <\/span><span style=\"color: #89DDFF\">&lt;\/<\/span><span style=\"color: #F07178\">Content<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">   <\/span><span style=\"color: #89DDFF\">&lt;\/<\/span><span style=\"color: #F07178\">Data<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\"> <\/span><span style=\"color: #89DDFF\">&lt;\/<\/span><span style=\"color: #F07178\">ApiRequest<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Response:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#babed8;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#babed8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>HTTP\/1.1 201 Created \nCache-Control: private \nContent-Type: text\/xml; charset=utf-8 \nServer: Microsoft-IIS\/7.5 \nX-AspNetMvc-Version: 3.0 \nX-AspNet-Version: 4.0.30319 \nX-Powered-By: ASP.NET \nDate: Tue, 27 Mar 2012 13:28:01 GMT \nContent-Length: 149  \n\n &lt;ApiResponse xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\">\n   &lt;Data>1498&lt;\/Data>\n &lt;\/ApiResponse><\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-palenight\" style=\"background-color: #292D3E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #BABED8\">HTTP\/1.1 201 Created <\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">Cache-Control: private <\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">Content-Type: text\/xml; charset=utf-8 <\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">Server: Microsoft-IIS\/7.5 <\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">X-AspNetMvc-Version: 3.0 <\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">X-AspNet-Version: 4.0.30319 <\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">X-Powered-By: ASP.NET <\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">Date: Tue, 27 Mar 2012 13:28:01 GMT <\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">Content-Length: 149  <\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\"> <\/span><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #F07178\">ApiResponse<\/span><span style=\"color: #89DDFF\"> <\/span><span style=\"color: #C792EA\">xmlns<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #C792EA\">xsd<\/span><span style=\"color: #89DDFF\">=<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">http:\/\/www.w3.org\/2001\/XMLSchema<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\"> <\/span><span style=\"color: #C792EA\">xmlns<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #C792EA\">xsi<\/span><span style=\"color: #89DDFF\">=<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">http:\/\/www.w3.org\/2001\/XMLSchema-instance<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\">   <\/span><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #F07178\">Data<\/span><span style=\"color: #89DDFF\">&gt;<\/span><span style=\"color: #BABED8\">1498<\/span><span style=\"color: #89DDFF\">&lt;\/<\/span><span style=\"color: #F07178\">Data<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BABED8\"> <\/span><span style=\"color: #89DDFF\">&lt;\/<\/span><span style=\"color: #F07178\">ApiResponse<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n","protected":false},"author":13,"featured_media":0,"parent":3551,"menu_order":0,"template":"","format":"standard","emp-category":[],"class_list":["post-11391","es","type-es","status-publish","format-standard","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/es\/11391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/es"}],"about":[{"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/types\/es"}],"author":[{"embeddable":true,"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/users\/13"}],"version-history":[{"count":5,"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/es\/11391\/revisions"}],"predecessor-version":[{"id":15605,"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/es\/11391\/revisions\/15605"}],"up":[{"embeddable":true,"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/es\/3551"}],"wp:attachment":[{"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/media?parent=11391"}],"wp:term":[{"taxonomy":"emp-category","embeddable":true,"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/emp-category?post=11391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}