Amazon Pinpoint · Arazzo Workflow

Amazon Pinpoint Batch Update Endpoints and Send

Version 1.0.0

Upsert a batch of endpoints then send a direct message to the project.

1 workflow 1 source API 1 provider
View Spec View on GitHub CampaignsCommunicationsEmailMarketingMessagingPush NotificationsSMSVoiceCustomer EngagementSegmentationJourneysAnalyticsArazzoWorkflows

Provider

amazon-pinpoint

Workflows

batch-update-endpoints-send
Bulk upsert endpoints then send a direct message.
Updates a batch of endpoints in one request, then sends a direct message in the same application using the supplied MessageRequest payload.
2 steps inputs: applicationId, endpointBatchItems, messageRequest outputs: requestId
1
updateEndpointsBatch
Create or update the batch of endpoints in a single request so the audience is current before sending.
2
sendMessage
Send a direct message in the same application now that the endpoint batch has been written.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon Pinpoint Batch Update Endpoints and Send
  summary: Upsert a batch of endpoints then send a direct message to the project.
  description: >-
    Bulk-registers or updates up to a hundred endpoints in one call and then sends
    a direct message in the same project. This is the efficient ingestion pattern
    for syncing an audience from an external system and then immediately reaching
    them. Each step spells out its request inline so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: appsApi
  url: ../openapi/amazon-pinpoint-apps-api-openapi.yml
  type: openapi
workflows:
- workflowId: batch-update-endpoints-send
  summary: Bulk upsert endpoints then send a direct message.
  description: >-
    Updates a batch of endpoints in one request, then sends a direct message in
    the same application using the supplied MessageRequest payload.
  inputs:
    type: object
    required:
    - applicationId
    - endpointBatchItems
    - messageRequest
    properties:
      applicationId:
        type: string
        description: The application that owns the endpoints.
      endpointBatchItems:
        type: array
        description: The array of EndpointBatchItem objects to create or update (max 100).
      messageRequest:
        type: object
        description: The full MessageRequest payload to send after the batch upsert.
  steps:
  - stepId: updateEndpointsBatch
    description: >-
      Create or update the batch of endpoints in a single request so the audience
      is current before sending.
    operationId: UpdateEndpointsBatch
    parameters:
    - name: application-id
      in: path
      value: $inputs.applicationId
    requestBody:
      contentType: application/json
      payload:
        EndpointBatchRequest:
          Item: $inputs.endpointBatchItems
    successCriteria:
    - condition: $statusCode == 202
    outputs:
      message: $response.body#/MessageBody/Message
  - stepId: sendMessage
    description: >-
      Send a direct message in the same application now that the endpoint batch
      has been written.
    operationId: SendMessages
    parameters:
    - name: application-id
      in: path
      value: $inputs.applicationId
    requestBody:
      contentType: application/json
      payload:
        MessageRequest: $inputs.messageRequest
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      requestId: $response.body#/MessageResponse/RequestId
  outputs:
    requestId: $steps.sendMessage.outputs.requestId

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/amazon-pinpoint-batch-update-endpoints-send-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.