> For the complete documentation index, see [llms.txt](https://docs.sms4sats.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sms4sats.com/api-reference.md).

# API Reference

- [Overview](https://docs.sms4sats.com/api-reference/api-reference.md): Complete reference for all sms4sats API endpoints.
- [Get Countries](https://docs.sms4sats.com/api-reference/get-countries.md): Retrieve the list of all available countries and their country codes.
- [Get Available Services](https://docs.sms4sats.com/api-reference/get-services.md): Get available services (with number counts) for a specific country.
- [Get Rental Countries](https://docs.sms4sats.com/api-reference/get-rental-countries.md): Get a list of countries that have rental phone numbers available.
- [Get Price](https://docs.sms4sats.com/api-reference/get-price.md): Check the price in satoshis for any country and service combination.
- [Create Receive Order](https://docs.sms4sats.com/api-reference/create-receive-order.md): Create an order to receive an SMS activation code for a phone number.
- [Get Order Status](https://docs.sms4sats.com/api-reference/get-order-status.md): Check the current status of an order and retrieve the activation code once available.
- [Cancel Order](https://docs.sms4sats.com/api-reference/cancel-order.md): Cancel a receive order and release the associated hold invoice.
- [Create Send Order](https://docs.sms4sats.com/api-reference/create-send-order.md): Create an order to send an SMS message to a phone number.
- [Fund Account](https://docs.sms4sats.com/api-reference/fund-account.md): Add satoshis to your prepaid API Key balance to skip per-order invoices.
- [Get Balance](https://docs.sms4sats.com/api-reference/get-balance.md): Check the current satoshi balance of your prepaid API Key account.
- [Get History](https://docs.sms4sats.com/api-reference/get-history.md): Retrieve the funding transaction history for your prepaid API Key account.


---

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

```
GET https://docs.sms4sats.com/api-reference.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.
