Request examples for the `simple/transactional` endpoint in every supported method. For the meaning of the parameters see the [specification](https://www.bulkgate.com/en/docs/simple-api/simple-transactional/); for ready-made code in individual languages see the [examples](https://www.bulkgate.com/en/docs/simple-api/simple-transactional-examples/).

> [!WARNING]
> It is **strictly prohibited** to exploit [transactional SMS](https://www.bulkgate.com/en/helpdesk/general-information/difference-promotional-transactional-sms/) for promotional/marketing uses. It must be used for notification purposes only - as an SMS notification.

## GET method

**Example of full request:**
```url
https://portal.bulkgate.com/api/1.0/simple/transactional
    ?application_id=451
    &application_token=NKN02TWE6NfBkfl-your-secret-token-Wf05GaqLIWLW4aBj
    &number=447700900000
    &text=test_sms
    &unicode=yes
    &sender_id=gText
    &sender_id_value=BulkGate
    &country=gb
```

**Example of request with country prefix:**
```url
https://portal.bulkgate.com/api/1.0/simple/transactional
    ?application_id=451
    &application_token=NKN02TWE6NfBkfl-your-secret-token-Wf05GaqLIWLW4aBj
    &number=7700900000
    &text=test_sms
    &country=gb
```

## POST method - application/x-www-form-urlencoded

**Example of full request:**
```http
POST /api/1.0/simple/transactional HTTP/1.1
Host: portal.bulkgate.com
Content-Type: application/x-www-form-urlencoded

application_id=451&application_token=NKN02TWE6NfBkfl-your-secret-token-Wf05GaqLIWLW4aBj&number=447700900000&text=test_sms&unicode=yes&sender_id=gText&sender_id_value=BulkGate&country=gb
```

**Example of request with country prefix:**
```http
POST /api/1.0/simple/transactional HTTP/1.1
Host: portal.bulkgate.com
Content-Type: application/x-www-form-urlencoded

application_id=451&application_token=NKN02TWE6NfBkfl-your-secret-token-Wf05GaqLIWLW4aBj&number=7700900000&text=test_sms&country=gb
```

## POST method - application/json

**Example of full request:**
```http-json
POST /api/1.0/simple/transactional HTTP/1.1
Host: portal.bulkgate.com
Content-Type: application/json

{
    "application_id": 451, 
    "application_token": "NKN02TWE6NfBkfl-your-secret-token-Wf05GaqLIWLW4aBj", 
    "number": "7700900000", 
    "text": "test_sms", 
    "unicode": true,
    "sender_id": "gText",
    "sender_id_value": "BulkGate",
    "country": "gb"
}
```

**Example of request with country prefix:**
```http-json
POST /api/1.0/simple/transactional HTTP/1.1
Host: portal.bulkgate.com
Content-Type: application/json

{
    "application_id": 451, 
    "application_token": "NKN02TWE6NfBkfl-your-secret-token-Wf05GaqLIWLW4aBj", 
    "number": "7700900000", 
    "text": "test_sms", 
    "country": "gb"
}
```
