# API for developers

- [Consent API](https://wadocs.pepipost.com/sending-message/consent-api.md)
- [Manage Opt IN /Opt OUT](https://wadocs.pepipost.com/sending-message/consent-api/manage-opt-in-opt-out.md)
- [Message API](https://wadocs.pepipost.com/sending-message/send-message-api.md)
- [Send Text message](https://wadocs.pepipost.com/sending-message/send-message-api/receive-message-api.md)
- [Send Media message](https://wadocs.pepipost.com/sending-message/send-message-api/send-media-message.md): This endpoint sends a media message to a phone number on WhatsApp.
- [Send Media message using Media ID](https://wadocs.pepipost.com/sending-message/send-message-api/send-media-message/send-media-message-using-media-id.md)
- [Send Media message using URL](https://wadocs.pepipost.com/sending-message/send-message-api/send-media-message/send-media-message-using-url.md)
- [Send Location message](https://wadocs.pepipost.com/sending-message/send-message-api/send-location-message.md)
- [Template Message API](https://wadocs.pepipost.com/sending-message/template-message-api.md)
- [Template Message API](https://wadocs.pepipost.com/sending-message/template-message-api/template-message-api.md): This endpoint (JSON containing 'type\_template' object) sends a template message to a phone number on WhatsApp.
- [Media API](https://wadocs.pepipost.com/sending-message/media-api.md)
- [Upload Media](https://wadocs.pepipost.com/sending-message/media-api/upload-media.md)
- [Get Media](https://wadocs.pepipost.com/sending-message/media-api/get-media.md)
- [Delete Media](https://wadocs.pepipost.com/sending-message/media-api/delete-media.md)


---

# Agent Instructions: 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:

```
GET https://wadocs.pepipost.com/sending-message.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
