403将联系人添加到sendgrid时出错

问题描述

我正在使用Sendgrid的帐户试用版,并且使用了具有完全访问权限的API密钥。我还参考了本文档doc

enter image description here

这始终是结果

enter image description here

解决方法

我找到了。

您应该使用Guzzle和以下API:https://sendgrid.api-docs.io/v3.0/contacts/add-or-update-a-contact