{"info":{"_postman_id":"c2d789a4-be12-4564-a7b2-e2a02c39b559","name":"Transaksi.Email","description":"<html><head></head><body><p>StartFragment</p>\n<p>Welcome to KREDIT's Web API. The API lets you manage messages on the KREDIT platform.</p>\n<p>Before you start work on our API, you must have access to the KRREDIT platform and the API key.</p>\n<p>EndFragment</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"23706886","collectionId":"c2d789a4-be12-4564-a7b2-e2a02c39b559","publishedId":"2s83zduQqR","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-10-05T03:42:43.000Z"},"item":[{"name":"Getting Started","item":[{"name":"Authentication","item":[],"id":"1db115f6-3837-48d7-8ba5-962704fa1c7f","description":"<p>KIRIM.EMAIL Transactional APIs are secured using API keys. You can the API key from the smtp domain page. Once you have the API key, you must use it as a password parameter on basic auth method. For username you can use one of the login on smtp credentials page.</p>\n","_postman_id":"1db115f6-3837-48d7-8ba5-962704fa1c7f"},{"name":"Resource Methods","item":[],"id":"72ffe43e-bd09-459a-bbd2-ec3172b5b3c5","description":"<p>KIRIM's REST APIs support the following methods:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Operation</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>GET</code></td>\n<td>Retrieve resource information</td>\n</tr>\n<tr>\n<td><code>POST</code></td>\n<td>Creates a new resource</td>\n</tr>\n<tr>\n<td><code>PUT</code></td>\n<td>Inserts or replaces a resource</td>\n</tr>\n<tr>\n<td><code>DELETE</code></td>\n<td>Deletes a resource</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"72ffe43e-bd09-459a-bbd2-ec3172b5b3c5"},{"name":"Status Codes","item":[],"id":"6865a7f7-78ab-47fd-9c0a-1bf1714a716b","description":"<p>When you call any of the KIRIM's REST resources, the Response header returns one of the standard HTTP status codes defined in the following table.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>HTTP Status Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>200 OK</code></td>\n<td>The request was successfully completed. A <code>200</code> status is returned for a successful <code>GET</code> or <code>POST</code> method.</td>\n</tr>\n<tr>\n<td><code>201 Created</code></td>\n<td>The request has been fulfilled and resulted in a new resource being created. The response includes a Location header containing the canonical URI for the newly created resource. A <code>201</code> status is returned from a synchronous resource creation or an asynchronous resource creation that completed before the response was returned.</td>\n</tr>\n<tr>\n<td><code>400 Bad Request</code></td>\n<td>The request could not be processed because it contains missing or invalid information (such as a validation error on an input field or a missing required value).</td>\n</tr>\n<tr>\n<td><code>401 Unauthorized</code></td>\n<td>The request is not authorized. The authentication credentials included with this request are missing or invalid.</td>\n</tr>\n<tr>\n<td><code>403 Forbidden</code></td>\n<td>The user cannot be authenticated. The user does not have authorization to perform this request.</td>\n</tr>\n<tr>\n<td><code>404 Not Found</code></td>\n<td>The request includes a resource URI that does not exist.</td>\n</tr>\n<tr>\n<td><code>409 Conflict</code></td>\n<td>The request could not be completed due to a conflict with the current state of the resource. Either the version number does not match, or a duplicate resource was requested.</td>\n</tr>\n<tr>\n<td><code>500 Internal Server Error</code></td>\n<td>The server encountered an unexpected condition that prevented it from fulfilling the request.</td>\n</tr>\n<tr>\n<td><code>503 Service Unavailable</code></td>\n<td>The server is unable to handle the request due to temporary overloading or maintenance of the server. The REST web application is not currently running.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"6865a7f7-78ab-47fd-9c0a-1bf1714a716b"},{"name":"Supported Query Parameters","item":[],"id":"a5e9ef2a-14d7-4d1b-9b93-ec95599a66aa","description":"<p>KIRIM APIs let you sort and filder collections using query parameters. Querying a REST resource is easy: you simply need to know how to talk to your web server to get back the response you want.</p>\n<p>You can use the following query parameters to customize the response.</p>\n<ul>\n<li><code>q</code> Query Parameter: You can use the <code>q</code> parameter to query and filter a collection resource.</li>\n<li><code>finder</code> parameter: You can use the <code>finder</code> parameter supported by a resource to query records.</li>\n<li><code>sort</code> parameter: You can use the sort parameter to specify a different property to sort by.</li>\n<li>Pagination parameters:<ul>\n<li><code>limit</code> . Sets the page size.</li>\n<li><code>offset</code>. Determines the record number from which to start retrieval.</li>\n<li><code>totalResults</code>. Displays the total number of results.</li>\n</ul>\n</li>\n</ul>\n","_postman_id":"a5e9ef2a-14d7-4d1b-9b93-ec95599a66aa"}],"id":"5a5db3d2-6a18-4063-a99f-33cebc523aa4","description":"<p>You can review the content in the Getting Started section to understand how you can easily use KIRIM's REST APIs:</p>\n<ul>\n<li><a href=\"#authetication\">Authentication</a></li>\n<li><a href=\"#resource-methods\">Resource Methods</a></li>\n<li><a href=\"#status-codes\">Status Codes</a></li>\n<li><a href=\"#supported-query-parameters\">Supported Query Parameters</a></li>\n</ul>\n","_postman_id":"5a5db3d2-6a18-4063-a99f-33cebc523aa4"},{"name":"Messages","item":[{"name":"Send Message","id":"2976d779-f79a-47a2-bc5f-56720545e4b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"domain","value":"","description":"<p>Registered domain</p>\n","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"from","value":"","description":"<p>Registered sender from SMTP credentials</p>\n","type":"text"},{"key":"to","value":"","description":"<p>Recipient</p>\n","type":"text"},{"key":"subject","value":"","description":"<p>Subject</p>\n","type":"text"},{"key":"text","value":"","description":"<p>Text</p>\n","type":"text"},{"key":"html","value":"","description":"<p>HTML</p>\n","type":"text"},{"key":"tags","value":"","description":"<p>Tags (Optional)</p>\n","type":"text"},{"key":"headers[Reply-To]","value":"","description":"<p>additionals headers(optional), in array format</p>\n","type":"text"},{"key":"from_name","value":"","description":"<p>optional</p>\n","type":"default"}]},"url":"https://aplikasi.kirim.email/api/v3/transactional/messages","description":"<p>This method lets you send a message. You must enter the username and password for authorization to send the message.</p>\n","urlObject":{"protocol":"https","path":["api","v3","transactional","messages"],"host":["aplikasi","kirim","email"],"query":[],"variable":[]}},"response":[],"_postman_id":"2976d779-f79a-47a2-bc5f-56720545e4b4"}],"id":"8ae90d7b-7eaf-4bbd-a34e-73d2ed2d18ac","description":"<p>The Messages methods let you manage messages that you want to send to subscribers.</p>\n","_postman_id":"8ae90d7b-7eaf-4bbd-a34e-73d2ed2d18ac"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"05590a43-24c9-4dff-903d-22ec2373929b"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"ba740ca1-958d-4d8d-9cab-d1e40903a8b3"}}]}