Use Cases

Use Cases for Developers to build a robust and seamless user experience:

Customer Support

Unecast’s SMS capabilities can significantly enhance customer support operations by providing timely, personalized, and efficient communication. Here are some common use cases:

Automated Responses

Use Case: Automatically send acknowledgment messages to customers when they submit a support request.

Example:

{
  "from": "UNECAST",
  "to": "+1234567890",
  "message": "Thank you for contacting support. Your request has been received and is being processed. Ticket ID: 12345"
}
  • Benefits: Ensures customers know their request is received, improving satisfaction and reducing follow-up inquiries.

Status Updates

Use Case: Keep customers informed about the status of their support tickets.

Example:

{
  "from": "UNECAST",
  "to": "+1234567890",
  "message": "Your support request (Ticket ID: 12345) is currently being reviewed by our team. We will update you shortly."
}
  • Benefits: Reduces customer anxiety and the need for repeated follow-ups, improving overall customer experience.

Appointment Reminders

Use Case: Send reminders for scheduled support calls or appointments.

Example:

{
  "from": "UNECAST",
  "to": "+1234567890",
  "message": "Reminder: Your support call is scheduled for tomorrow at 10:00 AM. Please be available."
}
  • Benefits: Decreases no-show rates, ensuring better resource allocation and customer satisfaction.

Resolution Notifications

Use Case: Notify customers when their support issue has been resolved.

Example:

{
  "from": "UNECAST",
  "to": "+1234567890",
  "message": "Your support issue (Ticket ID: 12345) has been resolved. Please check your email for detailed information. Thank you!"
}
  • Benefits: Provides closure to customers, enhancing their overall support experience.

Feedback Requests

Use Case: Request feedback from customers after resolving their support issues.

Example:

{
  "from": "UNECAST",
  "to": "+1234567890",
  "message": "We hope your issue has been resolved. Please take a moment to provide feedback: [link]"
}
  • Benefits: Collects valuable customer insights, helping improve future support processes.

Proactive Support Notifications

Use Case: Inform customers about potential issues or scheduled maintenance proactively.

Example:

{
  "from": "UNECAST",
  "to": "+1234567890",
  "message": "Our system will undergo maintenance on [date] from [time]. You may experience brief interruptions during this period. We apologize for any inconvenience."
}
  • Benefits: Builds trust by keeping customers informed, reducing the impact of unforeseen issues.

Example Code for Sending SMS

Here’s how you can implement some of these use cases using Unecast’s SMS API:

Automated Response Example

curl -X POST https://api.unecast.com/v1/sms/send \
     -H "Authorization: Bearer YOUR_API_KEY" \
     -H "Content-Type: application/json" \
     -d '{
           "from": "UNECAST",
           "to": "+1234567890",
           "message": "Thank you for contacting support. Your request has been received and is being processed. Ticket ID: 12345"
         }'

Marketing Campaigns

Unecast’s SMS capabilities can significantly enhance your marketing campaigns by providing a direct, personalized, and efficient way to reach your audience. Here are some common use cases:

Promotional Campaigns

Use Case: Send time-sensitive promotions and discounts to customers.

Example:

{
  "from": "UNECAST",
  "to": "+1234567890",
  "message": "Get 20% off on your next purchase! Use code SAVE20 at checkout. Offer valid until [date]."
}
  • Benefits: Drives immediate sales and engagement, especially during sales events or holidays.

Product Launch Announcements

Use Case: Inform customers about new product launches or updates.

Example:

{
  "from": "UNECAST",
  "to": "+1234567890",
  "message": "Exciting news! Our new product [Product Name] is now available. Check it out here: [link]"
}
  • Benefits: Creates buzz and excitement around new offerings, driving traffic and interest.

Event Invitations

Use Case: Invite customers to special events, webinars, or sales.

Example:

{
  "from": "UNECAST",
  "to": "+1234567890",
  "message": "Join us for our exclusive event on [date] at [location]. RSVP now and enjoy special perks! [link]"
}
  • Benefits: Increases event attendance and engagement with your brand.

Loyalty Program Updates

Use Case: Update customers about their loyalty points or membership status.

Example:

{
  "from": "UNECAST",
  "to": "+1234567890",
  "message": "You have earned 100 loyalty points! Redeem them on your next purchase. Visit our store for more details."
}
  • Benefits: Encourages repeat purchases and customer loyalty.

Abandoned Cart Reminders

Use Case: Remind customers about items left in their shopping cart.

Example:

{
  "from": "UNECAST",
  "to": "+1234567890",
  "message": "You left items in your cart. Complete your purchase now and enjoy free shipping! [link]"
}
  • Benefits: Recovers potentially lost sales and increases conversion rates.

Seasonal Greetings

Use Case: Send personalized holiday or birthday greetings.

Example:

{
  "from": "UNECAST",
  "to": "+1234567890",
  "message": "Happy Birthday! Enjoy a special gift from us. Use code BDAYGIFT at checkout for a surprise discount!"
}
  • Benefits: Strengthens customer relationships and builds brand loyalty.

Surveys and Feedback Requests

Use Case: Request feedback from customers after a purchase or interaction.

Example:

{
  "from": "UNECAST",
  "to": "+1234567890",
  "message": "We value your feedback! Please take a moment to complete our survey: [link]"
}
  • Benefits: Gathers valuable customer insights, helping improve products and services.

Example Code for Sending Marketing SMS

Here’s how you can implement some of these use cases using Unecast’s SMS API:

Promotional Campaign Example

curl -X POST https://api.unecast.com/v1.0/sms/send \
     -H "Authorization: Bearer YOUR_API_KEY" \
     -H "Content-Type: application/json" \
     -d '{
           "from": "UNECAST",
           "to": "+1234567890",
           "message": "Get 20% off on your next purchase! Use code SAVE20 at checkout. Offer valid until [date]."
         }'

Best Practices

  • Personalization: Customize messages with the recipient’s name or specific details to increase engagement.

  • Timing: Send messages at optimal times to increase the likelihood of being read and acted upon.

  • Compliance: Ensure messages comply with relevant regulations and include opt-out options.

Secure Authentication

Unecast’s SMS capabilities can greatly enhance security for your applications by providing reliable and efficient authentication methods. Here are some common use cases:

Two-Factor Authentication (2FA)

Use Case: Enhance account security by requiring a second form of authentication.

Example:

{
  "from": "UNECAST",
  "to": "+1234567890",
  "message": "Your authentication code is 123456. Please enter this code to complete your login."
}
  • Benefits: Adds an extra layer of security, reducing the risk of unauthorized access.

One-Time Passwords (OTP)

Use Case: Use one-time passwords for secure logins or transactions.

Example:

{
  "from": "UNECAST",
  "to": "+1234567890",
  "message": "Your OTP is 654321. Use this code to verify your transaction."
}
  • Benefits: Ensures that only the intended user can complete the login or transaction.

Account Recovery

Use Case: Help users recover access to their accounts by sending verification codes via SMS.

Example:

{
  "from": "UNECAST",
  "to": "+1234567890",
  "message": "To reset your password, please use the following verification code: 789012."
}
  • Benefits: Provides a secure and quick way for users to regain access to their accounts.

Transaction Verification

Use Case: Confirm sensitive transactions, such as financial transfers, with SMS verification.

Example:

{
  "from": "UNECAST",
  "to": "+1234567890",
  "message": "To confirm your transaction of $1000, please enter the code 345678."
}
  • Benefits: Reduces the risk of fraudulent transactions by adding a verification step.

Login Alerts

Use Case: Notify users of new or suspicious login attempts.

Example:

{
  "from": "UNECAST",
  "to": "+1234567890",
  "message": "A new login to your account was detected from a new device. If this was not you, please secure your account immediately."
}
  • Benefits: Keeps users informed of potentially unauthorized access, allowing them to take action quickly.

Example Code for Sending Authentication SMS

Here’s how you can implement some of these use cases using Unecast’s SMS API:

Two-Factor Authentication Example

curl -X POST https://api.unecast.com/v1.0/sms/send \
     -H "Authorization: Bearer YOUR_API_KEY" \
     -H "Content-Type: application/json" \
     -d '{
           "from": "UNECAST",
           "to": "+1234567890",
           "message": "Your authentication code is 123456. Please enter this code to complete your login."
         }'

Best Practices

  • Timeliness: Ensure that authentication codes are delivered quickly to maintain a seamless user experience.

  • Expiration: Set a short expiration time for OTPs to minimize the risk of misuse.

  • Encryption: Use HTTPS for all API requests to ensure that sensitive information is transmitted securely.

  • User Education: Inform users about the importance of keeping their phone numbers updated and secure.

Last updated