AI-generated Key Takeaways
-
You can create a new agent to represent a brand using a POST request.
-
The API endpoint for creating an agent is
https://businesscommunications.googleapis.com/v1/{parent=brands/*}/agents. -
The request requires a
parentpath parameter which is the unique identifier of the brand the agent represents. -
The request body should contain an instance of an Agent.
-
A successful response will return a newly created instance of an Agent.
Creates a new agent to represent a brand.
HTTP request
POST https://businesscommunications.googleapis.com/v1/{parent=brands/*}/agents
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The unique identifier of the brand the agent represents. If the brand identifier is "1234", this parameter is "brands/1234". |
Request body
The request body contains an instance of Agent.
Response body
If successful, the response body contains a newly created instance of Agent.