Creates an event in a conversation.
HTTP request
POST https://businessmessages.googleapis.com/v1/{parent=conversations/*}/events
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The conversation that contains the message. Resolves to "conversations/{conversationId}". |
Query parameters
Parameters | |
---|---|
eventId |
The unique identifier of the event, assigned by the agent. If an event has the same |
Request body
The request body contains an instance of Event
.
Response body
If successful, the response body contains a newly created instance of Event
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/businessmessages
For more information, see the OAuth 2.0 Overview.