{
  "opencollection": "1.0.0",
  "info": {
    "name": "Transactional SMS",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "transactionalSms",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Send SMS message asynchronously to a mobile number",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.brevo.com/v3/transactionalSMS/send",
            "headers": [
              {
                "name": "api-key",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "<Note>If the user includes stop code in the Transactional SMS, then it will be switched to Marketing SMS automatically and it will be interpreted as a Marketing SMS. To send Transactional SMS as Transactional, it is important not to use stop code.\nNote: For adding a stop code, client has to add reply STOP to [STOP_CODE] and the [STOP_CODE] will be replaced with the number.</Note>\n<Note title=\"For end users in France\">Transactional SMS can be sent at any time without time restrictions. However, i"
        },
        {
          "info": {
            "name": "Get your SMS activity aggregated over a period of time",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.brevo.com/v3/transactionalSMS/statistics/aggregatedReport",
            "headers": [
              {
                "name": "api-key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "startDate",
                "value": "",
                "type": "query",
                "description": "**Mandatory if endDate is used.** Starting date (YYYY-MM-DD) of the report\n"
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query",
                "description": "**Mandatory if startDate is used.** Ending date (YYYY-MM-DD) of the report\n"
              },
              {
                "name": "days",
                "value": "",
                "type": "query",
                "description": "Number of days in the past including today (positive integer). **Not compatible with startDate and endDate**\n"
              },
              {
                "name": "tag",
                "value": "",
                "type": "query",
                "description": "Filter on a tag"
              }
            ]
          },
          "docs": "Retrieve an aggregated report of your transactional SMS activity over a specified time period, including counts for requests, delivered, hard bounces, soft bounces, blocked, unsubscribed, replied, accepted, rejected, and skipped messages. Filter by date range using `startDate` and `endDate` (both required together, YYYY-MM-DD format) or by a number of past `days` (not compatible with date range). You can further narrow results by `tag`. If no date filter is provided, the report covers all availa"
        },
        {
          "info": {
            "name": "Get your SMS activity aggregated per day",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.brevo.com/v3/transactionalSMS/statistics/reports",
            "headers": [
              {
                "name": "api-key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "startDate",
                "value": "",
                "type": "query",
                "description": "**Mandatory if endDate is used.** Starting date (YYYY-MM-DD) of the report\n"
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query",
                "description": "**Mandatory if startDate is used.** Ending date (YYYY-MM-DD) of the report\n"
              },
              {
                "name": "days",
                "value": "",
                "type": "query",
                "description": "Number of days in the past including today (positive integer). **Not compatible with 'startDate' and 'endDate'**\n"
              },
              {
                "name": "tag",
                "value": "",
                "type": "query",
                "description": "Filter on a tag"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed"
              }
            ]
          },
          "docs": "Retrieve a day-by-day breakdown of your transactional SMS activity, with each entry containing the date and counts for requests, delivered, hard bounces, soft bounces, blocked, unsubscribed, replied, accepted, rejected, and skipped messages. Filter by date range using `startDate` and `endDate` (both required together, YYYY-MM-DD format), by a number of past `days` (not compatible with date range), or by `tag`. Results are sorted in descending order by default unless overridden with the `sort` pa"
        },
        {
          "info": {
            "name": "Get all your SMS activity (unaggregated events)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.brevo.com/v3/transactionalSMS/statistics/events",
            "headers": [
              {
                "name": "api-key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of documents per page"
              },
              {
                "name": "startDate",
                "value": "",
                "type": "query",
                "description": "**Mandatory if endDate is used.** Starting date (YYYY-MM-DD) of the report\n"
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query",
                "description": "**Mandatory if startDate is used.** Ending date (YYYY-MM-DD) of the report\n"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Index of the first document of the page"
              },
              {
                "name": "days",
                "value": "",
                "type": "query",
                "description": "Number of days in the past including today (positive integer). **Not compatible with 'startDate' and 'endDate'**\n"
              },
              {
                "name": "phoneNumber",
                "value": "",
                "type": "query",
                "description": "Filter the report for a specific phone number"
              },
              {
                "name": "event",
                "value": "",
                "type": "query",
                "description": "Filter the report for specific events"
              },
              {
                "name": "tags",
                "value": "",
                "type": "query",
                "description": "Filter the report for specific tags passed as a serialized urlencoded array"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed"
              }
            ]
          },
          "docs": "Retrieve a paginated list of individual SMS event records (unaggregated), including event type, phone number, message ID, timestamp, tag, and reason or reply content where applicable. Results default to 50 per page (max 100) and are sorted in descending order unless overridden. Filter by date range (`startDate`/`endDate`), past `days` (not compatible with date range), specific `event` type (e.g. delivered, bounces, replies), `phoneNumber`, or `tags`. Bounce events include the failure reason, and"
        }
      ]
    }
  ],
  "bundled": true
}