application/json

Body

object object

Responses

  • 200

    OK

    Hide headers attributes Show headers attributes
    • Cross-Origin-Embedder-Policy string
    • Cross-Origin-Opener-Policy string
    • Cross-Origin-Resource-Policy string
    • Origin-Agent-Cluster string
    • Referrer-Policy string
    • Strict-Transport-Security string
    • X-Content-Type-Options string
    • X-DNS-Prefetch-Control string
    • X-Download-Options string
    • X-Frame-Options string
    • X-Permitted-Cross-Domain-Policies string
    • X-XSS-Protection integer
    • Access-Control-Allow-Origin string
    • Access-Control-Allow-Credentials boolean
    • Retry-After number
    • X-RateLimit-Limit integer
    • X-RateLimit-Remaining integer
    • X-RateLimit-Reset string
    • x-powered-by string
    • Content-Type string
    • Content-Length integer
    • ETag string
    • Date string
    • Connection string
    • Keep-Alive string
POST /sms/bulk
curl \
 -X POST http://localhost:3003/api/dev/sms/bulk \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"to":["+21658076667","+21625675725","+21627342657","+21627342657","+21652837621","+21655801423","+21656164333","+21658085166","+21658889410","+21696117391"],"message":"Bonjour, Votre participation à la formation FPS le 09-10/09/2023 à la Maison des Associations de Rades est confirmée. Le début de la formation est prévu à 10h00 le 09/09/23. Veuillez arriver 30 minutes avant pour l'inscription, le paiement des frais, et la remise des documents nécessaires. Bonne formation !"}'
Request example
{
  "to": [
    "+21658076667",
    "+21625675725",
    "+21627342657",
    "+21627342657",
    "+21652837621",
    "+21655801423",
    "+21656164333",
    "+21658085166",
    "+21658889410",
    "+21696117391"
  ],
  "message": "Bonjour, Votre participation à la formation FPS le 09-10/09/2023 à la Maison des Associations de Rades est confirmée. Le début de la formation est prévu à 10h00 le 09/09/23. Veuillez arriver 30 minutes avant pour l'inscription, le paiement des frais, et la remise des documents nécessaires. Bonne formation !"
}
Request examples
{
  "to": [
    "+21658076667",
    "+21625675725",
    "+21627342657",
    "+21627342657",
    "+21652837621",
    "+21655801423",
    "+21656164333",
    "+21658085166",
    "+21658889410",
    "+21696117391"
  ],
  "message": "Bonjour, Votre participation à la formation FPS le 09-10/09/2023 à la Maison des Associations de Rades est confirmée. Le début de la formation est prévu à 10h00 le 09/09/23. Veuillez arriver 30 minutes avant pour l'inscription, le paiement des frais, et la remise des documents nécessaires. Bonne formation !"
}
Response examples (200)
# Headers
Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Resource-Policy: same-origin
Origin-Agent-Cluster: ?1
Referrer-Policy: no-referrer
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Content-Type-Options: nosniff
X-DNS-Prefetch-Control: off
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-XSS-Protection: 0
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Retry-After: 376.659
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 92
X-RateLimit-Reset: Mon Oct 30 2023 03:06:04 GMT+0100 (Central European Standard Time)
x-powered-by: TUNISIAN RED CRESSCENT
Content-Type: application/json; charset=utf-8
Content-Length: 291
ETag: W/"123-8olB3RDWDwEaH1dShte1JNu7kBM"
Date: Mon, 30 Oct 2023 01:59:51 GMT
Connection: keep-alive
Keep-Alive: timeout=5

# Payload
{
  "code": 200,
  "result": [
    "Message sent to +21658076667: SMfc39043c1a94ec252aed04771db6dd34",
    "Message sent to +21658076667: SM9a975ea008791b1afd5b84c902356bd2",
    "Message sent to +21658076667: SMf56b38abcd80742170ceca56619289c6",
    "Message sent to +21658076667: SMe72c9ecc69c32e6abe420fe5799a479f"
  ]
}
Response examples (200)
# Headers
Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Resource-Policy: same-origin
Origin-Agent-Cluster: ?1
Referrer-Policy: no-referrer
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Content-Type-Options: nosniff
X-DNS-Prefetch-Control: off
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-XSS-Protection: 0
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Retry-After: 376.659
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 92
X-RateLimit-Reset: Mon Oct 30 2023 03:06:04 GMT+0100 (Central European Standard Time)
x-powered-by: TUNISIAN RED CRESSCENT
Content-Type: application/json; charset=utf-8
Content-Length: 291
ETag: W/"123-8olB3RDWDwEaH1dShte1JNu7kBM"
Date: Mon, 30 Oct 2023 01:59:51 GMT
Connection: keep-alive
Keep-Alive: timeout=5

# Payload
{}