> For the complete documentation index, see [llms.txt](https://wiki.mobivate.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.mobivate.com/mno-web-opt-in/mno-web-opt-in-kenya/receiving-callback-notifications.md).

# Receiving callback notifications

### <mark style="color:green;">`GET`</mark> `/yourdomain/`

Receive notifications from our gateway to your configured endpoint.&#x20;

#### Example of successful subscription

```http
http://hostname/?action=subscribed&trixid=5cf60043-a8bb-4571-925e-57688e05fe36&user=277123456789&keyword=mv-1000000000001&service=60001
```

Example of successful billing

```http
http://yourdomain/?action=billing&trixid=5cf60043-a8bb-4571-925e-57688e05fe36&user=277123456789&keyword=mv-1000000000001&service=60001&amount=2000
```

**Body**

<table><thead><tr><th width="251.33333333333331">Parameter</th><th>Type</th><th>Example</th><th>Description</th></tr></thead><tbody><tr><td>keyword</td><td>string</td><td>mv-1000000000001</td><td>Your unique Mobivate product id. </td></tr><tr><td>trixid</td><td>string</td><td>5cf60043-a8bb-4571-925e-57688e05fe36</td><td>Your unqiuely generated trixID for this transaction.</td></tr><tr><td>orig_keyword</td><td>string</td><td>secured</td><td>The method of the keyword you are using.</td></tr><tr><td>msisdn</td><td>integer</td><td>XX0000000000</td><td>The users hashed MSISDN. </td></tr><tr><td>service</td><td>integer</td><td>60001</td><td>Your unique shortcode. </td></tr><tr><td>campaign_name</td><td>string</td><td>MyCampaign</td><td>Your chosen campaign name. </td></tr><tr><td>campaign_id</td><td>string</td><td>79000000000000abc000000000000000</td><td>Your unique campaign id. </td></tr><tr><td>cost</td><td>integer</td><td>2000</td><td>Cost of the message.</td></tr></tbody></table>

**Output**

```json
{
 "KEYWORD": "mv-1000000000001",
 "TRIXID": "5cf60043-a8bb-4571-925e-57688e05fe36",
 "ORIG_KEYWORD": "secured",
 "msisdn": "XX0000000000",
 "service": "60001",
 "campaign_name": "MyCampaign",
 "campaign_id": "79000000000000abc000000000000000",
 "cost": "2000"
}
```

To see a full list of all **available parameters** for your callbacks. Please press **CMD + M** on your keyboard while on the Campaign configuration screen.

{% hint style="info" %}
**Please note:** Our return URL parameters and notifications are configurable. You can read more about this in our [Campaign Configuration](/mno-web-opt-in/mno-web-opt-in-kenya/configuring-your-campaign.md#receive-callback-notifications-to-your-own-endpoint) section.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wiki.mobivate.com/mno-web-opt-in/mno-web-opt-in-kenya/receiving-callback-notifications.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
