Templated Members API

Account member listing

GitHub OpenAPI

Operations 6

GET /accounts/{slug}/members List account members #
PATCH /accounts/{slug}/members/{memberId} Update a member's role #
DELETE /accounts/{slug}/members/{memberId} Remove a member #
GET /accounts/{slug}/invites List pending invites #
POST /accounts/{slug}/invites Send an invite #
DELETE /accounts/{slug}/invites/{inviteId} Revoke an invite #

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/templated-email:templated-email-members-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

templated-email-members-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Templated Members API
  version: 1.0.0
  description: 'The Templated API gives you programmatic access to the AI-powered email template platform.

    Create, manage, and generate email templates, manage brand assets, and integrate with

    third-party design tools.


    ## Authentication

    Authenticate with an API key (`Authorization: Bearer tmpl_sk_...`) created under

    Integrations → API Keys in the app, or with a session cookie when calling from the

    signed-in web app. Keys are scoped to a single account and act with editor permissions.


    ## Base URL

    All requests are made to `https://app.templated.email/api`.'
  contact:
    name: Templated Support
    email: support@templated.email
  license:
    name: Proprietary
servers:
- url: https://app.templated.email/api
  description: Production
security:
- bearerAuth: []
- sessionCookie: []
tags:
- name: Members
  description: Account member listing
paths:
  /accounts/{slug}/members:
    parameters:
    - $ref: '#/components/parameters/AccountSlug'
    get:
      operationId: listMembers
      tags:
      - Members
      summary: List account members
      responses:
        '200':
          description: List of members
          content:
            application/json:
              schema:
                type: object
                properties:
                  members:
                    type: array
                    items:
                      $ref: '#/components/schemas/Member'
        '403':
          $ref: '#/components/responses/Forbidden'
  /accounts/{slug}/members/{memberId}:
    parameters:
    - $ref: '#/components/parameters/AccountSlug'
    - name: memberId
      in: path
      required: true
      schema:
        type: string
    patch:
      operationId: updateMemberRole
      tags:
      - Members
      summary: Update a member's role
      description: Change a member's role. Requires member:role:change permission. The owner's role cannot be changed.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - role
              properties:
                role:
                  type: string
                  enum:
                  - admin
                  - editor
                  - reviewer
      responses:
        '200':
          description: Role updated
        '400':
          $ref: '#/components/responses/BadRequest'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
    delete:
      operationId: removeMember
      tags:
      - Members
      summary: Remove a member
      description: Remove a member from the account. Requires member:remove permission. The owner cannot be removed.
      responses:
        '200':
          description: Member removed
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
  /accounts/{slug}/invites:
    parameters:
    - $ref: '#/components/parameters/AccountSlug'
    get:
      operationId: listInvites
      tags:
      - Members
      summary: List pending invites
      description: Requires member:invite permission.
      responses:
        '200':
          description: Pending invites
          content:
            application/json:
              schema:
                type: object
                properties:
                  invites:
                    type: array
                    items:
                      $ref: '#/components/schemas/Invite'
        '403':
          $ref: '#/components/responses/Forbidden'
    post:
      operationId: sendInvite
      tags:
      - Members
      summary: Send an invite
      description: Invite someone to join the account by email. Requires member:invite permission and available seats.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - email
              - role
              properties:
                email:
                  type: string
                  format: email
                role:
                  type: string
                  enum:
                  - admin
                  - editor
                  - reviewer
      responses:
        '201':
          description: Invite sent
        '400':
          description: Validation failed, already a member, or already invited
        '403':
          $ref: '#/components/responses/Forbidden'
  /accounts/{slug}/invites/{inviteId}:
    parameters:
    - $ref: '#/components/parameters/AccountSlug'
    - name: inviteId
      in: path
      required: true
      schema:
        type: string
    delete:
      operationId: revokeInvite
      tags:
      - Members
      summary: Revoke an invite
      description: Requires member:invite permission.
      responses:
        '200':
          description: Invite revoked
        '404':
          $ref: '#/components/responses/NotFound'
components:
  responses:
    BadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: Insufficient permissions
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message
        details:
          type: object
          additionalProperties:
            type: string
          description: Field-level validation errors
    Member:
      type: object
      properties:
        id:
          type: string
        userId:
          type: string
        email:
          type: string
        name:
          type: string
        image:
          type: string
          nullable: true
        role:
          type: string
          enum:
          - owner
          - admin
          - editor
          - reviewer
        joinedAt:
          type: string
          format: date-time
    Invite:
      type: object
      properties:
        id:
          type: string
        email:
          type: string
        role:
          type: string
          enum:
          - admin
          - editor
          - reviewer
        status:
          type: string
        invitedBy:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            email:
              type: string
        createdAt:
          type: string
          format: date-time
        expiresAt:
          type: string
          format: date-time
  parameters:
    AccountSlug:
      name: slug
      in: path
      required: true
      schema:
        type: string
      description: Account slug identifier
      example: my-company
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: tmpl_sk_...
      description: API key created under Integrations → API Keys. Account-scoped, editor permissions.
    sessionCookie:
      type: apiKey
      in: cookie
      name: next-auth.session-token
      description: Session cookie obtained after signing in