Create a unit
Creates a unit in your organization, inside the given collection.
Authorizations
Use Authorization: Bearer end_sk_* for partner API keys (e.g. end_sk_AbCd_example_api_key).
Headers
Unique key that makes this request safe to retry. Replaying the key with the same body returns the original response with Idempotent-Replayed: true; replaying it with a different body returns 409 idempotency.key_conflict.
1 - 255"a1b2c3d4-0000-4000-8000-000000000000"
Body
Collection this unit belongs to.
"8e1a7f50-90ab-4cde-8012-3456789abcde"
Unique identifier for the unit within your organization.
1 - 256"unit-001"
Human-readable name for the unit.
1 - 256"Example Unit"
Free-form JSON attributes for the unit.
Tap redirect URL for this unit. Omit or null for none.
"https://brand.example/p"
Response
Created unit.
Tap redirect URL for this unit; takes precedence over product/collection/org defaults.
"https://brand.example/p"
The unit's collection. Null only for units created before collections existed.
Chips paired to this unit.

