Optimizely Email API

The Email API from Optimizely — 3 operation(s) for email.

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/email Get the storefront email resource · Email V1 get #
Ask an LLM
“What does the storefront email endpoint return in Optimizely Configured Commerce?”
“Where do I discover the storefront email actions available?”
Tell an agent
Get the storefront email resource.
Fetch the email endpoint root to see its links.
POST /api/v1/email/tellafriend Email a product to a friend · Email V1 post tell AFriend #
Ask an LLM
“How do I let a shopper send a product page to a friend by email?”
“Can a tell-a-friend email include a personal message and product image?”
Tell an agent
Send product {productId} to {friendsName} at {friendsEmailAddress} from {yourName} ({yourEmailAddress}).
Email the product page {productUrl} to {friendsEmailAddress} with the note {yourMessage}.
POST /api/v1/email/contactUs Submit a contact-us message · Email V1 post contact us #
Ask an LLM
“How do I submit a storefront contact-us form on a customer's behalf?”
“Can a contact-us message include a topic and phone number?”
Tell an agent
Send a contact-us message from {firstName} {lastName} at {emailAddress}: {message}.
Submit a contact request about {topic} with phone {phoneNumber}, routed to {emailTo}.

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/optimizely:optimizely-email-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

optimizely-email-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: storefront-v1
  title: Storefront API V1 Email API
servers:
- url: https://dogfood.commerce.insitesandbox.com
security: []
tags:
- name: Email
paths:
  /api/v1/email:
    get:
      tags:
      - Email
      operationId: EmailV1_Get
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/System.Web.Http.Results.OkResult'
            text/json:
              schema:
                $ref: '#/components/schemas/System.Web.Http.Results.OkResult'
            text/html:
              schema:
                $ref: '#/components/schemas/System.Web.Http.Results.OkResult'
      summary: Email V1 get
      x-summary-source: derived
  /api/v1/email/tellafriend:
    post:
      tags:
      - Email
      operationId: EmailV1_PostTellAFriend
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.TellAFriendModel'
          text/json:
            schema:
              $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.TellAFriendModel'
          application/xml:
            schema:
              $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.TellAFriendModel'
          text/xml:
            schema:
              $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.TellAFriendModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.TellAFriendModel'
          text/html:
            schema:
              $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.TellAFriendModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.TellAFriendModel'
            text/json:
              schema:
                $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.TellAFriendModel'
            application/xml:
              schema:
                $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.TellAFriendModel'
            text/xml:
              schema:
                $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.TellAFriendModel'
            text/html:
              schema:
                $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.TellAFriendModel'
      summary: Email V1 post tell AFriend
      x-summary-source: derived
  /api/v1/email/contactUs:
    post:
      tags:
      - Email
      operationId: EmailV1_PostContactUs
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.ContactUsModel'
          text/json:
            schema:
              $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.ContactUsModel'
          application/xml:
            schema:
              $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.ContactUsModel'
          text/xml:
            schema:
              $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.ContactUsModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.ContactUsModel'
          text/html:
            schema:
              $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.ContactUsModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.ContactUsModel'
            text/json:
              schema:
                $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.ContactUsModel'
            application/xml:
              schema:
                $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.ContactUsModel'
            text/xml:
              schema:
                $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.ContactUsModel'
            text/html:
              schema:
                $ref: '#/components/schemas/Insite.Email.WebApi.V1.ApiModels.ContactUsModel'
      summary: Email V1 post contact us
      x-summary-source: derived
components:
  schemas:
    System.Web.Http.Results.OkResult:
      type: object
      properties:
        request:
          type: string
          readOnly: true
    Insite.Email.WebApi.V1.ApiModels.ContactUsModel:
      type: object
      properties:
        uri:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        message:
          type: string
        topic:
          type: string
        phoneNumber:
          type: string
        emailAddress:
          type: string
        emailTo:
          type: string
        properties:
          type: object
          additionalProperties:
            type: string
    Insite.Email.WebApi.V1.ApiModels.TellAFriendModel:
      type: object
      properties:
        uri:
          type: string
        friendsName:
          type: string
        friendsEmailAddress:
          type: string
        yourName:
          type: string
        yourEmailAddress:
          type: string
        yourMessage:
          type: string
        productId:
          type: string
        productImage:
          type: string
        productShortDescription:
          type: string
        altText:
          type: string
        productUrl:
          type: string
        properties:
          type: object
          additionalProperties:
            type: string
  securitySchemes:
    access_token:
      type: apiKey
      description: Token used to access storefront API.
      name: access_token
      in: query