Classifications

Add an investor to a classification

POST/classifications/{classification_id}/members

Gives the classification to an investor by hand and returns the member with a Location; automatic is then false. An investor who already holds it returns 200 with the existing member and nothing changes. An investor outside your client organisations returns 422 exists. dry_run shows the result without saving it. Emits classification_member.created and sends no email. DELETE /classifications/{classification_id}/members/{id} undoes it.

Path parameters

  • classification_idintegerRequired#

    The classification's id. Classifications are keyed by integer ids, not UUIDs: a whole number from 1 to 2147483647. An unknown classification returns 404.

Query parameters

  • dry_runboolean#

    Validate and run the call without committing it, returning what the real call would return with meta.dry_run set.

Headers

  • Idempotency-Keystring#

    Makes a retry safe. Send a new UUID for each new request and reuse it only to retry that request; the first response is replayed for 24 hours.

Request body

application/json, required · ClassificationMemberCreate

  • investor_idstring (uuid)Required#

    The investor to add. They must belong to one of your client organisations.

{
  "investor_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d"
}

Responses

200

The investor already held the classification, and nothing changed.

ClassificationMember
{
  "data": {
    "id": "9a9d1c5e-4f2b-4c8e-9a7d-2f1e6b3c4d5a",
    "first_name": "string",
    "last_name": "string",
    "email": "string",
    "automatic": true,
    "created_at": "2026-06-12T10:00:00+00:00",
    "updated_at": "2026-06-12T10:00:00+00:00"
  }
}
201

The investor was added.

ClassificationMember
{
  "data": {
    "id": "9a9d1c5e-4f2b-4c8e-9a7d-2f1e6b3c4d5a",
    "first_name": "string",
    "last_name": "string",
    "email": "string",
    "automatic": true,
    "created_at": "2026-06-12T10:00:00+00:00",
    "updated_at": "2026-06-12T10:00:00+00:00"
  }
}
401

Authentication failed. error.code is one of invalid_token, expired, revoked.

Error
403

Authorization failed. error.code is one of org_disabled, ip_blocked, missing_scope, scope_disabled, user_disabled.

Error
404

Resource not found (error.code = not_found).

Error
422

The request can't be processed (HTTP 422): validation_failed with one ErrorDetail per problem, or a code documented on the operation.

Error
429

Rate limit exceeded (error.code = rate_limited).

Error

Examples

curl -X POST https://your-org-domain/kong/core/api/v2/classifications/{classification_id}/members\
  -H "Authorization: Bearer $HELM_API_KEY"\
  -H "Content-Type: application/json"\
  -d '{
  "investor_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d"
}'