Lunogram

Management API

Programmatic access to manage projects, campaigns, journeys, lists, users, and more.

The Management API provides full programmatic access to manage all aspects of your Lunogram project. This includes campaigns, journeys, lists, users, event schemas, and more.

For the full endpoint reference, see the interactive API documentation.

Authentication

Management endpoints authenticate via Bearer token using an API key. The level of access depends on the key's role. See API Keys for a full breakdown of available roles and their permissions.

Authorization: Bearer YOUR_API_KEY

You can create and manage API keys in your project settings.

Keys with elevated roles (editor, admin) can modify or delete project data. Keep them server-side and never expose them in client-side code or public repositories.

Available Resources

The Management API covers the following resources:

ResourceDescription
CampaignsCreate, update, launch, and manage campaigns
JourneysBuild and configure automated journey workflows
ListsDefine and manage user segments
UsersRead and manage user profiles and attributes
OrganizationsRead and manage organizations
EventsQuery event schemas and event data
SchedulesCreate and manage schedule definitions
IntegrationsConfigure messaging providers
Subscription GroupsManage subscription preferences

Error Handling

All endpoints return errors in RFC 7807 Problem Details format:

{
  "title": "Validation Error",
  "detail": "The 'name' field is required"
}

On this page