news-ai / tabulae

API for media list management
https://tabulae.newsai.org/
0 stars 0 forks source link

catch 22 issue with sendgrid api: generate api key using api in order to use batchid #316

Closed AbhiAgarwal closed 7 years ago

AbhiAgarwal commented 7 years ago

https://github.com/sendgrid/sendgrid-php/issues/263

AbhiAgarwal commented 7 years ago

https://api.sendgrid.com/v3/api_keys

"Authorization: Basic " . base64_encode("$username:$password")

"scopes": [
  "mail.batch.create",
  "mail.batch.delete",
  "mail.batch.read",
  "mail.batch.update",
  "mail.send"
]
{
  "name": "BatchID api",
  "scopes": [
    "mail.batch.create",
    "mail.batch.delete",
    "mail.batch.read",
    "mail.batch.update",
    "mail.send"
  ]
}