All URIs are relative to https://api.sendinblue.com/v3
Method | HTTP request | Description |
---|---|---|
get_account | GET /account | Get your account informations, plans and credits details |
GetAccount get_account
Get your account informations, plans and credits details
# 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 informations, plans and credits details
result = api_instance.get_account
p result
rescue SibApiV3Sdk::ApiError => e
puts "Exception when calling AccountApi->get_account: #{e}"
end
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json