Updates: Check the release notes for new features and product updates.

Method: agents.getKey

Stay organized with collections Save and categorize content based on your preferences.

Gets an agent's public key.

HTTP request

GET https://verifiedsms.googleapis.com/v1/{name=agents/*/key}

The URL uses gRPC Transcoding syntax.

Path parameters



"agents/{agentId}/key", where {agentId} is the Verified SMS agent identifier. For example, with the ID growing-tree-bank, the endpoint is https://verifiedsms.googleapis.com/v1/agents/growing-tree-bank/key.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Key.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/verifiedsms

For more information, see the OAuth 2.0 Overview.