Skip to contentSkip to navigationSkip to topbar
On this page

Studio-generated API Keys



Overview

overview page anchor

Twilio Studio workflows make requests to Twilio REST APIs on behalf of your Twilio account. To achieve this, Studio auto-generates an API Key in your account during your very first Flow Execution. This API Key is named "Studio API Key" and is visible to you in Twilio Console(link takes you to an external page).

During Flow Execution, if a Studio widget needs to make a request to a Twilio API, such as sending an SMS via the Send Message widget, Studio uses the Studio API Key to authenticate that API request.

Because the Studio API Key is automatically generated, you never need to provide your Twilio Auth Token to Studio. If the Studio API Key is deleted from your account, Studio will automatically generate a new one during Flow Execution to ensure no loss of functionality in your Studio Flows.


When Studio generates the API Key, Twilio Enterprise customers who use Audit Events will see log entries for the API Key and its related Account Credential.

Example Audit Events:

  • account-api-keys.created - Friendly Name: Studio API Key
  • account-credentials.created - Friendly Name: Studio API Key; Type: Twilio Signing Key

Studio supports the following event types:

  • flow.created
  • flow.deleted
  • flow.updated

As part of the Audit Events, Studio sends the following fields:

  • Event Date
  • Event Sid (Account SID)
  • Resource Type (Flow)
  • Resource Sid (Flow SID)
  • Event Type (flow.created, flow.deleted, or flow.updated)
  • Source (Web/API)
  • Source IP (Source who made the changes)
  • Actor (User SID/Account SID)
  • Region

On August 8, 2022, the Studio engineering team completed migration of active Flow events and related data to a new data store to better support our customers as their usage grows. A side effect of this migration was the auto-creation of brand new API Keys for all existing Studio customers during their first Execution in the new data store.

Consequently, you may notice two Studio API Keys in your account's API Key list(link takes you to an external page). The older Studio API Key will no longer be used, and if you wish, you may delete it from your list in Twilio Console.

(information)

Info

The creation of new Studio API Keys was not related to the recent customer account compromise(link takes you to an external page).

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.