Api-Key: ********************{
"filters": [
{
"postal_code": "12345", // first [3,4,5] digit of postal code
"gender_id": 1,
"age_from": 1305,
"age_to": 1310,
"number_prefix": "912", // nullable
"operator": "mci", // mci,irancell,other
"row_from": 0,
"row_count": 50
}
],
"text": "message text",
"line_id": 12,
"number_format": "english",
"schedule": "2026-04-01T10:00:00Z"
}curl --location --request POST 'https://api.iranpayamak.com/ws/v1/sms/calculate-cost' \
--header 'Accept: application/json' \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"filters": [
{
"postal_code": "12345", // first [3,4,5] digit of postal code
"gender_id": 1,
"age_from": 1305,
"age_to": 1310,
"number_prefix": "912", // nullable
"operator": "mci", // mci,irancell,other
"row_from": 0,
"row_count": 50
}
],
"text": "message text",
"line_id": 12,
"number_format": "english",
"schedule": "2026-04-01T10:00:00Z"
}'{
"status": "string",
"message": "string",
"data": null
}