We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have noticed that some API calls require custom headers. For example, in creating a new webhook, it has custom headers as follows
{ "name": "Example webhook", "target": "http://client.example.com/example-webhook", "custom_headers": { "x-api-key": "abcd" }, "auth_type": "oauth2", etc...
But, the SparkPost.Webhook object does not contain a property for the custom headers.
Am I looking in the wrong place or is this a gap in the API ?
The text was updated successfully, but these errors were encountered:
Added custom headers to webhooks
ea1e069
Addressed darrencauthon#158 by adding CustomHeaders to the Webhook class
No branches or pull requests
I have noticed that some API calls require custom headers. For example, in creating a new webhook, it has custom headers as follows
{
"name": "Example webhook",
"target": "http://client.example.com/example-webhook",
"custom_headers": {
"x-api-key": "abcd"
},
"auth_type": "oauth2", etc...
But, the SparkPost.Webhook object does not contain a property for the custom headers.
Am I looking in the wrong place or is this a gap in the API ?
The text was updated successfully, but these errors were encountered: