| Component: (Network and Table) | |
|---|---|
| Network | 00400 - Statement - Consolidated Statements of Cash Flows (http://www.twilio.com/role/StatementConsolidatedStatementsOfCashFlows)  | 
| Table | (Implied) | 
| Reporting Entity [Axis] | 0001447669 (http://www.sec.gov/CIK) | 
| Statement of Cash Flows [Abstract] | Period [Axis] | ||
|---|---|---|---|
2016-01-01 - 2016-12-31  | 2015-01-01 - 2015-12-31  | 2014-01-01 - 2014-12-31  | |
Statement of Cash Flows [Abstract]  | |||
CASH FLOWS FROM OPERATING ACTIVITIES:  | |||
Net loss  | (41,324,000)   | (35,504,000)   | (26,758,000)   | 
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:  | |||
Depreciation and amortization  | |||
Stock-based compensation  | |||
Provision for doubtful accounts  | |||
Tax benefit related to acquisition  | (  | ||
Write-off of internal use software  | |||
Loss on lease termination  | |||
Changes in operating assets and liabilities:  | |||
Accounts receivable  | (  | (  | (  | 
Prepaid expenses and other current assets  | (  | (  | (  | 
Other long-term assets  | (  | (  | |
Accounts payable  | |||
Accrued expenses and other current liabilities  | |||
Deferred revenue  | |||
Other long-term liabilities  | (  | ||
Net cash provided by (used in) operating activities  | (  | (  | |
CASH FLOWS FROM INVESTING ACTIVITIES:  | |||
Increase in restricted cash  | (  | (  | |
Capitalized software development costs  | (  | (  | (  | 
Purchases of property and equipment  | (  | (  | (  | 
Purchases of intangible assets  | (  | (  | (  | 
Acquisition, net of cash acquired  | (  | (  | |
Net cash used in investing activities  | (  | (  | (  | 
CASH FLOWS FROM FINANCING ACTIVITIES:  | |||
Proceeds from the initial public offering, net of underwriting discounts  | |||
Proceeds from the follow-on public offering, net of underwriting discounts  | |||
Payments of costs related to public offerings  | (  | (  | |
Net proceeds from issuance of convertible preferred stock  | |||
Proceeds from exercises of vested options  | |||
Proceeds from exercises of nonvested options  | |||
Value of equity awards withheld for tax liabilities  | (  | ||
Repurchases of common and preferred stock  | (  | (  | (  | 
Net cash provided by financing activities  | |||
NET INCREASE (DECREASE) IN CASH AND CASH EQUIVALENTS  | (  | ||
CASH AND CASH EQUIVALENTS-Beginning of year  | 108,835,000    | ||
CASH AND CASH EQUIVALENTS-End of year  | 305,665,000    | 108,835,000    | 32,627,000    | 
Cash paid for income taxes  | |||
NON-CASH INVESTING AND FINANCING ACTIVITIES:  | |||
Purchases of property, equipment and intangible assets, accrued but not paid  | |||
Stock-based compensation capitalized in software development costs  | |||
Vesting of early exercised options  | |||
Series T convertible preferred stock issued as part of purchase price in the Authy acquisition  | |||
Costs related to the public offerings, accrued but not paid  | |||