Skip to content

List managed Agent Enrollments ​

List pending, claimed, expired and revoked Agent Enrollments without exposing their secret codes.

GET/partner-api/v1/accounts/{relationshipId}/agent-enrollmentsAPI version: v1operationId: listPartnerAgentEnrollmentsView as Markdown

What this endpoint does ​

List pending, claimed, expired and revoked Agent Enrollments without exposing their secret codes.

Authentication ​

Send a one-time RS256 Developer Application assertion in Authorization: Bearer <application_assertion>. This assertion is not a Public API access token.

Request ​

Production base URL: https://public-api.cloudprint.me/partner-api/v1/accounts/{relationshipId}/agent-enrollments

Parameters ​

NameLocationTypeRequiredDescriptionConstraints
relationshipIdpathstring (uuid)yesStable UUID of the partner's relationship with the managed customer.—
limitqueryintegernoMaximum number of resources to return on one page.min: 1; max: 100; default: 50
cursorquerystringnoOpaque cursor for the requested result page; reuse it unchanged.—
X-Request-IdheaderstringnoOptional request identifier for tracing; CloudPrint returns a safe value in the response header.maxLength: 128; example: "order-100045-attempt-1"

Request body ​

This endpoint has no request body.

Example requests ​

cURL ​

bash
curl -sS "https://public-api.cloudprint.me/partner-api/v1/accounts/$RELATIONSHIP_ID/agent-enrollments" \
  -H "Authorization: Bearer $APPLICATION_ASSERTION"

Response ​

HTTP status: 200 — Agent Enrollments page

Response fields ​

NameTypeRequiredDescriptionConstraints
dataarrayyesResources returned on the current result page.—
next_cursorstring | nullyesOpaque cursor for the next result page; send it back unchanged.—

Example response ​

json
{
  "data": [
    {
      "agent_enrollment_id": "11111111-1111-4111-8111-111111111111",
      "name": "string",
      "status": "pending",
      "expires_at": "2026-08-06T12:00:00Z",
      "created_at": "2026-08-06T12:00:00Z",
      "agent_id": "11111111-1111-4111-8111-111111111111",
      "claimed_at": "2026-08-06T12:00:00Z",
      "revoked_at": "2026-08-06T12:00:00Z"
    }
  ],
  "next_cursor": "string"
}

Errors ​

HTTP statusDescription
401Application assertion is invalid
403Developer Account production access is not active
404Managed Account was not found
422Pagination parameters are invalid
429Rate limit exceeded
500Unexpected error

Guides for integrating CloudPrint, connecting the local agent and operating print workflows.