TM Forum Open API
Communication Management API
Send messages to customers on the Ooredoo network
The Communication Management API is designed to facilitate structured and automated communication between businesses, users, and stakeholders.
- Notifications
- Alerts
- Reminders
What you can do with this API
Read the full API overview
The Communication Management API is designed to facilitate structured and automated communication between businesses, users, and stakeholders. It provides a standardized way to create, send, and manage communications in various formats, ensuring timely and efficient interactions.
Key Features & Functionality:
- Multi-Channel Communication:
- Supports sending messages via email, SMS, push notifications, in-app alerts, or system-generated instructions.
- Ensures messages reach recipients through their preferred channel.
- Personalization & Targeting:
- Allows customization of messages based on user preferences, roles, or organizational needs.
- Supports dynamic content generation for personalized notifications.
- Event-Driven Messaging:
- Can trigger communications based on specific events (e.g., a user action, a scheduled update, or system alerts).
- Ensures real-time or scheduled notifications based on predefined rules.
- Message Tracking & Analytics:
- Provides tracking capabilities to monitor delivery, read receipts, and user engagement metrics.
- Helps businesses optimize messaging strategies and improve response rates.
- Security & Compliance:
- Ensures data encryption and authentication to protect sensitive communications.
- Complies with industry regulations like GDPR, HIPAA, and other data protection standards.
- Integration with CRM & ERP Systems:
- Works seamlessly with CRM systems to send targeted customer communications.
- Can integrate with business workflow platforms for automated notifications and instructions.
Use Cases:
- Customer Notifications: Sending billing updates, promotional offers, or transaction confirmations.
- Internal Alerts: Notifying employees of system changes, approvals, or organizational updates.
- Appointment Reminders: Automating reminders for bookings, payments, or deliveries.
- Emergency Communications: Providing timely alerts for security or technical incidents.
Questions about the Communication Management API
What can I do with the Communication Management API?
The Communication Management API is designed to facilitate structured and automated communication between businesses, users, and stakeholders.
- Send a message to a customer (
POST /communicationMessage)
Which inputs does each call to the Communication Management API need?
POST /communicationMessage: requirescontent,messageType,receiver,sender; headerscountryCode,transactionId
Every call also needs Authorization: Bearer <access_token>. The API reference on this page shows each field's type and an example request.
What does the Communication Management API return?
POST /communicationMessagereturns HTTP 201 withname,content,description,messageType,priority,subject
Responses are JSON.
How do I authenticate with the Communication Management API?
- Call
POST https://api.ooredoo.com/tmf-api/oauth/v4/tokenwithclient_id,client_secretin the headers. Sendgrant_typein the body. Use the client ID and secret of your app. - The response contains
access_token,token_type,expires_in,consented_on,created_At,expired_At. - Send
Authorization: Bearer <access_token>on each call until the token expires, then request a new one.
Which errors can the Communication Management API return?
- 400: Bad Request
- 401: Unauthorized
- 403: Forbidden
- 405: Method Not allowed
- 409: Conflict
- 500: Internal Server Error
On 401, request a new access token and retry.
Where is the Communication Management API available?
Communication Management is available in Algeria, Iraq, Kuwait, Maldives, Oman, Qatar, Tunisia and Palestine.
Which standard does the Communication Management API follow?
It follows the TM Forum Open API standard used across the telecom industry. See our TM Forum certification page.
Sample call
From the published OpenAPI specification. Replace the placeholders with your app's credentials and real values.
1. Get an access token
curl -X POST https://api.ooredoo.com/tmf-api/oauth/v4/token \
-H "client_id: $CLIENT_ID" \
-H "client_secret: $CLIENT_SECRET" \
-d "grant_type=client_credentials"2. Call the API
curl -X POST https://api.ooredoo.com/tmf-api/communicationManagement/v4/communicationMessage \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "countryCode: <countryCode>" \
-H "transactionId: <transactionId>" \
-H "Content-Type: application/json" \
-d '{
"content": "Dear Karti, Here is the information of the promotion",
"messageType": "sms",
"receiver": [
{
"phoneNumber": "+974XXXXXXXX"
}
],
"sender": {
"name": "Karti"
}
}'API reference
Try any endpoint in the sandbox