---
title: "Changes to Create a consent event"
method: POST
path: "/consent-events"
---

# Changes to Create a consent event

`POST /consent-events`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 22 revisions.

- **2026-10-10** `8a6f51e140b8`: 5 breaking, 2 warning, 2 info
- **2026-10-09** `8dfa57319d25`: 1 info

## Changes

- **2026-10-10** `8a6f51e140b8`: 5 breaking, 2 warning, 2 info
  - request property `allOf[#/components/schemas/ConsentEventWriteFields]/identifier/type` was restricted to a list of enum values
  - added `#/components/schemas/Timestamp, subschema #2` to the `data/occurred_at` response property `oneOf` list for the response status `200`
  - added `#/components/schemas/Timestamp, subschema #2` to the `data/occurred_at` response property `oneOf` list for the response status `201`
  - the `data/occurred_at` response's property type changed from `string` to no type, and format from `date-time` to no format for status `200`
  - the `data/occurred_at` response's property type changed from `string` to no type, and format from `date-time` to no format for status `201`
  - the `allOf[#/components/schemas/ConsentEventWriteFields]/evidence/method` request property's maxLength was set to `255`
  - removed the request property `allOf[#/components/schemas/ConsentEventWriteFields]/identifier/is_primary`
  - added the new `email` enum value to the request property `allOf[#/components/schemas/ConsentEventWriteFields]/identifier/type`
  - removed the pattern `^[a-z][a-z0-9_.]*$` from the request property `allOf[#/components/schemas/ConsentEventWriteFields]/identifier/type`
- **2026-10-09** `8dfa57319d25`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/pscrpt/apis/postscript-native-api-beta/docs/consent-events/post.md) - [API](https://skmtc.dev/pscrpt/apis/postscript-native-api-beta.md) - [Page](https://skmtc.dev/pscrpt/apis/postscript-native-api-beta/changes/consent-events/post)
