Amazon Pinpoint · Arazzo Workflow

Amazon Pinpoint Update Endpoint and Send Message

Version 1.0.0

Register or update an endpoint, then send a direct message to it.

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

Provider

amazon-pinpoint

Workflows

update-endpoint-send-message
Upsert an endpoint and then send a direct message to it.
Updates (or creates) an endpoint with channel and address details, then sends a direct message addressed to that endpoint id.
2 steps inputs: address, applicationId, channelType, endpointId, messageRequest outputs: requestId
1
updateEndpoint
Create or update the endpoint with the supplied channel type and address so it is active and ready to receive messages.
2
sendMessage
Send a direct message to the endpoint that was just written, addressing it by endpoint id.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon Pinpoint Update Endpoint and Send Message
  summary: Register or update an endpoint, then send a direct message to it.
  description: >-
    Registers (or updates) an endpoint for a user — for example an email address,
    phone number, or push token — and then immediately sends a direct message to
    that same endpoint id. The send step references the endpoint id supplied to
    the update step, so the message lands on the freshly written endpoint. 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: update-endpoint-send-message
  summary: Upsert an endpoint and then send a direct message to it.
  description: >-
    Updates (or creates) an endpoint with channel and address details, then sends
    a direct message addressed to that endpoint id.
  inputs:
    type: object
    required:
    - applicationId
    - endpointId
    - channelType
    - address
    - messageConfiguration
    properties:
      applicationId:
        type: string
        description: The application that owns the endpoint.
      endpointId:
        type: string
        description: The unique identifier for the endpoint to upsert and message.
      channelType:
        type: string
        description: The channel for the endpoint (e.g. EMAIL, SMS, GCM, APNS).
      address:
        type: string
        description: The destination address for the endpoint (email, phone, or token).
      messageRequest:
        type: object
        description: >-
          The full MessageRequest payload to send, including the Endpoints map
          keyed by the endpoint id and the MessageConfiguration. Supplied as a
          whole object because the Endpoints map key is the dynamic endpoint id,
          which cannot be templated as a literal map key in this request body.
  steps:
  - stepId: updateEndpoint
    description: >-
      Create or update the endpoint with the supplied channel type and address so
      it is active and ready to receive messages.
    operationId: UpdateEndpoint
    parameters:
    - name: application-id
      in: path
      value: $inputs.applicationId
    - name: endpoint-id
      in: path
      value: $inputs.endpointId
    requestBody:
      contentType: application/json
      payload:
        EndpointRequest:
          ChannelType: $inputs.channelType
          Address: $inputs.address
          EndpointStatus: ACTIVE
    successCriteria:
    - condition: $statusCode == 202
    outputs:
      message: $response.body#/MessageBody/Message
  - stepId: sendMessage
    description: >-
      Send a direct message to the endpoint that was just written, addressing it
      by endpoint id.
    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-update-endpoint-send-message-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.