Method: brands.agents.list

Lists all the agents associated with a brand.

HTTP request

GET 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. If the brand identifier is "1234", this parameter resolves to "brands/1234". The brand identifier must be "-" to return all agents for an RBM carrier.

Query parameters

Parameters
pageSize

integer

Specify the maximum number of results to be returned by the server. The server may further constrain the maximum number of results returned in a single page. If the pageSize is 0, the server will decide the number of results to be returned.

pageToken

string

The nextPageToken value returned from a previous List request, if any.

Request body

The request body must be empty.

Response body

A list of agents.

If successful, the response body contains data with the following structure:

JSON representation
{
  "agents": [
    {
      object (Agent)
    }
  ],
  "nextPageToken": string
}
Fields
agents[]

object (Agent)

List of agent information.

nextPageToken

string

The pagination token to retrieve the next page of results. If the value is "", it means no further results for the request.