{ "opencollection": "1.0.0", "info": { "name": "Hilos Contact WhatsApp API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "WhatsApp", "type": "folder" }, "items": [ { "info": { "name": "List WhatsApp Templates", "type": "http" }, "http": { "method": "GET", "url": "https://api.hilos.io/api/channels/whatsapp/template", "params": [ { "name": "category", "value": "", "type": "query" }, { "name": "category__in", "value": "", "type": "query", "description": "Multiple values may be separated by commas." }, { "name": "channel", "value": "", "type": "query" }, { "name": "channel__in", "value": "", "type": "query", "description": "Multiple values may be separated by commas." }, { "name": "ordering", "value": "", "type": "query", "description": "Which field to use when ordering the results." }, { "name": "page", "value": "", "type": "query", "description": "A page number within the paginated result set." }, { "name": "page_size", "value": "", "type": "query", "description": "Number of results to return per page." }, { "name": "search", "value": "", "type": "query", "description": "A search term." }, { "name": "status", "value": "", "type": "query" }, { "name": "status__in", "value": "", "type": "query", "description": "Multiple values may be separated by commas." } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Lists WhatsApp Templates. You can search with the `name` and `status` fields using the `?seach=my-template-name` query parameter." }, { "info": { "name": "Get WhatsApp Template", "type": "http" }, "http": { "method": "GET", "url": "https://api.hilos.io/api/channels/whatsapp/template/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Gets a WhatsApp Template by Id." }, { "info": { "name": "Delete WhatsApp Template", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.hilos.io/api/channels/whatsapp/template/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Deletes a WhatsApp Template by Id." }, { "info": { "name": "Send a WhatsApp Template", "type": "http" }, "http": { "method": "POST", "url": "https://api.hilos.io/api/channels/whatsapp/template/:id/send", "params": [ { "name": "id", "value": "", "type": "path", "description": "Template Id" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Send a single WhatsApp message: select a template to use and call our endpoint with the recipient phone number and the variables the template needs. That's it!" } ] } ], "bundled": true }