Skip to Content
DocsReferenceRPC Services

RPC Services

Complete index of Connect RPC services in the Pug API, grouped by package family. Each family shares an auth mode; see the API overview for request headers and the base URL.

Endpoint pattern: POST https://api.pugs.dev/{package}.{Service}/{Method}

public.* — no authentication

Open endpoints. No credentials required.

PackageServicePurpose
public.auth.v1AuthServiceDashboard sign-in: email/password, magic link request and completion

sdk.* — SDK key (x-api-key)

Client-side write access. Safe to embed in browsers and mobile apps. Use your project’s public API key.

PackageServicePurposeDocs
sdk.events.v1EventsServiceIngest event batches (BatchCreate)Events API
sdk.profiles.v1ProfilesSDKServiceCreate or update profiles, merge anonymous IDs (Identify)Profiles API
sdk.devices.v1DevicesServicePush-notification device registration (Subscribe, UpdateStatus, UpdateToken)out of scope for these docs

shared.* — private API key or JWT (x-api-key: prv_… or Authorization: Bearer)

Server-side or trusted integrations. Accepts either a private API key or a dashboard JWT.

PackageServicePurposeDocs
shared.insights.v1InsightsServiceRun analytics queries (Query, SegmentUsers, GetFilterSchema, GetPropertyValues)Insights API
shared.profiles.v1ProfilesServiceRead, list, and delete profiles (Get, GetByExternalId, List, Delete)Profiles API
shared.activity.v1ActivityServicePer-profile activity feed, event explorer, heatmap, and profile stats
shared.campaigns.v1CampaignServicePush-campaign management (BatchGet, Create, Get, Update, Delete)out of scope for these docs
shared.delivery.v1DeliveryServicePush-delivery event recording (RecordEvent)out of scope for these docs

dashboard.* — JWT (Authorization: Bearer)

Browser sessions for the Pug dashboard. Not intended for programmatic API access. Scoping headers (e.g. x-project-id) are described in Authentication.

PackageServicePurpose
dashboard.orgs.v1OrgsServiceOrganization CRUD and member management
dashboard.projects.v1ProjectsServiceProject CRUD and settings
dashboard.customers.v1CustomersServiceCaller’s own account (GetMe, SetPassword)
dashboard.dashboards.v1DashboardsServiceDashboard and tile management, dashboard query execution
dashboard.orgemailproviders.v1OrgEmailProvidersServiceOrganization email provider configuration (Get, Set, Remove, SendTest)

common.* — shared message types only

These packages define reusable message and enum types imported by the service packages above. They do not define any RPC services.

PackageContents
common.v1PropertyValue, TimeRange, TimeRangePreset, filter types, filter schema types
common.events.v1Well-known event schemas (navigation, auth, commerce, media, and more)

workers.* — internal only

These packages define NATS message envelopes used between internal backend workers. They are not Connect RPC services and are not client-facing.

PackageContents
workers.email.v1Email job message types (OrgMemberInvitePayload, MagicLinkPayload)
workers.profiles.v1Profile worker message types (ProfileAliasMessage, ProfileUpsertMessage)

Further reading

Last updated on