Method: brands.agents.create

  • A new agent representing a brand is created using a POST request to the specified URL.

  • The unique identifier of the brand is required as a path parameter in the URL.

  • The request body must contain an instance of an Agent.

  • A successful response body will contain the newly created Agent instance.

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

string

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.