Amazon SES Ses Identity Policy API

The Ses Identity Policy API from Amazon SES — 4 operation(s) for ses identity policy.

GitHub OpenAPI

Operations 4

POST /?Action=DeleteIdentityPolicy Delete Identity Policy #
POST /?Action=GetIdentityPolicies Get Identity Policies #
POST /?Action=ListIdentityPolicies List Identity Policies #
POST /?Action=PutIdentityPolicy Put Identity Policy #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-ses:amazon-ses-identity-policy-api"
All apis
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.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-ses-identity-policy-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Simple Email Service Identity Policy API
  version: '2010-12-01'
  description: Generated from AWS's published Smithy model for Amazon Simple Email Service. 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://email.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /?Action=DeleteIdentityPolicy:
    post:
      operationId: DeleteIdentityPolicy
      summary: Delete Identity Policy
      description: Deletes the specified sending authorization policy for the given identity (an email address or a domain).
        This operation returns successfully even if a policy with the specified name does not exist. This operation is for
        the identity owner only. If you have not verified the identity, it returns an error. Sending authorization is a feature
        that enables an identity owner to authorize other senders to use its identities. For information about using sending
        authorization, see the Amazon SES Developer Guide. You can execute this operation no more than once per second.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DeleteIdentityPolicyResponse'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DeleteIdentityPolicy
                  Version:
                    type: string
                    const: '2010-12-01'
              - $ref: '#/components/schemas/DeleteIdentityPolicyRequest'
            example:
              Identity: user@example.com
              PolicyName: MyPolicy
      tags:
      - Identity Policy
  /?Action=GetIdentityPolicies:
    post:
      operationId: GetIdentityPolicies
      summary: Get Identity Policies
      description: Returns the requested sending authorization policies for the given identity (an email address or a domain).
        The policies are returned as a map of policy names to policy contents. You can retrieve a maximum of 20 policies at
        a time. This operation is for the identity owner only. If you have not verified the identity, it returns an error.
        Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities.
        For information about using sending authorization, see the Amazon SES Developer Guide. You can execute this operation
        no more than once per second.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/GetIdentityPoliciesResponse'
              example:
                Policies:
                  MyPolicy: '{"Version":"2008-10-17","Statement":[{"Sid":"stmt1469123904194","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::123456789012:root"},"Action":["ses:SendEmail","ses:SendRawEmail"],"Resource":"arn:aws:ses:us-east-1:EXAMPLE65304:identity/example.com"}]}'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: GetIdentityPolicies
                  Version:
                    type: string
                    const: '2010-12-01'
              - $ref: '#/components/schemas/GetIdentityPoliciesRequest'
            example:
              Identity: example.com
              PolicyNames:
              - MyPolicy
      tags:
      - Identity Policy
  /?Action=ListIdentityPolicies:
    post:
      operationId: ListIdentityPolicies
      summary: List Identity Policies
      description: Returns a list of sending authorization policies that are attached to the given identity (an email address
        or a domain). This operation returns only a list. To get the actual policy content, use GetIdentityPolicies. This
        operation is for the identity owner only. If you have not verified the identity, it returns an error. Sending authorization
        is a feature that enables an identity owner to authorize other senders to use its identities. For information about
        using sending authorization, see the Amazon SES Developer Guide. You can execute this operation no more than once
        per second.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ListIdentityPoliciesResponse'
              example:
                PolicyNames:
                - MyPolicy
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: ListIdentityPolicies
                  Version:
                    type: string
                    const: '2010-12-01'
              - $ref: '#/components/schemas/ListIdentityPoliciesRequest'
            example:
              Identity: example.com
      tags:
      - Identity Policy
  /?Action=PutIdentityPolicy:
    post:
      operationId: PutIdentityPolicy
      summary: Put Identity Policy
      description: Adds or updates a sending authorization policy for the specified identity (an email address or a domain).
        This operation is for the identity owner only. If you have not verified the identity, it returns an error. Sending
        authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information
        about using sending authorization, see the Amazon SES Developer Guide. You can execute this operation no more than
        once per second.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/PutIdentityPolicyResponse'
        '400':
          description: InvalidPolicyException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/InvalidPolicyException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: PutIdentityPolicy
                  Version:
                    type: string
                    const: '2010-12-01'
              - $ref: '#/components/schemas/PutIdentityPolicyRequest'
            example:
              Identity: example.com
              PolicyName: MyPolicy
              Policy: '{"Version":"2008-10-17","Statement":[{"Sid":"stmt1469123904194","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::123456789012:root"},"Action":["ses:SendEmail","ses:SendRawEmail"],"Resource":"arn:aws:ses:us-east-1:EXAMPLE65304:identity/example.com"}]}'
      tags:
      - Identity Policy
components:
  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: ses
  schemas:
    DeleteIdentityPolicyRequest:
      type: object
      properties:
        Identity:
          type: string
          description: 'The identity that is associated with the policy to delete. You can specify the identity by using its
            name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.
            To successfully call this operation, you must own the identity.'
        PolicyName:
          type: string
          description: The name of the policy to be deleted.
      required:
      - Identity
      - PolicyName
    DeleteIdentityPolicyResponse:
      type: object
      properties: {}
    GetIdentityPoliciesRequest:
      type: object
      properties:
        Identity:
          type: string
          description: 'The identity for which the policies are retrieved. You can specify an identity by using its name or
            by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.
            To successfully call this operation, you must own the identity.'
        PolicyNames:
          type: array
          items:
            type: string
          description: A list of the names of policies to be retrieved. You can retrieve a maximum of 20 policies at a time.
            If you do not know the names of the policies that are attached to the identity, you can use ListIdentityPolicies.
      required:
      - Identity
      - PolicyNames
    GetIdentityPoliciesResponse:
      type: object
      properties:
        Policies:
          type: object
          additionalProperties:
            type: string
          description: A map of policy names to policies.
      required:
      - Policies
    InvalidPolicyException:
      type: object
      properties:
        message:
          type: string
    ListIdentityPoliciesRequest:
      type: object
      properties:
        Identity:
          type: string
          description: 'The identity that is associated with the policy for which the policies are listed. You can specify
            an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com,
            arn:aws:ses:us-east-1:123456789012:identity/example.com. To successfully call this operation, you must own the
            identity.'
      required:
      - Identity
    ListIdentityPoliciesResponse:
      type: object
      properties:
        PolicyNames:
          type: array
          items:
            type: string
          description: A list of names of policies that apply to the specified identity.
      required:
      - PolicyNames
    PutIdentityPolicyRequest:
      type: object
      properties:
        Identity:
          type: string
          description: 'The identity to which that the policy applies. You can specify an identity by using its name or by
            using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.
            To successfully call this operation, you must own the identity.'
        PolicyName:
          type: string
          description: The name of the policy. The policy name cannot exceed 64 characters and can only include alphanumeric
            characters, dashes, and underscores.
        Policy:
          type: string
          description: The text of the policy in JSON format. The policy cannot exceed 4 KB. For information about the syntax
            of sending authorization policies, see the Amazon SES Developer Guide.
      required:
      - Identity
      - PolicyName
      - Policy
    PutIdentityPolicyResponse:
      type: object
      properties: {}
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/ses/service/2010-12-01/ses-2010-12-01.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)