SendGrid · Arazzo Workflow

SendGrid Suppression Group Add

Version 1.0.0

Create an unsubscribe suppression group, add addresses to it, and list its suppressions.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub EmailEmail APIMarketing EmailSMTPT1Transactional EmailEmail MarketingDeliverabilityMarketingArazzoWorkflows

Provider

sendgrid

Workflows

suppression-group-add
Create an unsubscribe group, add suppressions, and list them.
Creates a suppression group, adds email addresses to it, and lists the group's suppressions to confirm.
3 steps inputs: apiKey, emails, groupDescription, groupName outputs: addedEmails, groupId, suppressions
1
createGroup
Create a new unsubscribe suppression group.
2
addSuppressions
Add the supplied email addresses to the new suppression group so they are suppressed for mail tagged with the group.
3
listSuppressions
List the group's suppressions to confirm the addresses were added.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: SendGrid Suppression Group Add
  summary: Create an unsubscribe suppression group, add addresses to it, and list its suppressions.
  description: >-
    Builds an unsubscribe group and populates it. The workflow creates a new
    suppression (unsubscribe) group, adds one or more email addresses to that
    group so they are suppressed for mail tagged with the group, and then lists
    the group's suppressions to confirm. Group creation returns 201, adding
    suppressions returns 201, and listing returns 200. Each step inlines its
    request and bearer token so the flow can be read and run without the OpenAPI
    files.
  version: 1.0.0
sourceDescriptions:
- name: suppressionsApi
  url: ../openapi/sendgrid-suppressions-api-openapi.yml
  type: openapi
- name: unsubscribeGroupsApi
  url: ../openapi/sendgrid-unsubscribe-groups-api-openapi.yml
  type: openapi
workflows:
- workflowId: suppression-group-add
  summary: Create an unsubscribe group, add suppressions, and list them.
  description: >-
    Creates a suppression group, adds email addresses to it, and lists the
    group's suppressions to confirm.
  inputs:
    type: object
    required:
    - apiKey
    - groupName
    - groupDescription
    - emails
    properties:
      apiKey:
        type: string
        description: SendGrid API key sent as a bearer token.
      groupName:
        type: string
        description: The name of the new suppression group.
      groupDescription:
        type: string
        description: A brief description of the suppression group.
      emails:
        type: array
        description: Email addresses to add to the suppression group.
        items:
          type: string
  steps:
  - stepId: createGroup
    description: Create a new unsubscribe suppression group.
    operationId: CreatAsmGroup
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.apiKey"
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.groupName
        description: $inputs.groupDescription
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      groupId: $response.body#/id
  - stepId: addSuppressions
    description: >-
      Add the supplied email addresses to the new suppression group so they are
      suppressed for mail tagged with the group.
    operationId: AddSuppressionToAsmGroup
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.apiKey"
    - name: group_id
      in: path
      value: $steps.createGroup.outputs.groupId
    requestBody:
      contentType: application/json
      payload:
        recipient_emails: $inputs.emails
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      recipientEmails: $response.body#/recipient_emails
  - stepId: listSuppressions
    description: List the group's suppressions to confirm the addresses were added.
    operationId: ListSuppressionFromAsmGroup
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.apiKey"
    - name: group_id
      in: path
      value: $steps.createGroup.outputs.groupId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      suppressions: $response.body
  outputs:
    groupId: $steps.createGroup.outputs.groupId
    addedEmails: $steps.addSuppressions.outputs.recipientEmails
    suppressions: $steps.listSuppressions.outputs.suppressions

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • 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 workflow
curl "https://apis.io/api/v1/arazzo/sendgrid-suppression-group-add-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?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.