Class: Telnyx::Models::MessagingTollfree::Verification::TfVerificationRequest
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::MessagingTollfree::Verification::TfVerificationRequest
- Defined in:
- lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#additional_information ⇒ String
Any additional information.
-
#age_gated_content ⇒ Boolean?
Indicates if messaging content requires age gating (e.g., 18+).
-
#business_addr1 ⇒ String
Line 1 of the business address.
-
#business_addr2 ⇒ String?
Line 2 of the business address.
-
#business_city ⇒ String
The city of the business address; the first letter should be capitalized.
-
#business_contact_email ⇒ String
The email address of the business contact.
-
#business_contact_first_name ⇒ String
First name of the business contact; there are no specific requirements on formatting.
-
#business_contact_last_name ⇒ String
Last name of the business contact; there are no specific requirements on formatting.
-
#business_contact_phone ⇒ String
The phone number of the business contact in E.164 format.
-
#business_name ⇒ String
Name of the business; there are no specific formatting requirements.
-
#business_registration_country ⇒ String?
ISO 3166-1 alpha-2 country code of the issuing business authority.
-
#business_registration_number ⇒ String?
Official business registration number (e.g., Employer Identification Number (EIN) in the U.S.).
-
#business_registration_type ⇒ String?
Type of business registration being provided.
-
#business_state ⇒ String
The full name of the state (not the 2 letter code) of the business address; the first letter should be capitalized.
-
#business_zip ⇒ String
The ZIP code of the business address.
-
#campaign_verify_authorization_token ⇒ String?
Campaign Verify Authorization Token required for Political use case submissions starting February 17, 2026.
-
#corporate_website ⇒ String
A URL, including the scheme, pointing to the corporate website.
-
#doing_business_as ⇒ String?
Doing Business As (DBA) name if different from legal name.
-
#entity_type ⇒ Symbol, ...
Business entity classification.
-
#help_message_response ⇒ String?
The message returned when users text ‘HELP’.
-
#isv_reseller ⇒ String?
ISV name.
-
#message_volume ⇒ Symbol, Telnyx::Models::MessagingTollfree::Verification::Volume
Message Volume Enums.
-
#opt_in_confirmation_response ⇒ String?
Message sent to users confirming their opt-in to receive messages.
-
#opt_in_keywords ⇒ String?
Keywords used to collect and process consumer opt-ins.
-
#opt_in_workflow ⇒ String
Human-readable description of how end users will opt into receiving messages from the given phone numbers.
-
#opt_in_workflow_image_urls ⇒ Array<Telnyx::Models::MessagingTollfree::Verification::URL>
Images showing the opt-in workflow.
-
#phone_numbers ⇒ Array<Telnyx::Models::MessagingTollfree::Verification::TfPhoneNumber>
The phone numbers to request the verification of.
-
#privacy_policy_url ⇒ String?
URL pointing to the business’s privacy policy.
-
#production_message_content ⇒ String
An example of a message that will be sent from the given phone numbers.
-
#terms_and_condition_url ⇒ String?
URL pointing to the business’s terms and conditions.
-
#use_case ⇒ Symbol, Telnyx::Models::MessagingTollfree::Verification::UseCaseCategories
Tollfree usecase categories.
-
#use_case_summary ⇒ String
Human-readable summary of the desired use-case.
-
#webhook_url ⇒ String?
URL that should receive webhooks relating to this verification request.
Instance Method Summary collapse
-
#initialize(additional_information:, business_addr1:, business_city:, business_contact_email:, business_contact_first_name:, business_contact_last_name:, business_contact_phone:, business_name:, business_state:, business_zip:, corporate_website:, message_volume:, opt_in_workflow:, opt_in_workflow_image_urls:, phone_numbers:, production_message_content:, use_case:, use_case_summary:, age_gated_content: nil, business_addr2: nil, business_registration_country: nil, business_registration_number: nil, business_registration_type: nil, campaign_verify_authorization_token: nil, doing_business_as: nil, entity_type: nil, help_message_response: nil, isv_reseller: nil, opt_in_confirmation_response: nil, opt_in_keywords: nil, privacy_policy_url: nil, terms_and_condition_url: nil, webhook_url: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see TfVerificationRequest for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(additional_information:, business_addr1:, business_city:, business_contact_email:, business_contact_first_name:, business_contact_last_name:, business_contact_phone:, business_name:, business_state:, business_zip:, corporate_website:, message_volume:, opt_in_workflow:, opt_in_workflow_image_urls:, phone_numbers:, production_message_content:, use_case:, use_case_summary:, age_gated_content: nil, business_addr2: nil, business_registration_country: nil, business_registration_number: nil, business_registration_type: nil, campaign_verify_authorization_token: nil, doing_business_as: nil, entity_type: nil, help_message_response: nil, isv_reseller: nil, opt_in_confirmation_response: nil, opt_in_keywords: nil, privacy_policy_url: nil, terms_and_condition_url: nil, webhook_url: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::MessagingTollfree::Verification::TfVerificationRequest for more details.
The body of a tollfree verification request
|
|
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 234
|
Instance Attribute Details
#additional_information ⇒ String
Any additional information
12 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 12 required :additional_information, String, api_name: :additionalInformation |
#age_gated_content ⇒ Boolean?
Indicates if messaging content requires age gating (e.g., 18+). Defaults to false if not provided.
135 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 135 optional :age_gated_content, Telnyx::Internal::Type::Boolean, api_name: :ageGatedContent |
#business_addr1 ⇒ String
Line 1 of the business address
18 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 18 required :business_addr1, String, api_name: :businessAddr1 |
#business_addr2 ⇒ String?
Line 2 of the business address
141 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 141 optional :business_addr2, String, api_name: :businessAddr2 |
#business_city ⇒ String
The city of the business address; the first letter should be capitalized
24 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 24 required :business_city, String, api_name: :businessCity |
#business_contact_email ⇒ String
The email address of the business contact
30 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 30 required :business_contact_email, String, api_name: :businessContactEmail |
#business_contact_first_name ⇒ String
First name of the business contact; there are no specific requirements on formatting
37 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 37 required :business_contact_first_name, String, api_name: :businessContactFirstName |
#business_contact_last_name ⇒ String
Last name of the business contact; there are no specific requirements on formatting
44 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 44 required :business_contact_last_name, String, api_name: :businessContactLastName |
#business_contact_phone ⇒ String
The phone number of the business contact in E.164 format
50 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 50 required :business_contact_phone, String, api_name: :businessContactPhone |
#business_name ⇒ String
Name of the business; there are no specific formatting requirements
56 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 56 required :business_name, String, api_name: :businessName |
#business_registration_country ⇒ String?
ISO 3166-1 alpha-2 country code of the issuing business authority. Must be exactly 2 letters. Automatically converted to uppercase. Required from January 2026.
149 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 149 optional :business_registration_country, String, api_name: :businessRegistrationCountry, nil?: true |
#business_registration_number ⇒ String?
Official business registration number (e.g., Employer Identification Number (EIN) in the U.S.). Required from January 2026.
156 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 156 optional :business_registration_number, String, api_name: :businessRegistrationNumber, nil?: true |
#business_registration_type ⇒ String?
Type of business registration being provided. Required from January 2026.
162 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 162 optional :business_registration_type, String, api_name: :businessRegistrationType, nil?: true |
#business_state ⇒ String
The full name of the state (not the 2 letter code) of the business address; the first letter should be capitalized
63 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 63 required :business_state, String, api_name: :businessState |
#business_zip ⇒ String
The ZIP code of the business address
69 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 69 required :business_zip, String, api_name: :businessZip |
#campaign_verify_authorization_token ⇒ String?
Campaign Verify Authorization Token required for Political use case submissions starting February 17, 2026. This token is validated by Zipwhip and must be provided for all Political use case verifications after the deadline.
170 171 172 173 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 170 optional :campaign_verify_authorization_token, String, api_name: :campaignVerifyAuthorizationToken, nil?: true |
#corporate_website ⇒ String
A URL, including the scheme, pointing to the corporate website
75 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 75 required :corporate_website, String, api_name: :corporateWebsite |
#doing_business_as ⇒ String?
Doing Business As (DBA) name if different from legal name
179 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 179 optional :doing_business_as, String, api_name: :doingBusinessAs, nil?: true |
#entity_type ⇒ Symbol, ...
Business entity classification
185 186 187 188 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 185 optional :entity_type, enum: -> { Telnyx::MessagingTollfree::Verification::TollFreeVerificationEntityType }, api_name: :entityType, nil?: true |
#help_message_response ⇒ String?
The message returned when users text ‘HELP’
194 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 194 optional :help_message_response, String, api_name: :helpMessageResponse, nil?: true |
#isv_reseller ⇒ String?
ISV name
200 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 200 optional :isv_reseller, String, api_name: :isvReseller, nil?: true |
#message_volume ⇒ Symbol, Telnyx::Models::MessagingTollfree::Verification::Volume
Message Volume Enums
81 82 83 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 81 required :message_volume, enum: -> { Telnyx::MessagingTollfree::Verification::Volume }, api_name: :messageVolume |
#opt_in_confirmation_response ⇒ String?
Message sent to users confirming their opt-in to receive messages
206 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 206 optional :opt_in_confirmation_response, String, api_name: :optInConfirmationResponse, nil?: true |
#opt_in_keywords ⇒ String?
Keywords used to collect and process consumer opt-ins
212 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 212 optional :opt_in_keywords, String, api_name: :optInKeywords, nil?: true |
#opt_in_workflow ⇒ String
Human-readable description of how end users will opt into receiving messages from the given phone numbers
90 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 90 required :opt_in_workflow, String, api_name: :optInWorkflow |
#opt_in_workflow_image_urls ⇒ Array<Telnyx::Models::MessagingTollfree::Verification::URL>
Images showing the opt-in workflow
96 97 98 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 96 required :opt_in_workflow_image_urls, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::MessagingTollfree::Verification::URL] }, api_name: :optInWorkflowImageURLs |
#phone_numbers ⇒ Array<Telnyx::Models::MessagingTollfree::Verification::TfPhoneNumber>
The phone numbers to request the verification of
104 105 106 107 108 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 104 required :phone_numbers, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::MessagingTollfree::Verification::TfPhoneNumber] }, api_name: :phoneNumbers |
#privacy_policy_url ⇒ String?
URL pointing to the business’s privacy policy. Plain string, no URL format validation.
219 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 219 optional :privacy_policy_url, String, api_name: :privacyPolicyURL, nil?: true |
#production_message_content ⇒ String
An example of a message that will be sent from the given phone numbers
114 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 114 required :production_message_content, String, api_name: :productionMessageContent |
#terms_and_condition_url ⇒ String?
URL pointing to the business’s terms and conditions. Plain string, no URL format validation.
226 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 226 optional :terms_and_condition_url, String, api_name: :termsAndConditionURL, nil?: true |
#use_case ⇒ Symbol, Telnyx::Models::MessagingTollfree::Verification::UseCaseCategories
Tollfree usecase categories
120 121 122 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 120 required :use_case, enum: -> { Telnyx::MessagingTollfree::Verification::UseCaseCategories }, api_name: :useCase |
#use_case_summary ⇒ String
Human-readable summary of the desired use-case
128 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 128 required :use_case_summary, String, api_name: :useCaseSummary |
#webhook_url ⇒ String?
URL that should receive webhooks relating to this verification request
232 |
# File 'lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb', line 232 optional :webhook_url, String, api_name: :webhookUrl |