Create Snowflake section
documentedCreate a section in a Snowflake SMS campaign
POST /sms_campaign/snowflake/{id}/section_create/Peer To Peer Textingno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.callhub.io/v2/sms_campaign/snowflake/{{$snowflake_id}}/section_create/" \
-X POST \
-H "Authorization: Token {{CALLHUB_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"section_type": "{{$section_type}}", "text_script": ["{{$text_line1}}", "{{$text_line2}}"], "number_script": ["{{$number1}}", "{{$number2}}"], "multi_choice_script": ["{{$choice1}}", "{{$choice2}}"]}'"}
## Variables
- snowflake_id: Snowflake Campaign ID (path parameter)
- label: Snowflake Campaign ID
- placeholder: 12345
- type: text
- exampleValue: 67890
- section_type: Type of section to create (e.g., text_script, number_script, multi_choice_script)
- label: Section Type
- placeholder: text_script
- type: text
- exampleValue: text_script
- text_line1: First line of a text_script section
- label: Text Line 1
- placeholder: Hello there
- type: text
- exampleValue: "Hello there"
- text_line2: Second line of a text_script section
- label: Text Line 2
- placeholder: How are you?
- type: text
- exampleValue: "How are you?"
- number1: First value for a number_script section
- label: Number Line 1
- placeholder: 42
- type: text
- exampleValue: "42"
- number2: Second value for a number_script section
- label: Number Line 2
- placeholder: 7
- type: text
- exampleValue: "7"
- choice1: First option for a multi_choice_script
- label: Choice 1
- placeholder: Yes
- type: text
- exampleValue: "Yes"
- choice2: Second option for a multi_choice_script
- label: Choice 2
- placeholder: No
- type: text
- exampleValue: "No"
- CALLHUB_API_KEY: CallHub API Key (Authorization header)
- label: CallHub API Key
- placeholder: api_key
- type: text
- exampleValue: "sk_live_..."
Notes:
- This endpoint creates a new section for a snowflake SMS campaign. Official API reference confirms the POST URL and the v2 path: https://api.callhub.io/v2/sms_campaign/snowflake/{id}/section_create/. ([developer.callhub.io](https://developer.callhub.io/reference/sms_campaignsnowflakeidsection_create))
- The API requires Token-based authentication. Use your API key in the Authorization header as Token <your_api_key>. ([developer.callhub.io](https://developer.callhub.io/docs/getting-started?utm_source=openai))
- The base docs show the v2 API surface for SMS snowflake campaigns, including section_create. ([developer.callhub.io](https://developer.callhub.io/reference/testinput-1))
If you want, I can tailor the body to a specific section type (text_script, number_script, or multi_choice_script) once you tell me which one you plan to create.