Skip to content

Commit b685724

Browse files
klaviyo-sdkklaviyo-sdk
andauthored
version 15.0.0 (#43)
Co-authored-by: klaviyo-sdk <[email protected]>
1 parent 7da92b0 commit b685724

File tree

301 files changed

+52473
-1431
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

301 files changed

+52473
-1431
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [15.0.0] - revision 2025-10-15
8+
### Added
9+
#### Flow Actions API
10+
- Get flow actions, flow messages, flow action IDs, and more with the [Flow Actions API](https://developers.klaviyo.com/en/reference/get_flow_action).
11+
- Update flow actions within a flow, including associated message content, with the [Update Flow Action](https://developers.klaviyo.com/en/reference/update_flow_action) endpoint.
12+
13+
### Updated
14+
#### Forms API
15+
- Retrieve a form and its definition with the [Forms API](https://developers.klaviyo.com/en/reference/forms_api_overview).
16+
- Use the [Create Form](https://developers.klaviyo.com/en/reference/create_form) endpoint to generate a new form by providing the status, A/B test preference, and name of the form.
17+
718
## [14.0.1] - revision 2025-07-15
819
### Fixed
920
- Added nil check when accessing `Retry-After` header

README.md

Lines changed: 318 additions & 298 deletions
Large diffs are not rendered by default.

klaviyo-api-sdk.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ require "klaviyo-api-sdk/version"
1616

1717
Gem::Specification.new do |s|
1818
s.name = "klaviyo-api-sdk"
19-
s.version = "14.0.1"
19+
s.version = "15.0.0"
2020
s.authors = ['Klaviyo Team']
2121
s.email = ['[email protected]']
2222
s.summary = 'You heard us, a Ruby wrapper for the Klaviyo API'

lib/klaviyo-api-sdk.rb

Lines changed: 256 additions & 1 deletion
Large diffs are not rendered by default.

lib/klaviyo-api-sdk.rb.bak

Lines changed: 256 additions & 1 deletion
Large diffs are not rendered by default.

lib/klaviyo-api-sdk/api/accounts_api.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def initialize(api_client = ApiClient.default)
2222
# Retrieve a single account object by its account ID. You can only request the account by which the private API key was generated.<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `15/m` **Scopes:** `accounts:read`
2323
# @param id [String] The ID of the account
2424
# @param [Hash] opts the optional parameters
25-
# @option opts [Array<String>] :fields_account For more information please visit https://developers.klaviyo.com/en/v2025-07-15/reference/api-overview#sparse-fieldsets
25+
# @option opts [Array<String>] :fields_account For more information please visit https://developers.klaviyo.com/en/v2025-10-15/reference/api-overview#sparse-fieldsets
2626
# @return [Hash<String, Object>]
2727
def get_account(id, opts = {})
2828
data, _status_code, _headers = get_account_with_http_info(id, opts)
@@ -33,7 +33,7 @@ def get_account(id, opts = {})
3333
# Retrieve a single account object by its account ID. You can only request the account by which the private API key was generated.&lt;br&gt;&lt;br&gt;*Rate limits*:&lt;br&gt;Burst: &#x60;1/s&#x60;&lt;br&gt;Steady: &#x60;15/m&#x60; **Scopes:** &#x60;accounts:read&#x60;
3434
# @param id [String] The ID of the account
3535
# @param [Hash] opts the optional parameters
36-
# @option opts [Array<String>] :fields_account For more information please visit https://developers.klaviyo.com/en/v2025-07-15/reference/api-overview#sparse-fieldsets
36+
# @option opts [Array<String>] :fields_account For more information please visit https://developers.klaviyo.com/en/v2025-10-15/reference/api-overview#sparse-fieldsets
3737
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
3838
def get_account_with_http_info(id, opts = {})
3939
if @api_client.config.debugging
@@ -57,7 +57,7 @@ def get_account_with_http_info(id, opts = {})
5757
# header parameters
5858
header_params = opts[:header_params] || {}
5959
# klaviyo api revision
60-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-07-15"
60+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-10-15"
6161
# HTTP header 'Accept' (if needed)
6262
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
6363

@@ -93,7 +93,7 @@ def get_account_with_http_info(id, opts = {})
9393
# Get Accounts
9494
# Retrieve the account(s) associated with a given private API key. This will return 1 account object within the array. You can use this to retrieve account-specific data (contact information, timezone, currency, Public API key, etc.) or test if a Private API Key belongs to the correct account prior to performing subsequent actions with the API.<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `15/m` **Scopes:** `accounts:read`
9595
# @param [Hash] opts the optional parameters
96-
# @option opts [Array<String>] :fields_account For more information please visit https://developers.klaviyo.com/en/v2025-07-15/reference/api-overview#sparse-fieldsets
96+
# @option opts [Array<String>] :fields_account For more information please visit https://developers.klaviyo.com/en/v2025-10-15/reference/api-overview#sparse-fieldsets
9797
# @return [Hash<String, Object>]
9898
def get_accounts(opts = {})
9999
data, _status_code, _headers = get_accounts_with_http_info(opts)
@@ -103,7 +103,7 @@ def get_accounts(opts = {})
103103
# Get Accounts
104104
# Retrieve the account(s) associated with a given private API key. This will return 1 account object within the array. You can use this to retrieve account-specific data (contact information, timezone, currency, Public API key, etc.) or test if a Private API Key belongs to the correct account prior to performing subsequent actions with the API.&lt;br&gt;&lt;br&gt;*Rate limits*:&lt;br&gt;Burst: &#x60;1/s&#x60;&lt;br&gt;Steady: &#x60;15/m&#x60; **Scopes:** &#x60;accounts:read&#x60;
105105
# @param [Hash] opts the optional parameters
106-
# @option opts [Array<String>] :fields_account For more information please visit https://developers.klaviyo.com/en/v2025-07-15/reference/api-overview#sparse-fieldsets
106+
# @option opts [Array<String>] :fields_account For more information please visit https://developers.klaviyo.com/en/v2025-10-15/reference/api-overview#sparse-fieldsets
107107
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
108108
def get_accounts_with_http_info(opts = {})
109109
if @api_client.config.debugging
@@ -123,7 +123,7 @@ def get_accounts_with_http_info(opts = {})
123123
# header parameters
124124
header_params = opts[:header_params] || {}
125125
# klaviyo api revision
126-
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-07-15"
126+
header_params['revision'] = ENV['KLAVIYO_API_REVISION'] || ENV['API_REVISION'] || "2025-10-15"
127127
# HTTP header 'Accept' (if needed)
128128
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
129129

0 commit comments

Comments
 (0)