---
title: "Calculate Send SMS Cost"
method: POST
path: "/ws/v1/sms/calculate-cost"
tags: ["Send"]
---

# Calculate Send SMS Cost

`POST /ws/v1/sms/calculate-cost`

## Request

- Base URL: `https://api.iranpayamak.com`
- URL: `https://api.iranpayamak.com/ws/v1/sms/calculate-cost`
- Auth: API key in header `Api-Key`

This API used for calculate cost for this SMS Type:
Simple | Sample | PostalCode | Pattern

## Headers

- `Accept` string

## Request body

- object
  - `text` string, required
  - `receiver_count` integer, required
  - `line_number` string, required
  - `number_format` 'english' | 'persian', required

## Other responses

- `401`

---

[API](https://skmtc.dev/farazsms/apis/farazsms-public-apis.md) - [All operations](https://skmtc.dev/farazsms/apis/farazsms-public-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/farazsms/apis/farazsms-public-apis/revisions/e80a7c5dea3f?raw)
