SendGrid Webhook Security API

Twilio SendGrid Webhook Security API

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v3/user/webhooks/security/policies Create a webhook security policy · Create a new webhook security policy #
Ask an LLM
“How do I make webhooks sign their requests so I can verify them?”
“Can a webhook security policy use OAuth instead of a signature?”
Tell an agent
Create webhook security policy {name} with signature settings {signature}.
Create a webhook policy {name} that authenticates with OAuth {oauth}.
GET /v3/user/webhooks/security/policies List webhook security policies · Retrieve all webhook security policies for your account #
Ask an LLM
“Which webhook security policies are configured on my account?”
“Can I see whether each webhook policy uses signing or OAuth?”
Tell an agent
List all my webhook security policies.
Show every webhook security policy with its configuration.
PATCH /v3/user/webhooks/security/policies/{id} Update a webhook security policy · Update an existing webhook security policy #
Ask an LLM
“Can I rotate or change the signing settings on an existing webhook policy?”
“Is renaming a webhook security policy supported?”
Tell an agent
Rename webhook security policy {id} to {name}.
Change the OAuth settings on webhook policy {id} to {oauth}.
GET /v3/user/webhooks/security/policies/{id} View one webhook security policy · Retrieve a specific webhook security policy #
Ask an LLM
“What settings does a specific webhook security policy have?”
“Can I look up a webhook policy by its ID?”
Tell an agent
Show webhook security policy {id}.
Get the signature and OAuth details of policy {id}.
DELETE /v3/user/webhooks/security/policies/{id} Delete a webhook security policy · Delete a specific webhook security policy #
Ask an LLM
“Can I delete a webhook security policy that's still in use?”
“Is deleting a webhook policy permanent?”
Tell an agent destructive · confirm first
Delete webhook security policy {id}.
Force-delete webhook policy {id} with force set to {force}.

Documentation

📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/account-provisioning
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/alerts
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/api-keys
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/domain-authentication
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/email-activity
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/email-address-validation
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/enforced-tls
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/sendgrid-integrations
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/ip-access-management
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/ip-address-management-api
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/ip-warmup
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/ip-address
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/link-branding
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/campaigns-api
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/contacts-api-custom-fields
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/sender-identities-api
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/mail-settings
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/mail-send
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/contacts
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/custom-fields
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/designs-api
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/lists
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/segmenting-contacts-v2
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/segmenting-contacts
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/senders
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/single-sends
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/marketing-campaign-stats
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/send-test-email
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/partner-settings
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/recipients-data-erasure
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/reverse-dns
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/cancel-scheduled-sends
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/api-key-permissions
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/sendgrid-engagement-quality-api
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/single-sign-on-settings
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/stats
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/subusers-api
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/suppressions-unsubscribe-groups
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/teammates
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/transactional-templates
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/settings-tracking
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/users-api
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/sender-verification
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/webhooks

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sendgrid-webhook-security-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sendgrid-webhook-security-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Twilio SendGrid Webhook Configuration Webhook Security API
  summary: The Twilio SendGrid Webhooks API allows you to configure the Event and Parse Webhooks.
  description: The Twilio SendGrid Webhooks API allows you to configure the Event and Parse Webhooks.
  termsOfService: https://www.twilio.com/legal/tos
  contact:
    name: Twilio SendGrid Support
    url: https://support.sendgrid.com/hc/en-us
  license:
    name: MIT
    url: https://code.hq.twilio.com/twilio/sendgrid-oas/blob/main/LICENSE
  version: 1.0.0
  x-sendgrid:
    libraryPackage: webhooks
servers:
- url: https://api.sendgrid.com
  description: for global users and subusers
- url: https://api.eu.sendgrid.com
  description: for EU regional subusers
security:
- BearerAuth: []
tags:
- name: Webhook Security
  description: Twilio SendGrid Webhook Security API
paths:
  /v3/user/webhooks/security/policies:
    post:
      operationId: CreateSecurityPolicy
      summary: Create a new webhook security policy
      tags:
      - Webhook Security
      description: 'Create a new webhook security policy. Note: One of signature or oauth must be given to have a valid security policy.'
      parameters:
      - $ref: '#/components/parameters/OnBehalfOf'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: User-defined policy name
                oauth:
                  type: object
                  properties:
                    client_id:
                      type: string
                    client_secret:
                      type: string
                    token_url:
                      type: string
                    scopes:
                      type: array
                      items:
                        type: string
                signature:
                  type: object
                  properties:
                    enabled:
                      type: boolean
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: object
                properties:
                  policy:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      oauth:
                        type: object
                        properties:
                          client_id:
                            type: string
                          token_url:
                            type: string
                          scopes:
                            type: array
                            items:
                              type: string
                      signature:
                        type: object
                        properties:
                          public_key:
                            type: string
    get:
      operationId: ListAllSecurityPolicies
      summary: Retrieve all webhook security policies for your account
      tags:
      - Webhook Security
      description: Returns a list of all webhook security policies configured for your account, including their IDs, names, and security configurations.
      parameters:
      - $ref: '#/components/parameters/OnBehalfOf'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  policies:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        oauth:
                          type: object
                          properties:
                            client_id:
                              type: string
                            token_url:
                              type: string
                            scopes:
                              type: array
                              items:
                                type: string
                        signature:
                          type: object
                          properties:
                            public_key:
                              type: string
  /v3/user/webhooks/security/policies/{id}:
    patch:
      operationId: UpdateSecurityPolicy
      summary: Update an existing webhook security policy
      tags:
      - Webhook Security
      description: Update an existing webhook security policy with new configuration values.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/OnBehalfOf'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: User-defined policy name
                oauth:
                  type: object
                  properties:
                    client_id:
                      type: string
                    client_secret:
                      type: string
                    token_url:
                      type: string
                    scopes:
                      type: array
                      items:
                        type: string
                signature:
                  type: object
                  properties:
                    enabled:
                      type: boolean
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  policy:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      oauth:
                        type: object
                        properties:
                          client_id:
                            type: string
                          token_url:
                            type: string
                          scopes:
                            type: array
                            items:
                              type: string
    get:
      operationId: GetSecurityPolicy
      summary: Retrieve a specific webhook security policy
      tags:
      - Webhook Security
      description: Retrieve the details of a specific webhook security policy by its ID.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/OnBehalfOf'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  policy:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      oauth:
                        type: object
                        properties:
                          client_id:
                            type: string
                          token_url:
                            type: string
                          scopes:
                            type: array
                            items:
                              type: string
                      signature:
                        type: object
                        properties:
                          public_key:
                            type: string
    delete:
      operationId: DeleteSecurityPolicy
      summary: Delete a specific webhook security policy
      tags:
      - Webhook Security
      description: Permanently delete a webhook security policy by its ID.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: force
        in: query
        required: false
        schema:
          type: boolean
      - $ref: '#/components/parameters/OnBehalfOf'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  policy:
                    type: string
                    nullable: true
components:
  parameters:
    OnBehalfOf:
      name: on-behalf-of
      in: header
      description: 'The `on-behalf-of` header allows you to make API calls from a parent account on behalf of the parent''s Subusers or customer accounts. You will use the parent account''s API key when using this header. When making a call on behalf of a customer account, the property value should be "account-id" followed by the customer account''s ID (e.g., `on-behalf-of: account-id <account-id>`). When making a call on behalf of a Subuser, the property value should be the Subuser''s username (e.g., `on-behalf-of: <subuser-username>`). See [**On Behalf Of**](https://docs.sendgrid.com/api-reference/how-to-use-the-sendgrid-v3-api/on-behalf-of) for more information.'
      required: false
      schema:
        type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Twilio SendGrid requires you to authenticate with its APIs using an API key. The API key must be sent as a bearer token in the Authorization header.
externalDocs:
  description: Twilio SendGrid's official developer documentation.
  url: https://www.twilio.com/docs/sendgrid