Skip to content
campaiDeveloper
campai.com

Misc · Assemblies

POST/{organizationId}/{mandateId}/misc/assemblies/{assemblyId}/proxies/listReads only

List proxies

Returns the proxies of a meeting: who gave their vote to whom, how and when, with the signed document where the statute asks for one.

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • mandate.read
  • assembly.read
Also checked, depending on the request and the records it touches
  • user.read
  • apiKey.read
  • contact:member.read
  • contact:address.read
  • contact:customer.read
  • contact:sponsor.read
  • contact:contributor.read
  • contact:employee.read
  • contact:supplier.read
  • contact.read

Request

Path parameters

  • organizationIdidrequired
  • mandateIdidrequired
  • assemblyIdidrequired
Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request POST 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/misc/assemblies/YOUR_ASSEMBLY_ID/proxies/list' \
  --header 'X-API-Key: YOUR_API_KEY'

Response

200 Successful response

Content-Type: application/json

  • proxiesobject[]
    3 properties
    • principalobject
      6 properties
      • _idid
      • personobject
        7 properties
        • namestring
        • typestring
        • nameNormalizedstring
        • nameSortstring
        • contactidnullable
        • imageobjectnullable
          4 properties
          • resourcestring

            at least 1 characters

          • fileNamestring

            at most 128 characters

          • contentTypestring

            at most 75 characters

          • fileSizeBytesinteger

            at least 0

        • userobjectnullable
          4 properties
          • namestring
          • typestring
          • userIdstring
          • imageobjectnullable
            4 properties
            • resourcestring

              at least 1 characters

            • fileNamestring

              at most 128 characters

            • contentTypestring

              at most 75 characters

            • fileSizeBytesinteger

              at least 0

      • rolestring
        voter guest
      • weightnumber

        at most 100000

      • groupstringnullable

        at most 60 characters

      • presenceobject
        4 properties
        • presentboolean
        • modestringnullable
          room online
        • sincestring · date-timenullable
        • sourcestringnullable
          staff self qr desk
    • holderobject
      6 properties
      • _idid
      • personobject
        7 properties
        • namestring
        • typestring
        • nameNormalizedstring
        • nameSortstring
        • contactidnullable
        • imageobjectnullable
          4 properties
          • resourcestring

            at least 1 characters

          • fileNamestring

            at most 128 characters

          • contentTypestring

            at most 75 characters

          • fileSizeBytesinteger

            at least 0

        • userobjectnullable
          4 properties
          • namestring
          • typestring
          • userIdstring
          • imageobjectnullable
            4 properties
            • resourcestring

              at least 1 characters

            • fileNamestring

              at most 128 characters

            • contentTypestring

              at most 75 characters

            • fileSizeBytesinteger

              at least 0

      • rolestring
        voter guest
      • weightnumber

        at most 100000

      • groupstringnullable

        at most 60 characters

      • presenceobject
        4 properties
        • presentboolean
        • modestringnullable
          room online
        • sincestring · date-timenullable
        • sourcestringnullable
          staff self qr desk
    • proxyobject
      6 properties
      • holderid
      • documentobjectnullable
        4 properties
        • resourcestring

          at least 1 characters

        • fileNamestring

          at most 128 characters

        • contentTypestring

          at most 75 characters

        • fileSizeBytesinteger

          at least 0

      • statementstringnullable

        at most 1000 characters

      • sourcestring
        staff self
      • grantedAtstring · date-time
      • grantedByobjectnullable
  • limitsobject
    1 property
    • maxPerHoldernumber
Response200
{
  "proxies": [
    {
      "principal": {
        "_id": "000000000000000000000001",
        "person": {
          "name": "string",
          "type": "contact",
          "nameNormalized": "string",
          "nameSort": "string",
          "contact": "000000000000000000000001",
          "image": {
            "resource": "string"
          },
          "user": {
            "name": "string",
            "type": "user",
            "userId": "string",
            "image": {
              "resource": "string"
            }
          }
        },
        "role": "voter",
        "weight": 1,
        "group": "string",
        "presence": {
          "present": true,
          "mode": "room",
          "since": "2026-06-15T22:30:00Z",
          "source": "staff"
        }
      },
      "holder": {
        "_id": "000000000000000000000001",
        "person": {
          "name": "string",
          "type": "contact",
          "nameNormalized": "string",
          "nameSort": "string",
          "contact": "000000000000000000000001",
          "image": {
            "resource": "string"
          },
          "user": {
            "name": "string",
            "type": "user",
            "userId": "string",
            "image": {
              "resource": "string"
            }
          }
        },
        "role": "voter",
        "weight": 1,
        "group": "string",
        "presence": {
          "present": true,
          "mode": "room",
          "since": "2026-06-15T22:30:00Z",
          "source": "staff"
        }
      },
      "proxy": {
        "holder": "000000000000000000000001",
        "document": {
          "resource": "string"
        },
        "statement": "string",
        "source": "staff",
        "grantedAt": "2026-06-15T22:30:00Z",
        "grantedBy": {
          "name": "string",
          "type": "user",
          "userId": "string",
          "image": {
            "resource": "string"
          }
        }
      }
    }
  ],
  "limits": {
    "maxPerHolder": 1
  }
}

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.