{"id":22169162,"url":"https://github.com/messente/messente-api-node","last_synced_at":"2025-07-26T12:32:37.058Z","repository":{"id":57295279,"uuid":"173289664","full_name":"messente/messente-api-node","owner":"messente","description":"Messente API library: https://www.npmjs.com/package/messente_api","archived":false,"fork":false,"pushed_at":"2024-10-05T08:14:40.000Z","size":421,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-28T17:07:52.728Z","etag":null,"topics":["number-lookup","omnichannel","phonebook","statistics"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/messente.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-01T11:18:10.000Z","updated_at":"2024-11-19T18:47:11.000Z","dependencies_parsed_at":"2024-07-17T20:51:29.012Z","dependency_job_id":"ee228f69-cdba-433b-9bd8-c73915b2788a","html_url":"https://github.com/messente/messente-api-node","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":0.4545454545454546,"last_synced_commit":"5e999052c8a3403d91571f370764e2e0fcf0d37d"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messente%2Fmessente-api-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messente%2Fmessente-api-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messente%2Fmessente-api-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messente%2Fmessente-api-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/messente","download_url":"https://codeload.github.com/messente/messente-api-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227683823,"owners_count":17803928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["number-lookup","omnichannel","phonebook","statistics"],"created_at":"2024-12-02T06:29:00.572Z","updated_at":"2025-07-26T12:32:37.025Z","avatar_url":"https://github.com/messente.png","language":"JavaScript","readme":"# Messente API Library\n\n- Messente API version: 2.0.0\n- NPM package version: 2.4.0\n\n[Messente](https://messente.com) is a global provider of messaging and user verification services.  * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you\u0026#39;re not sending any unwanted messages.  Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.\n\n## Installation\n\nInstall Messente API library with `npm install messente_api --save`.\n\n## Features\n\nMessente API has the following features:\n\n- Omnichannel ([external docs](https://messente.com/documentation/omnichannel-api)),\n- Phonebook ([external docs](https://messente.com/documentation/phonebook-api)).\n\nMessente API Library provides the operations described below to access the features.\n\n### AccountBalanceApi\n\n1. Get account balance [`getAccountBalance`](docs/AccountBalanceApi.md#getaccountbalance)\n1. Get account balance [`getAccountBalanceUsingPost`](docs/AccountBalanceApi.md#getaccountbalanceusingpost)\n\n### BlacklistApi\n\n1. Adds a phone number to the blacklist [`addToBlacklist`](docs/BlacklistApi.md#addtoblacklist)\n1. Deletes a phone number from the blacklist [`deleteFromBlacklist`](docs/BlacklistApi.md#deletefromblacklist)\n1. Returns all blacklisted phone numbers [`fetchBlacklist`](docs/BlacklistApi.md#fetchblacklist)\n1. Checks if a phone number is blacklisted [`isBlacklisted`](docs/BlacklistApi.md#isblacklisted)\n\n### BulkMessagingApi\n\n1. Sends a bulk Omnimessage [`sendBulkOmnimessage`](docs/BulkMessagingApi.md#sendbulkomnimessage)\n\n### ContactsApi\n\n1. Adds a contact to a group [`addContactToGroup`](docs/ContactsApi.md#addcontacttogroup)\n1. Creates a new contact [`createContact`](docs/ContactsApi.md#createcontact)\n1. Deletes a contact [`deleteContact`](docs/ContactsApi.md#deletecontact)\n1. Lists a contact [`fetchContact`](docs/ContactsApi.md#fetchcontact)\n1. Lists groups of a contact [`fetchContactGroups`](docs/ContactsApi.md#fetchcontactgroups)\n1. Returns all contacts [`fetchContacts`](docs/ContactsApi.md#fetchcontacts)\n1. Removes a contact from a group [`removeContactFromGroup`](docs/ContactsApi.md#removecontactfromgroup)\n1. Updates a contact [`updateContact`](docs/ContactsApi.md#updatecontact)\n\n### DeliveryReportApi\n\n1. Retrieves the delivery report for the Omnimessage [`retrieveDeliveryReport`](docs/DeliveryReportApi.md#retrievedeliveryreport)\n\n### GroupsApi\n\n1. Creates a new group with the provided name [`createGroup`](docs/GroupsApi.md#creategroup)\n1. Deletes a group [`deleteGroup`](docs/GroupsApi.md#deletegroup)\n1. Lists a group [`fetchGroup`](docs/GroupsApi.md#fetchgroup)\n1. Returns all groups [`fetchGroups`](docs/GroupsApi.md#fetchgroups)\n1. Updates a group with the provided name [`updateGroup`](docs/GroupsApi.md#updategroup)\n\n### NumberLookupApi\n\n1. Requests info about phone numbers [`fetchInfo`](docs/NumberLookupApi.md#fetchinfo)\n\n### NumberVerificationApi\n\n1. verify number [`verifyNumber`](docs/NumberVerificationApi.md#verifynumber)\n1. verified the PIN code entered by the user. [`verifyPin`](docs/NumberVerificationApi.md#verifypin)\n\n### OmnimessageApi\n\n1. Cancels a scheduled Omnimessage [`cancelScheduledMessage`](docs/OmnimessageApi.md#cancelscheduledmessage)\n1. Sends an Omnimessage [`sendOmnimessage`](docs/OmnimessageApi.md#sendomnimessage)\n\n### PricingApi\n\n1. Get pricelist for account [`getPricelist`](docs/PricingApi.md#getpricelist)\n1. Get pricing for a specific country [`getPrices`](docs/PricingApi.md#getprices)\n\n### StatisticsApi\n\n1. Requests statistics reports for each country [`createStatisticsReport`](docs/StatisticsApi.md#createstatisticsreport)\n\n### WhatsAppTemplatesApi\n\n1. Creates a WhatsApp template [`createWhatsappTemplate`](docs/WhatsAppTemplatesApi.md#createwhatsapptemplate)\n1. Deletes a WhatsApp template [`deleteWhatsappTemplate`](docs/WhatsAppTemplatesApi.md#deletewhatsapptemplate)\n1. Requests a WhatsApp template with the given ID [`getWhatsappTemplateById`](docs/WhatsAppTemplatesApi.md#getwhatsapptemplatebyid)\n1. Requests a list of WhatsApp templates [`listWhatsappTemplates`](docs/WhatsAppTemplatesApi.md#listwhatsapptemplates)\n1. Updates a WhatsApp template [`updateWhatsappTemplate`](docs/WhatsAppTemplatesApi.md#updatewhatsapptemplate)\n\n## Auth\n\n**Type**: HTTP basic authentication\n\nRead the [external getting-started article](https://messente.com/documentation/getting-started) which explains API keys and Sender ID logic.\n\n## Getting started: sending an omnimessage\n\n```js\nconst MessenteApi = require('messente_api');\n\nconst defaultClient = MessenteApi.ApiClient.instance;\n\n// Configure HTTP basic authorization: basicAuth\nconst basicAuth = defaultClient.authentications['basicAuth'];\nbasicAuth.username = 'YOUR_MESSENTE_API_USERNAME';\nbasicAuth.password = 'YOUR_MESSENTE_API_PASSWORD';\n\nconst api = new MessenteApi.OmnimessageApi();\n\nconst viber = MessenteApi.Viber.constructFromObject({\n  text: 'Hello Viber!',\n  sender: 'Messente',\n});\n\nconst sms = MessenteApi.SMS.constructFromObject({\n  text: 'Hello SMS!',\n});\n\nconst whatsAppParameters = [MessenteApi.WhatsAppParameter.constructFromObject({type: 'text', text: 'hello whatsapp'})];\nconst whatsAppComponent = MessenteApi.WhatsAppComponent.constructFromObject({type: 'body', parameters: whatsAppParameters});\nconst whatsAppTemplate = MessenteApi.WhatsAppTemplate.constructFromObject({\n  name: '\u003ctemplate_name\u003e',\n  language: new MessenteApi.WhatsAppLanguage(code='\u003clanguage_code\u003e'),\n  components: [whatsAppComponent],\n});\n\nconst whatsapp = MessenteApi.WhatsApp.constructFromObject({\n  sender: \"\u003csender name (optional)\u003e\",\n  template: whatsAppTemplate,\n});\n\nconst omnimessage = MessenteApi.Omnimessage.constructFromObject({\n  messages: [whatsapp, viber, sms],\n  to: '\u003crecipient_phone_number\u003e',\n});\n\napi.sendOmnimessage(omnimessage, (error, data) =\u003e {\n  if (error) {\n    console.error(error);\n  } else {\n    console.log('API called successfully. Returned data: ', data);\n  }\n});\n\n```\n\n## License\n\n[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0.html)\n\n## Terms\n\n[https://messente.com/terms-and-conditions](https://messente.com/terms-and-conditions)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmessente%2Fmessente-api-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmessente%2Fmessente-api-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmessente%2Fmessente-api-node/lists"}