SendGrid · Arazzo Workflow

SendGrid Create Sender and Resend Verification

Version 1.0.0

Create a Marketing Campaigns sender and resend its verification when not auto-verified.

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

Provider

sendgrid

Workflows

create-sender-and-resend-verification
Create a sender and resend verification when not auto-verified.
Creates a Marketing Campaigns sender and branches: when it is not verified, resends the verification email.
2 steps inputs: address, apiKey, city, country, fromEmail, fromName, nickname, replyToEmail, replyToName outputs: resendStatus, senderId, verified
1
createSender
Create a Marketing Campaigns sender. A sender on an authenticated domain is auto-verified; otherwise a verification email is sent.
2
resendVerification
Resend the verification email for the new sender so the recipient can complete verification.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: SendGrid Create Sender and Resend Verification
  summary: Create a Marketing Campaigns sender and resend its verification when not auto-verified.
  description: >-
    Creates a Marketing Campaigns Sender identity and branches on whether it was
    auto-verified. When a sender's domain is already authenticated SendGrid
    auto-verifies the new sender on creation; otherwise a verification email is
    sent. This workflow creates the sender (201) and, when it is not yet
    verified, resends the verification email (204) so the recipient can complete
    the process. When the sender is already verified the flow ends. Each step
    inlines its request and bearer token so the flow can be run without the
    OpenAPI files.
  version: 1.0.0
sourceDescriptions:
- name: senderIdentitiesApi
  url: ../openapi/sendgrid-sender-identities-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-sender-and-resend-verification
  summary: Create a sender and resend verification when not auto-verified.
  description: >-
    Creates a Marketing Campaigns sender and branches: when it is not verified,
    resends the verification email.
  inputs:
    type: object
    required:
    - apiKey
    - nickname
    - fromEmail
    - fromName
    - replyToEmail
    - replyToName
    - address
    - city
    - country
    properties:
      apiKey:
        type: string
        description: SendGrid API key sent as a bearer token.
      nickname:
        type: string
        description: A nickname for the sender (not used for sending).
      fromEmail:
        type: string
        description: The from email address.
      fromName:
        type: string
        description: The from name shown on sent mail.
      replyToEmail:
        type: string
        description: The reply-to email address.
      replyToName:
        type: string
        description: The reply-to name.
      address:
        type: string
        description: The physical address of the sender.
      city:
        type: string
        description: The city of the sender.
      country:
        type: string
        description: The country of the sender.
  steps:
  - stepId: createSender
    description: >-
      Create a Marketing Campaigns sender. A sender on an authenticated domain
      is auto-verified; otherwise a verification email is sent.
    operationId: CreateSender
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.apiKey"
    requestBody:
      contentType: application/json
      payload:
        nickname: $inputs.nickname
        from:
          email: $inputs.fromEmail
          name: $inputs.fromName
        reply_to:
          email: $inputs.replyToEmail
          name: $inputs.replyToName
        address: $inputs.address
        city: $inputs.city
        country: $inputs.country
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      senderId: $response.body#/id
      verified: $response.body#/verified
    onSuccess:
    - name: notVerified
      type: goto
      stepId: resendVerification
      criteria:
      - context: $response.body
        condition: $.verified == false
        type: jsonpath
    - name: alreadyVerified
      type: end
      criteria:
      - context: $response.body
        condition: $.verified == true
        type: jsonpath
  - stepId: resendVerification
    description: >-
      Resend the verification email for the new sender so the recipient can
      complete verification.
    operationId: ResetSenderVerification
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.apiKey"
    - name: id
      in: path
      value: $steps.createSender.outputs.senderId
    successCriteria:
    - condition: $statusCode == 204
    outputs:
      statusCode: $statusCode
  outputs:
    senderId: $steps.createSender.outputs.senderId
    verified: $steps.createSender.outputs.verified
    resendStatus: $steps.resendVerification.outputs.statusCode

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-create-sender-resend-verification-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.