Interface MeService
-
- All Implemented Interfaces:
public interface MeServiceRetrieve account details
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceMeService.WithRawResponseA view of MeService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract MeService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract MeServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. MeRetrieveResponseretrieve()Returns the account associated with the provided API key. abstract MeRetrieveResponseretrieve(MeRetrieveParams params, RequestOptions requestOptions)MeRetrieveResponseretrieve(MeRetrieveParams params)MeRetrieveResponseretrieve(RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract MeService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract MeService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
MeRetrieveResponse retrieve()
Returns the account associated with the provided API key. The response includes account identity, contact information, messaging channel configuration, and — depending on the account type — either a list of child profiles or the profile's own settings.
Account types:
organization— Has child profiles. Theprofilesarray is populated.user— Standalone account with no profiles.profile— Child of an organization. Includesorganization_id,short_name,status, andsettings.
Channels: The
channelsobject always includessms,whatsapp, andrcs. Each channel has aconfiguredboolean. Configured channels expose additional details such asphone_number.
-
retrieve
abstract MeRetrieveResponse retrieve(MeRetrieveParams params, RequestOptions requestOptions)
-
retrieve
MeRetrieveResponse retrieve(MeRetrieveParams params)
-
retrieve
MeRetrieveResponse retrieve(RequestOptions requestOptions)
-
-
-
-