Skip to main content
Question

API User endpoint is failing

  • November 24, 2025
  • 0 replies
  • 22 views

I am encountering an issue while trying to generate an API user in sandbox environment.


I have followed all the steps outlined in the documentation:

  1. Signup For An Account – Completed

  2. Subscribe To Our Products – Completed (subscribed to Collection)

  3. Manage Your Subscriptions – Subscription is active, and I have received both the primary and secondary keys

  4. Generate API User and API Key – This step is failing
     

To generate the API user, I am using the following endpoint:

  • POST https://sandbox.momodeveloper.mtn.com/v1_0/apiuser

Headers sent:
{
  "X-Reference-Id": "<uuid-v4>",
  "Ocp-Apim-Subscription-Key": "<Subscription-Primary-Key>",
  "Content-Type": "application/json"
}

Body :
{
  "providerCallbackHost": "webhook.site"
}
 

However, the API returns the following error:

Response:

<html><head><title>Request Rejected</title></head><body>The requested URL was rejected. Please consult with your administrator.<br><br>Your support ID is: 11597720049318336683<br><br><a href='javascript:history.back();'>[Go Back

]</a></body></html>

} I have verified that the subscription is active and have also regenerated the subscription keys, but the issue persists.  Could anyone advise on the correct steps to resolve it? 

Thanks in advance!