Skip to content

[Medium] No public API endpoint to list prospects enrolled in a campaign #34

@loic2309

Description

@loic2309

Summary

There is no reliable way to retrieve the list of prospects currently enrolled in a given campaign via the public API. The two most natural approaches both fail.

Attempts

Attempt 1 — Direct enrollments endpoint

curl -H "Authorization: $OVERLOOP_API_KEY" \
  "https://api.overloop.ai/public/v1/automations/7406/enrollments"
# Response: 200 text/html — not a public API endpoint

Attempt 2 — Filter prospects by campaign

curl -H "Authorization: $OVERLOOP_API_KEY" \
  "https://api.overloop.ai/public/v1/prospects?filter[automation_id]=7406"
# Response: 200 — returns 100 unfiltered prospects (filter is ignored)

curl -H "Authorization: $OVERLOOP_API_KEY" \
  "https://api.overloop.ai/public/v1/prospects?filter[campaign_id]=7406"
# Response: 200 — same 100 unfiltered prospects

What does work (partial)

Individual enrollment lookup by known enrollment ID:

curl -H "Authorization: $OVERLOOP_API_KEY" \
  "https://api.overloop.ai/public/v1/automations/7406/enrollments/1182018"
# Response: 200 JSON — returns enrollment attributes including prospect_id

But this requires knowing the enrollment ID in advance, which is not available without the listing endpoint.

Expected Behavior

GET /automations/{id}/enrollments should return a paginated JSON list of enrollments for the given campaign, including prospect_id and enrollment status.

Impact

  • Cannot verify programmatically who is enrolled in a campaign
  • Cannot build enrollment deduplication logic
  • Cannot audit or diff campaign contacts between the API and source systems
  • Debugging enrollment issues requires using the Overloop UI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions