# EnvoiSMS API API

**Canonical:** https://apis.io/apis/envoisms-ma/envoisms-api-api/  
**Provider:** envoisms-ma — https://apis.io/providers/envoisms-ma/  
**Base URL:** https://api.envoisms.ma/v1  
**Documentation:** https://envoisms.ma/llms.txt

EnvoiSMS API API is one of 2 APIs that [envoisms-ma](https://apis.io/providers/envoisms-ma/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

Send SMS and WhatsApp messages and verify phone numbers, as JSON over HTTPS.

## Operations (60 of 82)

| Method | Path | Summary |
|---|---|---|
| POST | `/messages` | Send a message |
| GET | `/messages` | List messages |
| POST | `/messages/bulk` | Send bulk messages |
| GET | `/messages/{id}` | Get message status |
| POST | `/messages/typing` | WhatsApp typing indicator |
| POST | `/verify/send` | Send OTP verification code |
| POST | `/verify/resend` | Resend the code of an existing verification session |
| POST | `/verify/check` | Check OTP code |
| POST | `/verify/lookup` | Validate phone number (EnvoiSMS Lookup Engine) |
| GET | `/verify/{session_id}` | Get OTP verification session |
| GET | `/lookup/{number}` | Number lookup |
| GET | `/hlr/{number}` | HLR lookup |
| GET | `/conversations` | List WhatsApp conversations |
| GET | `/conversations/{phone}` | Get conversation history |
| POST | `/conversations/{phone}/messages` | Send live chat reply |
| GET | `/whatsapp/profile` | Get WhatsApp Business profile |
| GET | `/qualified-leads` | List qualified leads |
| GET | `/inbound-webhooks` | List Inbound Webhooks |
| POST | `/inbound-webhooks` | Create an Inbound Webhook |
| GET | `/contacts` | List contacts |
| POST | `/contacts` | Create or update contact |
| POST | `/contacts/import` | Import contacts |
| GET | `/contacts/lists` | List contact lists |
| POST | `/contacts/lists` | Create contact list |
| DELETE | `/contacts/{id}` | Delete contact |
| GET | `/campaigns` | List campaigns |
| POST | `/campaigns` | Create campaign |
| GET | `/campaigns/{id}` | Get campaign |
| PATCH | `/campaigns/{id}` | Update a campaign |
| DELETE | `/campaigns/{id}` | Cancel a campaign |
| POST | `/campaigns/{id}/send` | Send campaign |
| GET | `/optouts` | List opt-outs |
| POST | `/optouts` | Create opt-out |
| DELETE | `/optouts/{phone}` | Remove opt-out |
| GET | `/consents` | List consent events |
| POST | `/consents` | Record a consent event |
| GET | `/consents/{phone}` | Consent state and history for a number |
| GET | `/webhooks` | List webhooks |
| POST | `/webhooks` | Create webhook |
| PATCH | `/webhooks/{id}` | Update webhook |
| DELETE | `/webhooks/{id}` | Disable webhook |
| POST | `/webhooks/{id}/rotate-secret` | Rotate webhook signing secret |
| POST | `/webhooks/{id}/test` | Test webhook |
| GET | `/webhooks/logs` | List webhook delivery attempts |
| POST | `/webhooks/logs/{log_id}/replay` | Resend a logged webhook delivery |
| GET | `/billing/balance` | Get billing balance |
| GET | `/balance` | Get account balance (alias) |
| GET | `/billing/transactions` | List billing transactions |
| GET | `/billing/plans` | List plan pricing |
| GET | `/billing/packs` | List prepaid SMS packs |
| GET | `/billing/payment-methods` | List configured payment methods |
| POST | `/billing/topups` | Create balance top-up or SMS pack |
| POST | `/billing/topups/claim` | Claim paid top-ups |
| GET | `/billing/quota` | Get billing quota limit |
| PATCH | `/billing/quota` | Update billing quota limit |
| GET | `/analytics` | Get usage analytics |
| GET | `/api-keys` | List API keys |
| POST | `/api-keys` | Create API key |
| PATCH | `/api-keys/{id}` | Update API key |
| DELETE | `/api-keys/{id}` | Revoke API key |

…and 22 more operations. They are listed in full on the page.

## Machine-readable artifacts (7)

- **OpenAPI** — https://artifacts.apis.io/envoisms-ma/openapi/_original/envoisms-ma-api-openapi.json
- **JSONSchema** — https://artifacts.apis.io/envoisms-ma/json-schema/envoisms-ma-send-message-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/envoisms-ma/json-schema/envoisms-ma-message-record-schema.json
- **JSONSchema** — https://artifacts.apis.io/envoisms-ma/json-schema/envoisms-ma-verify-send-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/envoisms-ma/json-schema/envoisms-ma-message-schema.json
- **JSONSchema** — https://artifacts.apis.io/envoisms-ma/json-schema/envoisms-ma-qualified-lead-schema.json
- **JSONSchema** — https://artifacts.apis.io/envoisms-ma/json-schema/envoisms-ma-bulk-send-request-schema.json

## Other envoisms-ma APIs (1)

- [EnvoiSMS API](https://apis.io/apis/envoisms-ma/envoisms-api/)

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/envoisms-ma/envoisms-api-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/envoisms-ma/.
