Party

Create a Party as admin

Changed on

Delegated Aura access tokens require parties:write; missing scope returns 403 FORBIDDEN. Creates a Party for an authenticated administrator.

The request accepts only the Party name and optional phone/email contact information. Party names trim outer Unicode whitespace, reject blank values, and reject values over 255 UTF-8 bytes. The Party slug is generated once from the canonical name and stable Party ID; it remains immutable if the Party is renamed later.

post/api/v1/admin/parties

Request

  • Base URL: https://api.stage.aura-historia.com
  • URL: https://api.stage.aura-historia.com/api/v1/admin/parties
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Request body

namestring required

Party name. Outer Unicode whitespace is trimmed; blank values and values over 255 UTF-8 bytes are rejected.

phonestring

Optional Party phone number.

emailstring email

Optional Party email address.

Response

Party created successfully.

partyIdstring required

Stable Party identifier.

partySlugIdstring required

Immutable Party slug identifier.

namestring required

Party name.

createdstring date-time required

When the Party was created.

updatedstring date-time required

When the Party was last updated.

Changes

    • breaking

      the response's property format changed from uuid to no format for status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      endpoint added