API ReferenceSubmissions

List package submissions

GET
/api/v1/orgs/{orgId}/deals/{dealId}/packages/{packageId}/submissions

Returns a cursor-paginated list of submissions for one package, newest first. Requires api_deals_list or api_deals_create. The page never includes signing links.

Authorization

bearerAuth
AuthorizationBearer <token>

Bearer token using a Clai API key secret (clai_live_*).

In: header

Path Parameters

NameTypeDescription
orgId
required
string

Organization ID the key is operating in

dealId
required
string

Deal ID that owns the package

Formatuuid
packageId
required
string

Package ID

Formatuuid

Query Parameters

NameTypeDescription
orderBystring

Sort column. Defaults to created_at, newest first.

Allowed"created_at""updated_at"
ascendingstring

When true, sort ascending instead of descending.

Allowed"true""false"
limitinteger

Maximum number of submissions to return (1-100).

Range1 <= value <= 100
cursorstring

Opaque pagination cursor from a previous response.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://app.goclai.com/api/v1/orgs/org_2abc123/deals/550e8400-e29b-41d4-a716-446655440010/packages/550e8400-e29b-41d4-a716-446655440011/submissions"
{
  "submissions": [
    {
      "submissionId": "23243110-f447-42f4-a433-27cb8d276b19",
      "status": "draft",
      "activeParticipantIds": [
        "string"
      ],
      "signers": [
        {
          "participantId": "string",
          "label": "string",
          "fullName": "string",
          "email": "string",
          "routingOrder": 0,
          "status": "queued"
        }
      ]
    }
  ],
  "hasMore": true,
  "nextCursor": "string"
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}