SendPanda Sections API
The Sections API from SendPanda, for sections.
The Sections API from SendPanda, for sections.
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/sendpanda-email:sendpanda-email-sections-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. 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: 3.2.0
info:
title: SendPanda Sections API
version: 1.0.0
description: Transactional email API. Secrets belong only on your server.
tags:
- name: Sections
paths:
/v1/sections:
get:
responses:
'200':
description: Default Response
tags:
- Sections
summary: Get sections
x-summary-source: derived
operationId: getV1Sections
x-operation-id-source: derived
post:
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
minLength: 1
maxLength: 80
blocks:
minItems: 1
maxItems: 20
type: array
items:
$ref: '#/components/schemas/EmailSectionInput'
required:
- name
- blocks
additionalProperties: false
responses:
'200':
description: Default Response
tags:
- Sections
summary: Create sections
x-summary-source: derived
operationId: postV1Sections
x-operation-id-source: derived
/v1/sections/{id}:
delete:
parameters:
- schema:
type: string
maxLength: 80
in: path
name: id
required: true
responses:
'200':
description: Default Response
tags:
- Sections
summary: Delete sections by id
x-summary-source: derived
operationId: deleteV1SectionsById
x-operation-id-source: derived
components:
schemas:
EmailComponentInput:
oneOf:
- type: object
properties:
id:
type: string
pattern: ^[a-zA-Z0-9_-]{1,80}$
align:
default: left
type: string
enum:
- left
- center
- right
padding:
default: 24
type: integer
minimum: 0
maximum: 64
background:
default: '#ffffff'
type: string
pattern: ^#[0-9a-f]{6}$
color:
default: '#24382e'
type: string
pattern: ^#[0-9a-f]{6}$
fontSize:
default: 16
type: integer
minimum: 10
maximum: 64
bold:
default: false
type: boolean
italic:
default: false
type: boolean
type:
type: string
enum:
- heading
text:
type: string
maxLength: 10000
required:
- id
- type
- text
additionalProperties: false
- type: object
properties:
id:
type: string
pattern: ^[a-zA-Z0-9_-]{1,80}$
align:
default: left
type: string
enum:
- left
- center
- right
padding:
default: 24
type: integer
minimum: 0
maximum: 64
background:
default: '#ffffff'
type: string
pattern: ^#[0-9a-f]{6}$
color:
default: '#24382e'
type: string
pattern: ^#[0-9a-f]{6}$
fontSize:
default: 16
type: integer
minimum: 10
maximum: 64
bold:
default: false
type: boolean
italic:
default: false
type: boolean
type:
type: string
enum:
- text
text:
type: string
maxLength: 10000
required:
- id
- type
- text
additionalProperties: false
- type: object
properties:
id:
type: string
pattern: ^[a-zA-Z0-9_-]{1,80}$
align:
default: left
type: string
enum:
- left
- center
- right
padding:
default: 24
type: integer
minimum: 0
maximum: 64
background:
default: '#ffffff'
type: string
pattern: ^#[0-9a-f]{6}$
color:
default: '#24382e'
type: string
pattern: ^#[0-9a-f]{6}$
fontSize:
default: 16
type: integer
minimum: 10
maximum: 64
bold:
default: false
type: boolean
italic:
default: false
type: boolean
type:
type: string
enum:
- image
src:
type: string
maxLength: 2048
alt:
type: string
maxLength: 300
url:
type: string
maxLength: 2048
width:
type: integer
minimum: 40
maximum: 720
required:
- id
- type
- src
- alt
- url
- width
additionalProperties: false
- type: object
properties:
id:
type: string
pattern: ^[a-zA-Z0-9_-]{1,80}$
align:
default: left
type: string
enum:
- left
- center
- right
padding:
default: 24
type: integer
minimum: 0
maximum: 64
background:
default: '#ffffff'
type: string
pattern: ^#[0-9a-f]{6}$
color:
default: '#24382e'
type: string
pattern: ^#[0-9a-f]{6}$
fontSize:
default: 16
type: integer
minimum: 10
maximum: 64
bold:
default: false
type: boolean
italic:
default: false
type: boolean
type:
type: string
enum:
- logo
src:
type: string
maxLength: 2048
alt:
type: string
maxLength: 300
url:
type: string
maxLength: 2048
width:
type: integer
minimum: 40
maximum: 720
required:
- id
- type
- src
- alt
- url
- width
additionalProperties: false
- type: object
properties:
id:
type: string
pattern: ^[a-zA-Z0-9_-]{1,80}$
align:
default: left
type: string
enum:
- left
- center
- right
padding:
default: 24
type: integer
minimum: 0
maximum: 64
background:
default: '#ffffff'
type: string
pattern: ^#[0-9a-f]{6}$
color:
default: '#24382e'
type: string
pattern: ^#[0-9a-f]{6}$
fontSize:
default: 16
type: integer
minimum: 10
maximum: 64
bold:
default: false
type: boolean
italic:
default: false
type: boolean
type:
type: string
enum:
- button
text:
type: string
maxLength: 200
url:
type: string
maxLength: 2048
buttonColor:
type: string
pattern: ^#[0-9a-f]{6}$
radius:
type: integer
minimum: 0
maximum: 32
required:
- id
- type
- text
- url
- buttonColor
- radius
additionalProperties: false
- type: object
properties:
id:
type: string
pattern: ^[a-zA-Z0-9_-]{1,80}$
align:
default: left
type: string
enum:
- left
- center
- right
padding:
default: 24
type: integer
minimum: 0
maximum: 64
background:
default: '#ffffff'
type: string
pattern: ^#[0-9a-f]{6}$
color:
default: '#24382e'
type: string
pattern: ^#[0-9a-f]{6}$
fontSize:
default: 16
type: integer
minimum: 10
maximum: 64
bold:
default: false
type: boolean
italic:
default: false
type: boolean
type:
type: string
enum:
- divider
height:
type: integer
minimum: 1
maximum: 8
required:
- id
- type
- height
additionalProperties: false
- type: object
properties:
id:
type: string
pattern: ^[a-zA-Z0-9_-]{1,80}$
align:
default: left
type: string
enum:
- left
- center
- right
padding:
default: 24
type: integer
minimum: 0
maximum: 64
background:
default: '#ffffff'
type: string
pattern: ^#[0-9a-f]{6}$
color:
default: '#24382e'
type: string
pattern: ^#[0-9a-f]{6}$
fontSize:
default: 16
type: integer
minimum: 10
maximum: 64
bold:
default: false
type: boolean
italic:
default: false
type: boolean
type:
type: string
enum:
- spacer
height:
type: integer
minimum: 4
maximum: 160
required:
- id
- type
- height
additionalProperties: false
- type: object
properties:
id:
type: string
pattern: ^[a-zA-Z0-9_-]{1,80}$
align:
default: left
type: string
enum:
- left
- center
- right
padding:
default: 24
type: integer
minimum: 0
maximum: 64
background:
default: '#ffffff'
type: string
pattern: ^#[0-9a-f]{6}$
color:
default: '#24382e'
type: string
pattern: ^#[0-9a-f]{6}$
fontSize:
default: 16
type: integer
minimum: 10
maximum: 64
bold:
default: false
type: boolean
italic:
default: false
type: boolean
type:
type: string
enum:
- hero
src:
type: string
maxLength: 2048
alt:
type: string
maxLength: 300
title:
type: string
maxLength: 10000
text:
type: string
maxLength: 10000
buttonText:
type: string
maxLength: 200
url:
type: string
maxLength: 2048
buttonColor:
type: string
pattern: ^#[0-9a-f]{6}$
required:
- id
- type
- src
- alt
- title
- text
- buttonText
- url
- buttonColor
additionalProperties: false
- type: object
properties:
id:
type: string
pattern: ^[a-zA-Z0-9_-]{1,80}$
align:
default: left
type: string
enum:
- left
- center
- right
padding:
default: 24
type: integer
minimum: 0
maximum: 64
background:
default: '#ffffff'
type: string
pattern: ^#[0-9a-f]{6}$
color:
default: '#24382e'
type: string
pattern: ^#[0-9a-f]{6}$
fontSize:
default: 16
type: integer
minimum: 10
maximum: 64
bold:
default: false
type: boolean
italic:
default: false
type: boolean
type:
type: string
enum:
- product
src:
type: string
maxLength: 2048
alt:
type: string
maxLength: 300
title:
type: string
maxLength: 10000
text:
type: string
maxLength: 10000
price:
type: string
maxLength: 100
buttonText:
type: string
maxLength: 200
url:
type: string
maxLength: 2048
buttonColor:
type: string
pattern: ^#[0-9a-f]{6}$
required:
- id
- type
- src
- alt
- title
- text
- price
- buttonText
- url
- buttonColor
additionalProperties: false
- type: object
properties:
id:
type: string
pattern: ^[a-zA-Z0-9_-]{1,80}$
align:
default: left
type: string
enum:
- left
- center
- right
padding:
default: 24
type: integer
minimum: 0
maximum: 64
background:
default: '#ffffff'
type: string
pattern: ^#[0-9a-f]{6}$
color:
default: '#24382e'
type: string
pattern: ^#[0-9a-f]{6}$
fontSize:
default: 16
type: integer
minimum: 10
maximum: 64
bold:
default: false
type: boolean
italic:
default: false
type: boolean
type:
type: string
enum:
- code
text:
type: string
maxLength: 10000
required:
- id
- type
- text
additionalProperties: false
- type: object
properties:
id:
type: string
pattern: ^[a-zA-Z0-9_-]{1,80}$
align:
default: left
type: string
enum:
- left
- center
- right
padding:
default: 24
type: integer
minimum: 0
maximum: 64
background:
default: '#ffffff'
type: string
pattern: ^#[0-9a-f]{6}$
color:
default: '#24382e'
type: string
pattern: ^#[0-9a-f]{6}$
fontSize:
default: 16
type: integer
minimum: 10
maximum: 64
bold:
default: false
type: boolean
italic:
default: false
type: boolean
type:
type: string
enum:
- coupon
title:
type: string
maxLength: 10000
text:
type: string
maxLength: 10000
code:
type: string
maxLength: 100
url:
type: string
maxLength: 2048
buttonText:
type: string
maxLength: 200
buttonColor:
type: string
pattern: ^#[0-9a-f]{6}$
required:
- id
- type
- title
- text
- code
- url
- buttonText
- buttonColor
additionalProperties: false
- type: object
properties:
id:
type: string
pattern: ^[a-zA-Z0-9_-]{1,80}$
align:
default: left
type: string
enum:
- left
- center
- right
padding:
default: 24
type: integer
minimum: 0
maximum: 64
background:
default: '#ffffff'
type: string
pattern: ^#[0-9a-f]{6}$
color:
default: '#24382e'
type: string
pattern: ^#[0-9a-f]{6}$
fontSize:
default: 16
type: integer
minimum: 10
maximum: 64
bold:
default: false
type: boolean
italic:
default: false
type: boolean
type:
type: string
enum:
- list
items:
minItems: 1
maxItems: 12
type: array
items:
type: string
maxLength: 1000
required:
- id
- type
- items
additionalProperties: false
- type: object
properties:
id:
type: string
pattern: ^[a-zA-Z0-9_-]{1,80}$
align:
default: left
type: string
enum:
- left
- center
- right
padding:
default: 24
type: integer
minimum: 0
maximum: 64
background:
default: '#ffffff'
type: string
pattern: ^#[0-9a-f]{6}$
color:
default: '#24382e'
type: string
pattern: ^#[0-9a-f]{6}$
fontSize:
default: 16
type: integer
minimum: 10
maximum: 64
bold:
default: false
type: boolean
italic:
default: false
type: boolean
type:
type: string
enum:
- social
links:
minItems: 1
maxItems: 6
type: array
items:
type: object
properties:
label:
type: string
minLength: 1
maxLength: 50
url:
type: string
maxLength: 2048
required:
- label
- url
additionalProperties: false
required:
- id
- type
- links
additionalProperties: false
EmailSectionInput:
anyOf:
- $ref: '#/components/schemas/EmailComponentInput'
- type: object
properties:
id:
type: string
pattern: ^[a-zA-Z0-9_-]{1,80}$
align:
default: left
type: string
enum:
- left
- center
- right
padding:
default: 24
type: integer
minimum: 0
maximum: 64
background:
default: '#ffffff'
type: string
pattern: ^#[0-9a-f]{6}$
color:
default: '#24382e'
type: string
pattern: ^#[0-9a-f]{6}$
fontSize:
default: 16
type: integer
minimum: 10
maximum: 64
bold:
default: false
type: boolean
italic:
default: false
type: boolean
type:
type: string
enum:
- columns
left:
maxItems: 12
type: array
items:
$ref: '#/components/schemas/EmailComponentInput'
right:
maxItems: 12
type: array
items:
$ref: '#/components/schemas/EmailComponentInput'
required:
- id
- type
- left
- right
additionalProperties: false
securitySchemes:
bearerAuth:
type: http
scheme: bearer