SunshineConversationsClient::GetTokenRequest
August 27, 2025 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| code | String | The authorization code received via the OAuth flow | |
| grant_type | String | Must be set to the string `authorization_code` | |
| client_id | String | Your OAuth client ID, provisioned during the partner application process | |
| client_secret | String | Your 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
)