Sign in

Create asset

documented

Upload an Asset to a Serverless Service.

POST https://serverless.twilio.com/v1/Services/{Sid}/AssetsServerlessno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://serverless.twilio.com/v1/Services/{{$service_sid}}/Assets" \
  -X POST \
  -u "{{$TWILIO_ACCOUNT_SID}}:{{$TWILIO_AUTH_TOKEN}}" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -H "Accept: application/json" \
  -d 'FriendlyName={{$friendlyName}}'