SunshineConversationsClient::GetTokenRequest

August 27, 2025 ยท View on GitHub

Properties

NameTypeDescriptionNotes
codeStringThe authorization code received via the OAuth flow
grant_typeStringMust be set to the string `authorization_code`
client_idStringYour OAuth client ID, provisioned during the partner application process
client_secretStringYour OAuth client secret, provisioned during the partner application process

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::GetTokenRequest.new(
  code: 658965,
  grant_type: authorization_code,
  client_id: 5e4af71a81966cfff3ef6550,
  client_secret: 5XJ85yjUtRcaQu_pDINblPZb
)