Authorizations
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
curl --request GET \
  --url https://{appid}.api-{region}.cometchat.io/v3/notifications/email/v1/providers/sendgrid \
  --header 'apikey: <api-key>'{
  "data": {
    "sendGridApiKey": "SG.9ipFP4b17yT-Fff2GGrH8FF0GqdkBohXAEI4GnTSj9Q=",
    "sendGridTemplateID": "d-8284bb9646a040499d5cfa28d272a094",
    "sendGridUnsubscribeGroupID": "33832",
    "senderEmail": "noreply@em123.example.com",
    "senderName": "Emailer"
  }
}Fetches the SendGrid credentials stored for the app.
curl --request GET \
  --url https://{appid}.api-{region}.cometchat.io/v3/notifications/email/v1/providers/sendgrid \
  --header 'apikey: <api-key>'{
  "data": {
    "sendGridApiKey": "SG.9ipFP4b17yT-Fff2GGrH8FF0GqdkBohXAEI4GnTSj9Q=",
    "sendGridTemplateID": "d-8284bb9646a040499d5cfa28d272a094",
    "sendGridUnsubscribeGroupID": "33832",
    "senderEmail": "noreply@em123.example.com",
    "senderName": "Emailer"
  }
}API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Was this page helpful?