{"id":3767,"date":"2023-08-31T08:39:50","date_gmt":"2023-08-31T07:39:50","guid":{"rendered":"https:\/\/help.expertsender.com\/?post_type=es&#038;p=3767"},"modified":"2024-03-19T13:24:40","modified_gmt":"2024-03-19T12:24:40","slug":"status-codes","status":"publish","type":"es","link":"https:\/\/help.expertsender.com\/pl\/emp\/api\/status-codes\/","title":{"rendered":"Status codes"},"content":{"rendered":"\n<p>ExpertSender REST API follows RESTful principles and uses HTTP response code to indicate operation result. Following codes can be returned, depending on method and manipulated resource:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>HTTP response code<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td>200<\/td><td>OK. Requested data was returned.<\/td><\/tr><tr><td>201<\/td><td>Created. Indicates that resource was successfully created\/updated or that specified action was performed. Response body may be sent if method returns useful data (e.g. identifier of created object).<\/td><\/tr><tr><td>204<\/td><td>No content. Indicates that request was successfully processed but no response body is sent. Used for delete methods.<\/td><\/tr><tr><td>400<\/td><td>Supplied data\/URL parameters were invalid or incomplete. Detailed information is sent in response body (XML data).<\/td><\/tr><tr><td>403<\/td><td>API key was invalid.<\/td><\/tr><tr><td>404<\/td><td>Resource not found\/no resources to delete.<\/td><\/tr><tr><td>500<\/td><td>Internal server error.<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"author":5,"featured_media":0,"parent":3551,"menu_order":334,"template":"","format":"standard","emp-category":[],"class_list":["post-3767","es","type-es","status-publish","format-standard","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/es\/3767","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\/5"}],"version-history":[{"count":1,"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/es\/3767\/revisions"}],"predecessor-version":[{"id":3768,"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/es\/3767\/revisions\/3768"}],"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=3767"}],"wp:term":[{"taxonomy":"emp-category","embeddable":true,"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/emp-category?post=3767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}