---
updatedAt: 2026-06-03T18:36:03.000Z
agentTools:
  projectIndex: https://docs.getspot.com/llms.txt
---

# Fetch Enrollment by ID

This endpoint allows you, the partner, to fetch an enrollment by its ID.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/api/v2/enrollments/{id}": {
      "get": {
        "operationId": "getEnrollment v2",
        "x-readme": {
          "code-samples": [
            {
              "language": "node",
              "code": "import { Spotsdk } from '@getspot/spot-sdk';\n\n(async () => {\n const spotsdk = new Spotsdk({\n    clientId: 'CLIENT_ID',\n    clientSecret: 'CLIENT_SECRET',\n    spotPartnerId: 'PARTNER_ID',\n  });\n\n  const { data } = await spotsdk.enrollments.getEnrollment('id');\n\n  console.log(data);\n})();",
              "install": "npm install @getspot/spot-sdk"
            }
          ]
        },
        "summary": "Fetch Enrollment by ID",
        "description": "This endpoint allows you, the partner, to fetch an enrollment by its ID.",
        "parameters": [
          {
            "name": "X-Spot-Partner-Id",
            "in": "header",
            "description": "Spot Provided ID for Partner",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The enrollment has been retrieved.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnrollmentResultDto"
                }
              }
            }
          },
          "404": {
            "description": "The enrollment was not found for the given id and authorized partner"
          },
          "429": {
            "description": "A rate limit is in effect. Inspect the Retry-After header."
          }
        },
        "tags": [
          "Refund Guarantee (CFAR)"
        ],
        "security": [
          {
            "oauth2": []
          },
          {
            "bearer": []
          }
        ]
      }
    }
  },
  "info": {
    "title": "Spot Enrollments API",
    "description": "Spot Platform API",
    "version": "3.x",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://api.sandbox.getspot.com",
      "description": "Sandbox Enrollments API"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "type": "http"
      }
    },
    "schemas": {
      "EnrollmentResultDto": {
        "type": "object",
        "properties": {
          "enrollmentId": {
            "type": "string",
            "description": "The unique id for this successful enrollment request.",
            "example": "ac572a61-dafe-4054-bb06-8f4e6b877e7e"
          },
          "enrollmentStatus": {
            "description": "The status of this enrollment. Initially New until\nwe start processing the request.",
            "example": "New",
            "enum": [
              "New",
              "Enrolling",
              "Enrolled",
              "Failed",
              "Cancelled",
              "Expired",
              "ClaimReceived",
              "UpdateFailed"
            ],
            "type": "string"
          },
          "enrollmentPath": {
            "type": "string",
            "description": "A link to fetch the enrollment status later.",
            "example": "https://api.getspot.com/api/v1/enrollments/ac572a61-dafe-4054-bb06-8f4e6b877e7e"
          }
        },
        "required": [
          "enrollmentId",
          "enrollmentStatus"
        ]
      }
    }
  }
}
```