---
title: "create a speech credential for a service provider"
method: POST
path: "/ServiceProviders/{ServiceProviderSid}/SpeechCredentials"
tags: ["Speech"]
---

# create a speech credential for a service provider

`POST /ServiceProviders/{ServiceProviderSid}/SpeechCredentials`

<Error>This endpoint is only availble with an Admin or Service Provider API key</Error>

## Request body

- SpeechCredential
  - `speech_credential_sid` string, uuid
  - `account_sid` string, uuid
  - `vendor` 'google' | 'aws'
  - `service_key` string
  - `access_key_id` string
  - `secret_access_key` string
  - `aws_region` string
  - `last_used` string, date-time
  - `last_tested` string, date-time
  - `use_for_tts` boolean
  - `use_for_stt` boolean
  - `tts_tested_ok` boolean
  - `stt_tested_ok` boolean
  - `riva_server_uri` string

## Response `201`

speech credential successfully created

- SuccessfulAdd
  - `sid` string, required

## Other responses

- `404` — credential not found

---

[API](https://skmtc.net/jambonz/apis/jambonz-api.md) · [All operations](https://skmtc.net/jambonz/apis/jambonz-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jambonz/jambonz-api/versions/56f317145d23/schema)
