OpenAPI Specification
openapi: 3.1.0
info:
title: lemlist Campaigns Team API
version: '2.0'
description: 'REST API for lemlist''s cold email outreach and sales engagement
platform. All routes live at https://api.lemlist.com/api/. The full
URL pattern is https://api.lemlist.com/api/{endpoint}.
Authentication uses HTTP Basic with an empty username and the API
key as the password (`:YOUR_API_KEY` base64-encoded into the
Authorization header).
Source: https://developer.lemlist.com and the published
OpenAPI v2 spec at
https://developer.lemlist.com/api-reference/openapi/v2.json
'
servers:
- url: https://api.lemlist.com/api
description: lemlist production API
security:
- BasicAuth: []
tags:
- name: Team
description: Team-level endpoints (info, senders, credits)
paths:
/team:
get:
operationId: getTeam
summary: Get team information
tags:
- Team
responses:
'200':
description: Team object
content:
application/json:
schema:
$ref: '#/components/schemas/Team'
/team/senders:
get:
operationId: listTeamSenders
summary: List team senders across campaigns
tags:
- Team
responses:
'200':
description: Array of sender objects
content:
application/json:
schema:
type: array
items:
type: object
/team/credits:
get:
operationId: getTeamCredits
summary: Get team credit balance
tags:
- Team
responses:
'200':
description: Credit balance object
content:
application/json:
schema:
type: object
components:
schemas:
Team:
type: object
properties:
_id:
type: string
name:
type: string
securitySchemes:
BasicAuth:
type: http
scheme: basic
description: 'HTTP Basic Authentication. The login is always empty and the
password is your lemlist API key. Send the header as
`Authorization: Basic ` followed by the base64 encoding of
`:YOUR_API_KEY`.
'