Dream Sports Communication API

The Communication API from Dream Sports — 2 operation(s) for communication.

Operations 2

POST /sendEmail Send Email
POST /sendSms Send SMS

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/dream-sports-communication-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 email required.

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

OpenAPI Specification

dream-sports-communication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Guardian integration endpoints Communication API
  description: Endpoints required to integrate with Guardian.
  version: 1.0.0
servers:
- url: https://auth.dream11.com/
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Communication
paths:
  /sendEmail:
    post:
      tags:
      - Communication
      summary: Send Email
      description: 'API to send an email message using a template.


        Guardian invokes this API to send emails, typically for OTP delivery or other notifications.


        The request body includes:

        - **channel**: Communication channel (always "email" for this endpoint)

        - **to**: Recipient email address

        - **templateName**: Name of the email template to use

        - **templateParams**: Template parameters as a JSON object (e.g., {"otp": "123456"})


        The communication service is responsible for:

        - Rendering the template with the provided parameters

        - Sending the email to the recipient

        - Handling email delivery failures gracefully


        **Response**: Returns status code 200 on successful email queuing/sending. Any response other than status code 200 will be considered a failure by Guardian.

        '
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendMessageRequest'
        required: true
      responses:
        '200':
          description: Email sent successfully
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request due to missing parameters or invalid data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
  /sendSms:
    post:
      tags:
      - Communication
      summary: Send SMS
      description: 'API to send an SMS message using a template.


        Guardian invokes this API to send SMS messages, typically for OTP delivery or other notifications.


        The request body includes:

        - **channel**: Communication channel (always "sms" for this endpoint)

        - **to**: Recipient phone number (recommended format E.164)

        - **templateName**: Name of the SMS template to use

        - **templateParams**: Template parameters as a JSON object (e.g., {"otp": "123456"})


        The communication service is responsible for:

        - Rendering the template with the provided parameters

        - Sending the SMS to the recipient

        - Handling SMS delivery failures gracefully


        **Response**: Returns status code 200 on successful SMS queuing/sending. Any response other than status code 200 will be considered a failure by Guardian.

        '
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendMessageRequest'
        required: true
      responses:
        '200':
          description: SMS sent successfully
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request due to missing parameters or invalid data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
components:
  schemas:
    errorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              example: Something went wrong.
    SendMessageRequest:
      type: object
      required:
      - channel
      - to
      - templateName
      - templateParams
      properties:
        channel:
          type: string
          description: Communication channel
          enum:
          - email
          - sms
          example: email
        to:
          type: string
          description: Recipient identifier (email address for email channel, phone number for SMS channel)
          example: user@example.com
        templateName:
          type: string
          description: Name of the template to use for rendering the message
          example: otp_template
        templateParams:
          type: object
          description: Template parameters as a JSON object
          additionalProperties: true
          example:
            otp: '123456'
            name: John Doe