# SmsCampaign_RecipientsExclusionLists Get an SMS campaign Retrieve detailed information about a specific SMS campaign by its ID, including campaign content, sender, recipients with list names, statistics (delivered, sent, bounces, unsubscriptions, answered), and tags. Unlike the list endpoint, recipients are returned as objects with id and name fields rather than plain IDs. - Catalog: `Brevo` - Schema: `SMSCampaigns` This is a read-only table function. The Sendinblue API may not support changing the data or the Invantive UniversalSQL driver for Sendinblue does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Sendinblue API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `SmsCampaign_RecipientsExclusionLists`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values. Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three. Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third. | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `campaignId` | `` | ☑ | | id of the SMS campaign | ## Columns of Table Function The columns of the table function `SmsCampaign_RecipientsExclusionLists` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `content` | `varchar2` | Content | ☐ | Content of the SMS Campaign | | `createdAt` | `varchar2` | Creation Date | ☐ | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | | `id_2` | `int64` | | ☐ | ID of the exclusion list | | `id` | `int64` | ID | ☐ | ID of the SMS Campaign | | `modifiedAt` | `varchar2` | Modified Date | ☐ | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | | `name_2` | `varchar2` | | ☐ | Name of the exclusion list | | `name` | `varchar2` | Name | ☐ | Name of the SMS Campaign | | `organisationPrefix` | `varchar2` | | ☐ | A recognizable prefix added as the Brand Name before the message content. Empty string if not set. | | `scheduledAt` | `varchar2` | Schedule Date | ☐ | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format. Empty string if not scheduled. | | `sender` | `varchar2` | Sender | ☐ | Sender of the SMS Campaign | | `sentDate` | `varchar2` | Sent Date | ☐ | UTC date-time on which the SMS campaign was sent (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if the campaign status is 'sent'. | | `statistics` | `varchar2` | Statistics | ☐ | | | `status` | `varchar2` | Status | ☐ | Status of the SMS Campaign | | `unsubscribeInstruction` | `varchar2` | | ☐ | Instructions to unsubscribe from future communications. Empty string if not set. |