Amazon Pinpoint Pinpoint Voice API
The Pinpoint Voice API from Amazon Pinpoint — 1 operation(s) for pinpoint voice.
The Pinpoint Voice API from Amazon Pinpoint — 1 operation(s) for pinpoint voice.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/amazon-pinpoint:amazon-pinpoint-voice-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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: 3.2.0
info:
title: Amazon Pinpoint Voice API
version: '2016-12-01'
description: Generated from AWS's published Smithy model for Amazon Pinpoint. 4 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://pinpoint.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
tags:
- name: Voice
paths:
/v1/templates/{TemplateName}/voice:
post:
operationId: CreateVoiceTemplate
summary: Create Voice Template
description: Creates a message template for messages that are sent through the voice channel.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/CreateVoiceTemplateResponse'
'400':
description: BadRequestException
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestException'
'403':
description: ForbiddenException
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenException'
'500':
description: InternalServerErrorException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerErrorException'
'405':
description: MethodNotAllowedException
content:
application/json:
schema:
$ref: '#/components/schemas/MethodNotAllowedException'
'429':
description: TooManyRequestsException
content:
application/json:
schema:
$ref: '#/components/schemas/TooManyRequestsException'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateVoiceTemplateRequest'
tags:
- Voice
delete:
operationId: DeleteVoiceTemplate
summary: Delete Voice Template
description: Deletes a message template for messages that were sent through the voice channel.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteVoiceTemplateResponse'
'400':
description: BadRequestException
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestException'
'403':
description: ForbiddenException
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenException'
'500':
description: InternalServerErrorException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerErrorException'
'405':
description: MethodNotAllowedException
content:
application/json:
schema:
$ref: '#/components/schemas/MethodNotAllowedException'
'404':
description: NotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundException'
'413':
description: PayloadTooLargeException
content:
application/json:
schema:
$ref: '#/components/schemas/PayloadTooLargeException'
'429':
description: TooManyRequestsException
content:
application/json:
schema:
$ref: '#/components/schemas/TooManyRequestsException'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteVoiceTemplateRequest'
tags:
- Voice
get:
operationId: GetVoiceTemplate
summary: Get Voice Template
description: Retrieves the content and settings of a message template for messages that are sent through the voice channel.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/GetVoiceTemplateResponse'
'400':
description: BadRequestException
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestException'
'403':
description: ForbiddenException
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenException'
'500':
description: InternalServerErrorException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerErrorException'
'405':
description: MethodNotAllowedException
content:
application/json:
schema:
$ref: '#/components/schemas/MethodNotAllowedException'
'404':
description: NotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundException'
'413':
description: PayloadTooLargeException
content:
application/json:
schema:
$ref: '#/components/schemas/PayloadTooLargeException'
'429':
description: TooManyRequestsException
content:
application/json:
schema:
$ref: '#/components/schemas/TooManyRequestsException'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/GetVoiceTemplateRequest'
tags:
- Voice
put:
operationId: UpdateVoiceTemplate
summary: Update Voice Template
description: Updates an existing message template for messages that are sent through the voice channel.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateVoiceTemplateResponse'
'400':
description: BadRequestException
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestException'
'403':
description: ForbiddenException
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenException'
'500':
description: InternalServerErrorException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerErrorException'
'405':
description: MethodNotAllowedException
content:
application/json:
schema:
$ref: '#/components/schemas/MethodNotAllowedException'
'404':
description: NotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundException'
'413':
description: PayloadTooLargeException
content:
application/json:
schema:
$ref: '#/components/schemas/PayloadTooLargeException'
'429':
description: TooManyRequestsException
content:
application/json:
schema:
$ref: '#/components/schemas/TooManyRequestsException'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateVoiceTemplateRequest'
tags:
- Voice
components:
schemas:
CreateVoiceTemplateResponse:
type: object
properties:
CreateTemplateMessageBody:
$ref: '#/components/schemas/CreateTemplateMessageBody'
required:
- CreateTemplateMessageBody
NotFoundException:
type: object
properties:
Message:
type: string
description: The message that's returned from the API.
RequestID:
type: string
description: The unique identifier for the request or response.
CreateTemplateMessageBody:
type: object
properties:
Arn:
type: string
description: The Amazon Resource Name (ARN) of the message template that was created.
Message:
type: string
description: The message that's returned from the API for the request to create the message template.
RequestID:
type: string
description: The unique identifier for the request to create the message template.
UpdateVoiceTemplateRequest:
type: object
properties:
CreateNewVersion:
type: boolean
description: 'Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template. If you don''t specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don''t specify a value for the version parameter. Otherwise, an error will occur.'
TemplateName:
type: string
description: The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
Version:
type: string
description: 'The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the Template Versions resource. If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don''t occur. If you don''t specify a value for this parameter, Amazon Pinpoint does the following: For a get op'
VoiceTemplateRequest:
$ref: '#/components/schemas/VoiceTemplateRequest'
required:
- TemplateName
- VoiceTemplateRequest
DeleteVoiceTemplateRequest:
type: object
properties:
TemplateName:
type: string
description: The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
Version:
type: string
description: 'The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the Template Versions resource. If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don''t occur. If you don''t specify a value for this parameter, Amazon Pinpoint does the following: For a get op'
required:
- TemplateName
DeleteVoiceTemplateResponse:
type: object
properties:
MessageBody:
$ref: '#/components/schemas/MessageBody'
required:
- MessageBody
UpdateVoiceTemplateResponse:
type: object
properties:
MessageBody:
$ref: '#/components/schemas/MessageBody'
required:
- MessageBody
MessageBody:
type: object
properties:
Message:
type: string
description: The message that's returned from the API.
RequestID:
type: string
description: The unique identifier for the request or response.
PayloadTooLargeException:
type: object
properties:
Message:
type: string
description: The message that's returned from the API.
RequestID:
type: string
description: The unique identifier for the request or response.
MethodNotAllowedException:
type: object
properties:
Message:
type: string
description: The message that's returned from the API.
RequestID:
type: string
description: The unique identifier for the request or response.
CreateVoiceTemplateRequest:
type: object
properties:
TemplateName:
type: string
description: The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
VoiceTemplateRequest:
$ref: '#/components/schemas/VoiceTemplateRequest'
required:
- TemplateName
- VoiceTemplateRequest
GetVoiceTemplateRequest:
type: object
properties:
TemplateName:
type: string
description: The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
Version:
type: string
description: 'The unique identifier for the version of the message template to update, retrieve information about, or delete. To retrieve identifiers and other information for all the versions of a template, use the Template Versions resource. If specified, this value must match the identifier for an existing template version. If specified for an update operation, this value must match the identifier for the latest existing version of the template. This restriction helps ensure that race conditions don''t occur. If you don''t specify a value for this parameter, Amazon Pinpoint does the following: For a get op'
required:
- TemplateName
InternalServerErrorException:
type: object
properties:
Message:
type: string
description: The message that's returned from the API.
RequestID:
type: string
description: The unique identifier for the request or response.
GetVoiceTemplateResponse:
type: object
properties:
VoiceTemplateResponse:
$ref: '#/components/schemas/VoiceTemplateResponse'
required:
- VoiceTemplateResponse
ForbiddenException:
type: object
properties:
Message:
type: string
description: The message that's returned from the API.
RequestID:
type: string
description: The unique identifier for the request or response.
VoiceTemplateResponse:
type: object
properties:
Arn:
type: string
description: The Amazon Resource Name (ARN) of the message template.
Body:
type: string
description: The text of the script that's used in messages that are based on the message template, in plain text format.
CreationDate:
type: string
description: The date, in ISO 8601 format, when the message template was created.
DefaultSubstitutions:
type: string
description: The JSON object that specifies the default values that are used for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.
LanguageCode:
type: string
description: The code for the language that's used when synthesizing the text of the script in messages that are based on the message template. For a list of supported languages and the code for each one, see the Amazon Polly Developer Guide.
LastModifiedDate:
type: string
description: The date, in ISO 8601 format, when the message template was last modified.
tags:
type: object
additionalProperties:
type: string
description: A string-to-string map of key-value pairs that identifies the tags that are associated with the message template. Each tag consists of a required tag key and an associated tag value.
TemplateDescription:
type: string
description: The custom description of the message template.
TemplateName:
type: string
description: The name of the message template.
TemplateType:
type: string
enum:
- EMAIL
- SMS
- VOICE
- PUSH
- INAPP
description: The type of channel that the message template is designed for. For a voice template, this value is VOICE.
Version:
type: string
description: The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.
VoiceId:
type: string
description: The name of the voice that's used when delivering messages that are based on the message template. For a list of supported voices, see the Amazon Polly Developer Guide.
required:
- CreationDate
- LastModifiedDate
- TemplateName
- TemplateType
TooManyRequestsException:
type: object
properties:
Message:
type: string
description: The message that's returned from the API.
RequestID:
type: string
description: The unique identifier for the request or response.
VoiceTemplateRequest:
type: object
properties:
Body:
type: string
description: The text of the script to use in messages that are based on the message template, in plain text format.
DefaultSubstitutions:
type: string
description: A JSON object that specifies the default values to use for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable. When you create a message that's based on the template, you can override these defaults with message-specific and address-specific variables and values.
LanguageCode:
type: string
description: The code for the language to use when synthesizing the text of the script in messages that are based on the message template. For a list of supported languages and the code for each one, see the Amazon Polly Developer Guide.
tags:
type: object
additionalProperties:
type: string
description: As of 22-05-2023 tags has been deprecated for update operations. After this date any value in tags is not processed and an error code is not returned. To manage tags we recommend using either Tags in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi in the AWS SDK. (Deprecated) A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.
TemplateDescription:
type: string
description: A custom description of the message template.
VoiceId:
type: string
description: The name of the voice to use when delivering messages that are based on the message template. For a list of supported voices, see the Amazon Polly Developer Guide.
BadRequestException:
type: object
properties:
Message:
type: string
description: The message that's returned from the API.
RequestID:
type: string
description: The unique identifier for the request or response.
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: mobiletargeting
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/pinpoint/service/2016-12-01/pinpoint-2016-12-01.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)