📬
MobiPay API Documentation
Mobivate
📬
MobiPay API Documentation
  • 👋Welcome to MobiPay
  • Send SMS via HTTP (MT)
  • Receive SMS via HTTP (MO)
  • Use Cases
    • Send SMS via HTTP (MT) Example
    • Receive SMS via HTTP (MO) Example
    • Gateway Responses
    • Send Silent OBS Billing Message Example
    • Unsubscribe VIA MT Unsubscribe Notification
    • Receive Delivery Receipt via HTTP (DR)
    • Acknowledging MO's and DR's
    • Send A Premium SMS via HTTP (MT) Example
    • Vodafone/Airtel Ghana Billing
  • API Message Paramaters
    • API Message Parameters
    • Send BINARY SMS (MT) parameters
    • Receive SMS (MO) parameters
    • Subscription API (RESTFul)
      • Initiate Subscription (API)
      • Validate PIN (API)
      • Unsubscribing Users (API)
      • Checking Subscription Status (API)
      • Sending Messages To Subscribers (API)
      • Sending Content To Subscribers (API)
    • Content API (RESTFul)
      • Content Types (API)
      • Content Categories (API)
      • Search Content (API)
      • Latest Content Items (API)
      • Content Items (API)
  • Network Double Opt-In
    • Network Double Opt-in (NDOI)
    • Network Double Opt-in (NDOI) Unsubscribe
    • NDOI Keyword Patterns per country
  • MNO Web Opt-in
    • MNO Web Opt-in Introduction
    • MNO Web Opt-In South Africa
    • MNO Web Opt-In Kenya
      • Configuring your campaign
      • Subscribing users to your service
        • Subscribing users via Upstream
        • Subscribing users via Scienlabs
      • Unsubscribing users from your service
      • Receiving callback notifications
    • MNO Web Opt-In Nigeria
      • Subscribing the User to the Service
      • Unsubscribing user from the Service
      • Delivery Notifications
  • UK Direct Carrier Billing
    • UK DCB/Charge to Bill
      • UK Network Flows
Powered by GitBook
On this page

Was this helpful?

  1. MNO Web Opt-in
  2. MNO Web Opt-In Nigeria

Subscribing the User to the Service

Learn how to subscribe the users to your service.

Once you have the UserID you can request a subscription to your service. For this you can use our NetworkSubscription API. The User ID is normally the MSISDN number associated with the subscription.

For subscribing a MTN Customer request:

GET: https://<hostname>/lookup/subscribe/mtnng/?userid={USERID}&keyword={PRODUCT_ID}

For subscribing an Etisalat Customer request:

GET: https://<hostname>/lookup/subscribe/etisalatng/?userid={USERID}&keyword={PRODUCT_ID}

The required parameters for the Etisalat Customer request are as follows:

Parameter
Required
Description

hostname

Yes

Mobivate's content domain.

userid

Yes

The userid that was sent to your Return URL.

keyword

Yes

The ProductID that you wish to subscribe the user to. Bear in mind, if subscribing the user to MTNNG, you must use the same MTN_PRODUCT_ID as you did when requesting the USER ID.

When receiving a response all requests will return HTTP Code 200 and a JSON body.

Examples

On Success:

{
  subscribed: true,
  message: "Subscription request has been accepted!",
  code: 202
}

On Failure:

{
  subscribed: false,
  message: "Execution Error: Invalid Ad Id",
  code: 400
}
PreviousMNO Web Opt-In NigeriaNextUnsubscribing user from the Service

Last updated 1 year ago

Was this helpful?