Skip to main content
Use twilio in twins and put this configuration under seed_config.twilio. Twilio communications with SMS/MMS, phone numbers, Messaging Services, Voice calls and TwiML, Verify, Conversations, Sync, TaskRouter, Studio, TrustHub, Content, SendGrid and Segment Public API.

Example seed

This is the complete Scenario request body for creating a Scenario. You can also import it with arga test-runner scenarios import --file scenario.json.

Parameters

The following fields belong directly inside seed_config.twilio. Required nested fields are marked in their tables. Provider-native objects can contain service-specific fields beyond the representative record shapes below.

Seeding behavior

Resource records accept natural snake_case and provider request field names. Named resources can be referenced by later fixtures. resources groups resource sections, runtime overrides runtime settings, and snapshot restores a complete exported state instead of applying resource creation.

Resource fields

These tables describe the record shapes used by the example. Keep native field names and casing. Map keys such as property names, IDs, and metadata keys are supplied by your fixture.

phone_numbers[]

messaging_services[]

verify_services[]

conversations[]

conversations[].participants[]

conversations[].messages[]

Typed configuration objects

Named object types in the parameter table use these fields.

FailureRule

See Scenario seeding for saving, provisioning, and resetting fixtures.