Sha256: 56e67d19f3ca55cc168786116b12b1091560d9b6ac61f3fb6d5ef202702c2198

Contents?: true

Size: 1.52 KB

Versions: 12

Compression:

Stored size: 1.52 KB

Contents

# SibApiV3Sdk::AccountApi

All URIs are relative to *https://api.sendinblue.com/v3*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_account**](AccountApi.md#get_account) | **GET** /account | Get your account information, plan and credits details


# **get_account**
> GetAccount get_account

Get your account information, plan and credits details

### Example
```ruby
# load the gem
require 'sib-api-v3-sdk'
# setup authorization
SibApiV3Sdk.configure do |config|
  # Configure API key authorization: api-key
  config.api_key['api-key'] = 'YOUR API KEY'
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
  #config.api_key_prefix['api-key'] = 'Bearer'

  # Configure API key authorization: partner-key
  config.api_key['partner-key'] = 'YOUR API KEY'
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
  #config.api_key_prefix['partner-key'] = 'Bearer'
end

api_instance = SibApiV3Sdk::AccountApi.new

begin
  #Get your account information, plan and credits details
  result = api_instance.get_account
  p result
rescue SibApiV3Sdk::ApiError => e
  puts "Exception when calling AccountApi->get_account: #{e}"
end
```

### Parameters
This endpoint does not need any parameter.

### Return type

[**GetAccount**](GetAccount.md)

### Authorization

[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json



Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
sib-api-v3-sdk-9.1.0 docs/AccountApi.md
sib-api-v3-sdk-9.0.0 docs/AccountApi.md
sib-api-v3-sdk-8.1.0 docs/AccountApi.md
sib-api-v3-sdk-8.0.0 docs/AccountApi.md
sib-api-v3-sdk-7.5.0 docs/AccountApi.md
sib-api-v3-sdk-7.4.0 docs/AccountApi.md
sib-api-v3-sdk-7.3.0 docs/AccountApi.md
sib-api-v3-sdk-7.2.0 docs/AccountApi.md
sib-api-v3-sdk-7.1.0 docs/AccountApi.md
sib-api-v3-sdk-7.0.0 docs/AccountApi.md
sib-api-v3-sdk-5.5.0 docs/AccountApi.md
sib-api-v3-sdk-5.4.0 docs/AccountApi.md