---
title: "Show automation enrollments with provided ID"
method: GET
path: "/api/v2/automation_enrollments/{id}"
tags: ["Automation Enrollments"]
---

# Show automation enrollments with provided ID

`GET /api/v2/automation_enrollments/{id}`

## Request

- Base URL: `https://yournation.nationbuilder.com`
- URL: `https://yournation.nationbuilder.com/api/v2/automation_enrollments/{id}`
- Auth: HTTP bearer

Returns the automation enrollments that matches the given ID.

## Query parameters

- `include` AutomationEnrollmentSideloadValues[]
- `fields[automation_enrollments]` AutomationEnrollmentFieldValues[]

## Response `200`

The requested automation enrollment.

- AutomationEnrollmentShowResponse: The JSON:API top-level document shape for responses returning a single resource under the data member.
  - `data` object, required: A JSON:API resource identifier object, the type/id pair that uniquely identifies a single resource.
    - `id` string, required: Unique identifier of the resource.
    - `type` 'automation_enrollments', required: The JSON:API resource type.
    - `attributes` object: The read-only attributes of a automation_enrollment.
      - `automation_id` string: The automation in this enrollment
      - `campaign_source` string, nullable: The campaign source.
      - `campaign_url` string, nullable: The campaign url
      - `signup_id` string: The signup in this enrollment.
      - `automation_step_number` integer, nullable: The step in the automation.
      - `created_at` string, date-time, nullable
      - `excluded_at` string, date-time, nullable: When the enrollment was excluded.
      - `next_execution` string, date-time, nullable: The next time the automation will be executed for this enrollment.
  - `included` Resource[]: Sideloaded resources requested via the include query parameter. Each entry is a full resource object whose shape is documented under its own resource type.
    - `id` string, required: Unique identifier of the resource.
    - `type` string, required: The JSON:API resource type.
    - `attributes` object: The attributes of the resource, as documented for its resource type.
    - `relationships` object: References from this resource to other resources in the document.
  - `meta` object: Non-standard information about the document. Empty unless the endpoint has metadata to convey.

## Other responses

- `401`: The access token is missing, expired, or not authorized to access this resource.
- `404`: No resource exists with the provided ID.
- `429`: The access token has exceeded its request quota for the current rate-limit window.

## Changes

- **2026-11-05** `d5c88ca497ac`: 6 breaking, 5 info
  - for the `query` request parameter `fields[automation_enrollments]`, default value `` was added
  - for the `query` request parameter `include`, default value `` was added
  - for the `query` request parameter `fields[automation_enrollments]`, the type changed from `string` to `array`
  - for the `query` request parameter `include`, the type changed from `string` to `array`
  - …7 more

[Operation history](https://skmtc.dev/nationbuilder/apis/nationbuilder-v2-api/changes/api/v2/automation_enrollments/:id/get.md)

---

[API](https://skmtc.dev/nationbuilder/apis/nationbuilder-v2-api.md) - [All operations](https://skmtc.dev/nationbuilder/apis/nationbuilder-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nationbuilder/apis/nationbuilder-v2-api/revisions/d5c88ca497ac?raw)
