---
title: "Connect Twilio credentials"
method: POST
path: "/v1/integrations/twilio/credentials"
tags: ["Credentials"]
---

# Connect Twilio credentials

`POST /v1/integrations/twilio/credentials`

## Request

- Base URL: `https://api.skyvern.com`
- URL: `https://api.skyvern.com/v1/integrations/twilio/credentials`
- Auth: API key in header `x-api-key`

Validate and store Twilio credentials for the current organization.

## Request body

- CreateTwilioCredentialRequest
  - `credential` TwilioCredential, required
    - `account_sid` string, required
    - `api_key_sid` string, nullable
    - `api_key_secret` string, nullable
    - `auth_token` string, nullable

## Response `200`

Successful Response

- TwilioCredentialResponse
  - `credential` TwilioCredentialSafe
    - `account_sid` string, required
    - `api_key_sid` string, nullable
    - `has_api_key_secret` boolean, required
    - `has_auth_token` boolean, required

## Other responses

- `400`: The Twilio credentials are invalid
- `404`: Twilio SMS is unavailable or the account was not found
- `409`: Connected phone numbers must be disabled before changing accounts
- `422`: Request validation failed
- `502`: The Twilio provider request failed
- `503`: The Twilio provider rate limit was reached

## Changes

- **2026-10-27** `dc7de12b8e80`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/skyvern-ai/apis/skyvern-api-2/changes/v1/integrations/twilio/credentials/post.md)

---

[API](https://skmtc.dev/skyvern-ai/apis/skyvern-api-2.md) - [All operations](https://skmtc.dev/skyvern-ai/apis/skyvern-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/skyvern-ai/apis/skyvern-api-2/revisions/64479cb160ff?raw)
