1. Registry
  2. Packages
  3. Descope Provider
  4. API Docs
  5. TwilioCoreConnector
Viewing docs for Descope v1.0.1
published on Sunday, Oct 11, 2026 by Descope
descope logo Descope
Viewing docs for Descope v1.0.1
published on Sunday, Oct 11, 2026 by Descope

    Manages a Twilio Core connector and its configuration in a Descope project. Send text messages and place voice calls through Twilio.

    Create TwilioCoreConnector Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TwilioCoreConnector(name: string, args: TwilioCoreConnectorArgs, opts?: CustomResourceOptions);
    @overload
    def TwilioCoreConnector(resource_name: str,
                            args: TwilioCoreConnectorArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def TwilioCoreConnector(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            account_sid: Optional[str] = None,
                            project_id: Optional[str] = None,
                            api_key: Optional[str] = None,
                            api_secret: Optional[str] = None,
                            auth_token: Optional[str] = None,
                            description: Optional[str] = None,
                            from_phone: Optional[str] = None,
                            from_phone_voice: Optional[str] = None,
                            messaging_service_sid: Optional[str] = None,
                            name: Optional[str] = None)
    func NewTwilioCoreConnector(ctx *Context, name string, args TwilioCoreConnectorArgs, opts ...ResourceOption) (*TwilioCoreConnector, error)
    public TwilioCoreConnector(string name, TwilioCoreConnectorArgs args, CustomResourceOptions? opts = null)
    public TwilioCoreConnector(String name, TwilioCoreConnectorArgs args)
    public TwilioCoreConnector(String name, TwilioCoreConnectorArgs args, CustomResourceOptions options)
    
    type: descope:TwilioCoreConnector
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "descope_twilio_core_connector" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TwilioCoreConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TwilioCoreConnectorArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TwilioCoreConnectorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TwilioCoreConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TwilioCoreConnectorArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var twilioCoreConnectorResource = new Descope.TwilioCoreConnector("twilioCoreConnectorResource", new()
    {
        AccountSid = "string",
        ProjectId = "string",
        ApiKey = "string",
        ApiSecret = "string",
        AuthToken = "string",
        Description = "string",
        FromPhone = "string",
        FromPhoneVoice = "string",
        MessagingServiceSid = "string",
        Name = "string",
    });
    
    example, err := descope.NewTwilioCoreConnector(ctx, "twilioCoreConnectorResource", &descope.TwilioCoreConnectorArgs{
    	AccountSid:          pulumi.String("string"),
    	ProjectId:           pulumi.String("string"),
    	ApiKey:              pulumi.String("string"),
    	ApiSecret:           pulumi.String("string"),
    	AuthToken:           pulumi.String("string"),
    	Description:         pulumi.String("string"),
    	FromPhone:           pulumi.String("string"),
    	FromPhoneVoice:      pulumi.String("string"),
    	MessagingServiceSid: pulumi.String("string"),
    	Name:                pulumi.String("string"),
    })
    
    resource "descope_twilio_core_connector" "twilioCoreConnectorResource" {
      lifecycle {
        create_before_destroy = true
      }
      account_sid           = "string"
      project_id            = "string"
      api_key               = "string"
      api_secret            = "string"
      auth_token            = "string"
      description           = "string"
      from_phone            = "string"
      from_phone_voice      = "string"
      messaging_service_sid = "string"
      name                  = "string"
    }
    
    var twilioCoreConnectorResource = new TwilioCoreConnector("twilioCoreConnectorResource", TwilioCoreConnectorArgs.builder()
        .accountSid("string")
        .projectId("string")
        .apiKey("string")
        .apiSecret("string")
        .authToken("string")
        .description("string")
        .fromPhone("string")
        .fromPhoneVoice("string")
        .messagingServiceSid("string")
        .name("string")
        .build());
    
    twilio_core_connector_resource = descope.TwilioCoreConnector("twilioCoreConnectorResource",
        account_sid="string",
        project_id="string",
        api_key="string",
        api_secret="string",
        auth_token="string",
        description="string",
        from_phone="string",
        from_phone_voice="string",
        messaging_service_sid="string",
        name="string")
    
    const twilioCoreConnectorResource = new descope.TwilioCoreConnector("twilioCoreConnectorResource", {
        accountSid: "string",
        projectId: "string",
        apiKey: "string",
        apiSecret: "string",
        authToken: "string",
        description: "string",
        fromPhone: "string",
        fromPhoneVoice: "string",
        messagingServiceSid: "string",
        name: "string",
    });
    
    type: descope:TwilioCoreConnector
    properties:
        accountSid: string
        apiKey: string
        apiSecret: string
        authToken: string
        description: string
        fromPhone: string
        fromPhoneVoice: string
        messagingServiceSid: string
        name: string
        projectId: string
    

    TwilioCoreConnector Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TwilioCoreConnector resource accepts the following input properties:

    AccountSid string
    The Twilio account SID.
    ProjectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    ApiKey string
    The Twilio API key. Set together with an API secret instead of an auth token.
    ApiSecret string
    The Twilio API secret. Set together with an API key instead of an auth token.
    AuthToken string
    The Twilio auth token. Set either this or an API key and secret pair.
    Description string
    A description of what your connector is used for.
    FromPhone string
    The phone number that text messages are sent from. Set either this or a messaging service SID.
    FromPhoneVoice string
    The phone number that voice calls are placed from.
    MessagingServiceSid string
    The Twilio messaging service SID to send text messages through. Set either this or a from phone number.
    Name string
    A custom name for your connector.
    AccountSid string
    The Twilio account SID.
    ProjectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    ApiKey string
    The Twilio API key. Set together with an API secret instead of an auth token.
    ApiSecret string
    The Twilio API secret. Set together with an API key instead of an auth token.
    AuthToken string
    The Twilio auth token. Set either this or an API key and secret pair.
    Description string
    A description of what your connector is used for.
    FromPhone string
    The phone number that text messages are sent from. Set either this or a messaging service SID.
    FromPhoneVoice string
    The phone number that voice calls are placed from.
    MessagingServiceSid string
    The Twilio messaging service SID to send text messages through. Set either this or a from phone number.
    Name string
    A custom name for your connector.
    account_sid string
    The Twilio account SID.
    project_id string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    api_key string
    The Twilio API key. Set together with an API secret instead of an auth token.
    api_secret string
    The Twilio API secret. Set together with an API key instead of an auth token.
    auth_token string
    The Twilio auth token. Set either this or an API key and secret pair.
    description string
    A description of what your connector is used for.
    from_phone string
    The phone number that text messages are sent from. Set either this or a messaging service SID.
    from_phone_voice string
    The phone number that voice calls are placed from.
    messaging_service_sid string
    The Twilio messaging service SID to send text messages through. Set either this or a from phone number.
    name string
    A custom name for your connector.
    accountSid String
    The Twilio account SID.
    projectId String
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    apiKey String
    The Twilio API key. Set together with an API secret instead of an auth token.
    apiSecret String
    The Twilio API secret. Set together with an API key instead of an auth token.
    authToken String
    The Twilio auth token. Set either this or an API key and secret pair.
    description String
    A description of what your connector is used for.
    fromPhone String
    The phone number that text messages are sent from. Set either this or a messaging service SID.
    fromPhoneVoice String
    The phone number that voice calls are placed from.
    messagingServiceSid String
    The Twilio messaging service SID to send text messages through. Set either this or a from phone number.
    name String
    A custom name for your connector.
    accountSid string
    The Twilio account SID.
    projectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    apiKey string
    The Twilio API key. Set together with an API secret instead of an auth token.
    apiSecret string
    The Twilio API secret. Set together with an API key instead of an auth token.
    authToken string
    The Twilio auth token. Set either this or an API key and secret pair.
    description string
    A description of what your connector is used for.
    fromPhone string
    The phone number that text messages are sent from. Set either this or a messaging service SID.
    fromPhoneVoice string
    The phone number that voice calls are placed from.
    messagingServiceSid string
    The Twilio messaging service SID to send text messages through. Set either this or a from phone number.
    name string
    A custom name for your connector.
    account_sid str
    The Twilio account SID.
    project_id str
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    api_key str
    The Twilio API key. Set together with an API secret instead of an auth token.
    api_secret str
    The Twilio API secret. Set together with an API key instead of an auth token.
    auth_token str
    The Twilio auth token. Set either this or an API key and secret pair.
    description str
    A description of what your connector is used for.
    from_phone str
    The phone number that text messages are sent from. Set either this or a messaging service SID.
    from_phone_voice str
    The phone number that voice calls are placed from.
    messaging_service_sid str
    The Twilio messaging service SID to send text messages through. Set either this or a from phone number.
    name str
    A custom name for your connector.
    accountSid String
    The Twilio account SID.
    projectId String
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    apiKey String
    The Twilio API key. Set together with an API secret instead of an auth token.
    apiSecret String
    The Twilio API secret. Set together with an API key instead of an auth token.
    authToken String
    The Twilio auth token. Set either this or an API key and secret pair.
    description String
    A description of what your connector is used for.
    fromPhone String
    The phone number that text messages are sent from. Set either this or a messaging service SID.
    fromPhoneVoice String
    The phone number that voice calls are placed from.
    messagingServiceSid String
    The Twilio messaging service SID to send text messages through. Set either this or a from phone number.
    name String
    A custom name for your connector.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TwilioCoreConnector resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing TwilioCoreConnector Resource

    Get an existing TwilioCoreConnector resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: TwilioCoreConnectorState, opts?: CustomResourceOptions): TwilioCoreConnector
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_sid: Optional[str] = None,
            api_key: Optional[str] = None,
            api_secret: Optional[str] = None,
            auth_token: Optional[str] = None,
            description: Optional[str] = None,
            from_phone: Optional[str] = None,
            from_phone_voice: Optional[str] = None,
            messaging_service_sid: Optional[str] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None) -> TwilioCoreConnector
    func GetTwilioCoreConnector(ctx *Context, name string, id IDInput, state *TwilioCoreConnectorState, opts ...ResourceOption) (*TwilioCoreConnector, error)
    public static TwilioCoreConnector Get(string name, Input<string> id, TwilioCoreConnectorState? state, CustomResourceOptions? opts = null)
    public static TwilioCoreConnector get(String name, Output<String> id, TwilioCoreConnectorState state, CustomResourceOptions options)
    resources:  existingTwilioCoreConnector:    type: descope:TwilioCoreConnector    get:      id: ${id}
    import {
      to = descope_twilio_core_connector.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state TwilioCoreConnectorState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state TwilioCoreConnectorState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state TwilioCoreConnectorState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state TwilioCoreConnectorState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    AccountSid string
    The Twilio account SID.
    ApiKey string
    The Twilio API key. Set together with an API secret instead of an auth token.
    ApiSecret string
    The Twilio API secret. Set together with an API key instead of an auth token.
    AuthToken string
    The Twilio auth token. Set either this or an API key and secret pair.
    Description string
    A description of what your connector is used for.
    FromPhone string
    The phone number that text messages are sent from. Set either this or a messaging service SID.
    FromPhoneVoice string
    The phone number that voice calls are placed from.
    MessagingServiceSid string
    The Twilio messaging service SID to send text messages through. Set either this or a from phone number.
    Name string
    A custom name for your connector.
    ProjectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    AccountSid string
    The Twilio account SID.
    ApiKey string
    The Twilio API key. Set together with an API secret instead of an auth token.
    ApiSecret string
    The Twilio API secret. Set together with an API key instead of an auth token.
    AuthToken string
    The Twilio auth token. Set either this or an API key and secret pair.
    Description string
    A description of what your connector is used for.
    FromPhone string
    The phone number that text messages are sent from. Set either this or a messaging service SID.
    FromPhoneVoice string
    The phone number that voice calls are placed from.
    MessagingServiceSid string
    The Twilio messaging service SID to send text messages through. Set either this or a from phone number.
    Name string
    A custom name for your connector.
    ProjectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    account_sid string
    The Twilio account SID.
    api_key string
    The Twilio API key. Set together with an API secret instead of an auth token.
    api_secret string
    The Twilio API secret. Set together with an API key instead of an auth token.
    auth_token string
    The Twilio auth token. Set either this or an API key and secret pair.
    description string
    A description of what your connector is used for.
    from_phone string
    The phone number that text messages are sent from. Set either this or a messaging service SID.
    from_phone_voice string
    The phone number that voice calls are placed from.
    messaging_service_sid string
    The Twilio messaging service SID to send text messages through. Set either this or a from phone number.
    name string
    A custom name for your connector.
    project_id string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    accountSid String
    The Twilio account SID.
    apiKey String
    The Twilio API key. Set together with an API secret instead of an auth token.
    apiSecret String
    The Twilio API secret. Set together with an API key instead of an auth token.
    authToken String
    The Twilio auth token. Set either this or an API key and secret pair.
    description String
    A description of what your connector is used for.
    fromPhone String
    The phone number that text messages are sent from. Set either this or a messaging service SID.
    fromPhoneVoice String
    The phone number that voice calls are placed from.
    messagingServiceSid String
    The Twilio messaging service SID to send text messages through. Set either this or a from phone number.
    name String
    A custom name for your connector.
    projectId String
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    accountSid string
    The Twilio account SID.
    apiKey string
    The Twilio API key. Set together with an API secret instead of an auth token.
    apiSecret string
    The Twilio API secret. Set together with an API key instead of an auth token.
    authToken string
    The Twilio auth token. Set either this or an API key and secret pair.
    description string
    A description of what your connector is used for.
    fromPhone string
    The phone number that text messages are sent from. Set either this or a messaging service SID.
    fromPhoneVoice string
    The phone number that voice calls are placed from.
    messagingServiceSid string
    The Twilio messaging service SID to send text messages through. Set either this or a from phone number.
    name string
    A custom name for your connector.
    projectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    account_sid str
    The Twilio account SID.
    api_key str
    The Twilio API key. Set together with an API secret instead of an auth token.
    api_secret str
    The Twilio API secret. Set together with an API key instead of an auth token.
    auth_token str
    The Twilio auth token. Set either this or an API key and secret pair.
    description str
    A description of what your connector is used for.
    from_phone str
    The phone number that text messages are sent from. Set either this or a messaging service SID.
    from_phone_voice str
    The phone number that voice calls are placed from.
    messaging_service_sid str
    The Twilio messaging service SID to send text messages through. Set either this or a from phone number.
    name str
    A custom name for your connector.
    project_id str
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    accountSid String
    The Twilio account SID.
    apiKey String
    The Twilio API key. Set together with an API secret instead of an auth token.
    apiSecret String
    The Twilio API secret. Set together with an API key instead of an auth token.
    authToken String
    The Twilio auth token. Set either this or an API key and secret pair.
    description String
    A description of what your connector is used for.
    fromPhone String
    The phone number that text messages are sent from. Set either this or a messaging service SID.
    fromPhoneVoice String
    The phone number that voice calls are placed from.
    messagingServiceSid String
    The Twilio messaging service SID to send text messages through. Set either this or a from phone number.
    name String
    A custom name for your connector.
    projectId String
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.

    Package Details

    Repository
    descope descope/pulumi-descope
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the descope Terraform Provider.
    descope logo Descope
    Viewing docs for Descope v1.0.1
    published on Sunday, Oct 11, 2026 by Descope

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial