{"Status":true,"Message":"","Response":{"post":{"postuid":"c70723a5-eef8-492e-a8b9-f90e506a1a47","tenantuid":"d8b744fc-2e70-4089-bb80-dd1d08f6c7b2","projectuid":"542e5f51-33cf-401f-aebe-4324ebe36fe4","title":"API Conventions","slug":"docs/api-conventions","html":"\u003Cp\u003EThe DailyStory API enables developers to create their own custom features and integrations by providing them programmatic access to their DailyStory data and functionality.\u003C/p\u003E\u003Cp\u003EWe\u0027ve created well-defined conventions to make integrations against our API an intuitive and simple experience for our users.\u003C/p\u003E\u003Ch2 id=\u0022standard_json_responsea_hrefhttpsdevdailystorycomdocsapiconventionsstandardjsonresponsea\u0022\u003EStandard JSON Response\u003Ca href=\u0022https://dev.dailystory.com/docs/api-conventions#standard-json-response\u0022\u003E\u003C/a\u003E\u003C/h2\u003E\u003Cp\u003EWith the exception of a few APIs, such as\u0026nbsp;\u003Ca target=\u0022_self\u0022 href=\u0022https://dev.dailystory.com/reference/about\u0022\u003EAbout\u003C/a\u003E, every API will always respond with a standard JSON format in addition to HTTP status codes to indicate success/failure.\u003C/p\u003E\u003Cdiv class=\u0022code_wrapper\u0022\u003E\u003Cdiv class=\u0022code\u0022 data-language=\u0022json\u0022\u003E{\r\n  \u0026quot;Status\u0026quot;: true,\r\n  \u0026quot;Message\u0026quot;: \u0026quot;\u0026quot;,\r\n  \u0026quot;Response\u0026quot;: {}\r\n}\u003C/div\u003E\u003C/div\u003E\u003Cp\u003EThe\u0026nbsp;\u003Ccode\u003EStatus\u003C/code\u003E\u0026nbsp;returns either true or false and is a global indicator of the success of the message. While the HTTP status code also indicates success, different status codes will be returned based on the behavior and/or error.\u0026nbsp;\u003Ccode\u003EStatus\u003C/code\u003E\u0026nbsp;provides a simple way developers can check if their API call completed successfully or failed.\u003C/p\u003E\u003Cp\u003EThe\u0026nbsp;\u003Ccode\u003EMessage\u003C/code\u003E\u0026nbsp;provides a human readable message and is typically only set when there is an error. For HTTP 4XX exceptions that occur, the\u0026nbsp;\u003Ccode\u003EMessage\u003C/code\u003E\u0026nbsp;provides a more detailed description. Such as posting a new contact and neglecting to include either a DailyStory Id, mobile number, or email address.\u003C/p\u003E\u003Cp\u003EThe\u0026nbsp;\u003Ccode\u003EResponse\u003C/code\u003E\u0026nbsp;provides one or more key/object pairs expected from the request.\u003C/p\u003E\u003Cp\u003EFor example, requesting the\u0026nbsp;\u003Ca target=\u0022_self\u0022 href=\u0022/article/get-all-campaigns\u0022\u003ECampaigns GET endpoint\u003C/a\u003E\u0026nbsp;returns a\u0026nbsp;\u003Ccode\u003Ecampaigns\u003C/code\u003E\u0026nbsp;key in the response containing an array of campaign objects.\u003C/p\u003E","publish_status":0,"post_type":"Article","authoruid":"3dde8c16-763a-4a2b-ae0b-1d8c50c62e3d","author":{"authoruid":"3dde8c16-763a-4a2b-ae0b-1d8c50c62e3d"},"featured_image_updating":false,"meta_description":"The DailyStory API allows our users to create their own custom features and integrations by providing them programmatic access to their DailyStory data and functionality. We\u0027ve created well-defined conventions to make integrations against our API an intuitive and simple experience for our users. Standard Json Response With the exception of the\u0026nbsp; About \u0026nbsp;API, every API will always respond in a standard format with HTTP status codes indicating whether or not the request processed succe ...","display_toc":true,"has_workingcopy":false,"allow_indexing":true,"sort_order":1,"total_views":944,"date_published":"2025-09-22T18:42:23.353","date_updated":"2025-09-24T14:02:35.19","date_created":"2025-09-22T18:29:36.303"}}}