This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Configuring SendGrid Operations

To use the SendGrid connector, add the <sendgrid.init> element in your configuration before any other SendGrid operations. This will keep the the information such as the apiUser (Username of the sendgrid account) and apiKey (Password of the sendgrid account).

For more information on authentication, see https://sendgrid.com/docs/API_Reference/Marketing_Emails_API/index.html

Init
<sendgrid.init>
   <apiUrl>{$ctx:apiUrl}</apiUrl>
   <apiUser>{$ctx:apiUser}</apiUser>
   <apiKey>{$ctx:apiKey}</apiKey>
</sendgrid.init>

Properties

  • apiUrl: Refers to the application URL.
  • username: The account user name.
  • password: The account password.

Now that you have connected to SendGrid, use the information in the following topics to perform various operations with the connector.

Â