POST /api/public/apps/group
The group call lets you assign or unassign a user to a group, along with optionally adding traits to the group.
Authorizations
Authorization header for the request, in the format Bearer <token>
. Find your token at https://app.dittofeed.com/dashboard/settings#write-key.
Headers
Authorization header for the request, in the format Bearer <token>
. Find your token at https://app.dittofeed.com/dashboard/settings#write-key.
Body
Unique identifier for the message, used as an idempotency key for safe retries. Can provide a UUID.
"23d04926-78e5-4ebc-853f-f26c84ff629e"
Unique identifier for the user. Should be the id of the user in your system. Only applicable to logged in users.
"1043"
ISO 8601 formatted timestamp of when the event occurred. If not provided, the current server time will be used.
"2024-04-22T07:00:00.000Z"
Traits of the group.
Provides metadata about the user submitting the event and the context in which the event occurred.
{ "ip": "192.0.2.1" }
Response
Default Response