Create event
POST
https://api.flownally.com/v1/eventsRecords an event for the contact in contactId. Deprecated: use
POST /contacts/{contactId}/events, which behaves the same.
Authorization
Required scopes
- event:create
Allowed roles
- owner
- admin
- agent
Create an event in the workspace.
Parameters
- Name
Idempotency-Key- Type
- header · string
Key you generate so a retried request isn't applied twice. Use a new key for each new request and the same key for each retry of it.
Body parameters
Send a application/json body. The body is required.
- Name
contactId- Type
- string
- required
- Name
eventTypeName- Type
- string
- required
- Name
payload- Type
- object
- Name
idempotencyKey- Type
- string
Same as theIdempotency-Keyheader. When both are sent, the header wins.
Responses
- 201Event createdapplication/json
- 409Event with this idempotency key already existsapplication/json
- defaultErrorapplication/json
Related schemas
Generated from the API spec.