We will be winding down Google Business Messages on July 31, 2024. Read more
here.
Method: brands.agents.greetings.create
Stay organized with collections
Save and categorize content based on your preferences.
Deprecated: Greetings are deprecated. Please migrate away from the APIs. Creates a new greeting for an agent.
HTTP request
POST https://businesscommunications.googleapis.com/v1/{parent=brands/*/agents/*}/greetings
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The unique identifier of the agent associated with the greeting. If the brand ID is "1234" and the agent ID is "5678", this parameter resolves to "brands/1234/agents/5678".
|
Request body
The request body contains an instance of Greeting
.
Response body
If successful, the response body contains a newly created instance of Greeting
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-03-21 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-03-21 UTC."],[[["This API is deprecated and users should migrate away from it."],["The API creates a new greeting for a specified agent within a brand."],["Requests are made using a POST method to a structured URL containing brand and agent IDs."],["The request body should contain a `Greeting` object to define the greeting content."],["If successful, the response returns the newly created `Greeting` object."]]],[]]