Package com.vonage.client
Class VonageClient
java.lang.Object
com.vonage.client.VonageClient
Top-level Vonage API client object.
Construct an instance of this object with one or more AuthMethods (providing all the authentication methods
for the APIs you wish to use), and then call getVoiceClient() to obtain a client for the Vonage Voice API.
.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for specifying the properties of the client. -
Method Summary
Modifier and TypeMethodDescriptionstatic VonageClient.Builderbuilder()Entry point for constructing an instance of this class.Generate a JWT for the application the client has been configured with.Returns the Account API client.Returns the Application API client.Returns the Conversations v1 client.Returns the Conversion API client.Returns the Number Insight API client.Deprecated.Support for this API will be removed in the next major release.Returns the Messages v1 API client.Returns the Fraud Detection API client.Returns the Numbers API client.Returns the CAMARA Number Verification API client.Deprecated.This API is sunset and will be removed in the next major release.Returns the Redact API client.Returns the CAMARA SIM Swap API client.Returns the SMS API client.Returns the Subaccounts API client.Returns the Users API client.Returns the Verify v2 API client.Returns the Verify v1 API client.Returns the Video API client.Returns the Voice API client.
-
Method Details
-
getAccountClient
Returns the Account API client.- Returns:
- The AccountClient.
-
getApplicationClient
Returns the Application API client.- Returns:
- The ApplicationClient.
-
getInsightClient
Returns the Number Insight API client.- Returns:
- The InsightClient.
-
getNumbersClient
Returns the Numbers API client.- Returns:
- The NumbersClient.
-
getSmsClient
Returns the SMS API client.- Returns:
- The SmsClient.
-
getVerifyClient
Returns the Verify v1 API client.- Returns:
- The VerifyClient.
-
getVoiceClient
Returns the Voice API client.- Returns:
- The VoiceClient.
-
getConversionClient
Returns the Conversion API client.- Returns:
- The ConversionClient.
-
getRedactClient
Returns the Redact API client.- Returns:
- The RedactClient.
-
getMessagesClient
Returns the Messages v1 API client.- Returns:
- The MessagesClient.
- Since:
- 6.5.0
-
getProactiveConnectClient
Deprecated.This API is sunset and will be removed in the next major release.Returns the Proactive Connect API client.- Returns:
- The ProactiveConnectClient.
- Since:
- 7.6.0
-
getMeetingsClient
Deprecated.Support for this API will be removed in the next major release.Returns the Meetings API client.- Returns:
- The MeetingsClient.
- Since:
- 7.6.0
-
getVerify2Client
Returns the Verify v2 API client.- Returns:
- The Verify2Client.
- Since:
- 7.4.0
-
getSubaccountsClient
Returns the Subaccounts API client.- Returns:
- The SubaccountsClient.
- Since:
- 7.5.0
-
getUsersClient
Returns the Users API client.- Returns:
- The UsersClient.
- Since:
- 7.7.0
-
getVideoClient
Returns the Video API client.- Returns:
- The VideoClient.
- Since:
- 8.0.0-beta1
-
getNumberInsight2Client
Returns the Fraud Detection API client.- Returns:
- The NumberInsight2Client.
- Since:
- 8.2.0
-
getConversationsClient
Returns the Conversations v1 client.- Returns:
- The Conversation client.
- Since:
- 8.4.0
-
getSimSwapClient
Returns the CAMARA SIM Swap API client.- Returns:
- The SimSwapClient.
- Since:
- 8.8.0
-
getNumberVerificationClient
Returns the CAMARA Number Verification API client.- Returns:
- The NumberVerificationClient.
- Since:
- 8.9.0
-
generateJwt
Generate a JWT for the application the client has been configured with.- Returns:
- A String containing the token data.
- Throws:
VonageUnacceptableAuthException- if noJWTAuthMethodis available
-
builder
Entry point for constructing an instance of this class.- Returns:
- A new Builder with default initial configuration.
-