Skip to main content
Question

Getting 200 response when creating Api User.

  • December 1, 2025
  • 2 replies
  • 15 views

I believe I an following the instructions correctly.

 

POST https://sandbox.momodeveloper.mtn.com/v1_0/apiuser HTTP/1.1X-Reference-Id: f9b22c29-eaeb-4423-9a29-960ece987648Content-Type: application/jsonCache-Control: no-cacheOcp-Apim-Subscription-Key: ••••••••••••••••••••••••••••••••{    providerCallbackHost: "string"}The X-Reference-Id is a UUID  from online generator.Ocp-Apim-Subscription-Key is from mu Collection product.The result:
HTTP/1.1 200 OKcache-control: no-cachecontent-length: 247content-type: text/html; charset=utf-8pragma: no-cachevary: Originx-content-type-options: nosniffx-frame-options: SAMEORIGINx-xss-protection: 1; mode=block<html><head><title>Request Rejected</title></head><body>The requested URL was rejected. Please consult with your administrator.<br><br>Your support ID is: 11597720049319855937<br><br><a href='javascript:history.back();'>[Go Back]</a></body></html>

2 replies

  • New Member
  • December 1, 2025

Hello… I am getting the same error…

 

How did you resolve?


  • Community Manager
  • December 1, 2025

Update the request body and add quotation marks (“”) to the key (providerCallbackHost) as shown below. You can update the actual value as per your callback URL. Below is just a sample

 

{

    "providerCallbackHost":"webhook.site"

}