# Introduction

### Overview

The SmarthiveSMS API provides a robust platform for seamlessly integrating SMS functionalities into websites or applications. Utilizing HTTP requests with GET or POST methods, the API offers a versatile solution for developers seeking to incorporate SMS capabilities into their projects. Additionally, the API supports simple JSON request bodies in certain cases, facilitating smooth integration and streamlined communication processes.

### API Endpoint

To leverage the capabilities of SmarthiveSMS APIs, it is imperative to begin by creating a complimentary account on our platform. This can be easily accomplished by visiting our website at [https://app.smarthivesms.com](https://smarthivesms.com/) and completing the registration process.

Once your account is created, you gain access to our comprehensive suite of APIs designed to enhance communication within your applications or websites. The API Endpoint, where you'll interact with our services, is located at [https://api.smarthivesms.com/](https://smsapi-sur2.onrender.com).

By integrating SmarthiveSMS APIs into your projects, you unlock powerful communication functionalities, empowering you to engage with your audience effectively and efficiently. We look forward to supporting your endeavors in utilizing our services to their fullest potential.

### API Response

The SmarthiveSMS API follows a consistent response format, providing JSON responses with a status code of 200 OK for successful requests and 500 for errors. You can refer to the API Response page for a comprehensive list of all possible responses for both success and error scenarios.

This standardized approach ensures clarity and ease of integration, allowing developers to anticipate and handle various outcomes effectively. By consulting the API Response page, you can gain insights into the expected responses and effectively handle any errors encountered during API interactions.

## **Send SMS**

To utilize our API for sending SMS messages, you'll first need to register for an account on our website at [https://api.smarthivesms.com/](https://smsapi-sur2.onrender.com). Once registered, navigate to your account settings to generate an API key specifically for your integration needs.

This API key serves as the authentication mechanism for accessing our SMS sending capabilities. With this key, you'll have the necessary authorization to send SMS messages through our platform.

By following these steps, you can seamlessly integrate SMS functionality into your applications or services, enhancing communication and engagement with your users.

{% hint style="success" %}
When you're creating your API Key, you have to select what type of api key it is. For sending Promotional SMS you should create an MKT API key and for sending Transactional SMS you need to create a TRX API Key
{% endhint %}


---

# 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://smarthive-tech-solution.gitbook.io/smarthive-tech-solution-api/introduction.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.
