Skip to main content
GET
/
campaigns
/
{campaignId}
/
statutes
Get Campaign Statutes
curl --request GET \
  --url https://api.lemlist.com/api/campaigns/{campaignId}/statutes \
  --header 'Authorization: Basic <encoded-value>'
{
  "name": "Product Launch Campaign",
  "status": "draft",
  "statutes": [
    {
      "type": "issue",
      "level": 3,
      "message": "No senders configured on this campaign."
    },
    {
      "type": "information",
      "level": 2,
      "category": "limit",
      "message": "John Doe daily email sending limit has been exceeded. You can increase the limit in settings or wait 2 hours"
    }
  ]
}
Statutes use the same validation engine as the lemlist UI. Each statute has a severity level:
LevelMeaningExample
3Error — blocks campaign launchInvalid sender, missing mailbox, broken DNS
2Warning — actionable but not blockingDaily limit exceeded, schedule missing
1Info — purely informationalSending rate summary

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

campaignId
string
required

The unique identifier of the campaign

Response

Success

name
string

The campaign name

status
string

The campaign status (draft, running, paused, etc.)

statutes
object[]

List of validation statutes for the campaign