Update Record API
Update your record info.
Root
Route
Request Type
Request Headers
Below are the list of Accepted Request Headers if you are trying to Update Project Info.
Request Header | Value | Required |
---|---|---|
X-Master-Key | <API_KEY> | Yes |
X-Master-Key Required
You will need this Key to access mostly any API end-point on TTSKit. You could find the key on the API Key page.
Query String Parameters
Query String Parameter | Value | Required |
---|---|---|
recordId | <Record Id> | Yes |
name | <Project Name> | Yes |
recordId Required
recordId is required to your Record Id.
name Required
Name is a required parameter which sets the Record Name. You cannot set a name more than 200 characters.
Code Samples
- cURL
- Java
- JavaScript (ES6)
- Python 3
- Ruby
Request Response
Success Status Code: 200
Error Status Code: 400, 401, 402, 403
For more information on the error codes & errors you might possibly encounter, refer to the below section.
Error Reference
- 400 Bad Request
- 401 UnAuthorized
- 402 Payment Required
- 404 Not Found
Invalid Route
To solve this issue, simply provide the correct Route.
Ensure your data complies with data constraints
You can refer to "subMessage" for more details.
You need to pass X-Master-Key in the header
You'll encounter this error if you are not passing the X-Master-Key header which is required to authenticate your request. In-order to fix this, pass the X-Master-Key header with a value of the API Key which you can find on the API Keys page.
The Id does not belong to your account
X-Master-Key passed does not have permission to read the project.
Currently, The API is only supported for premium users. Upgrade to Premium plan https://ttskit.com/pricing to use these features
You need to upgrade your account to the Premium Plan to use these features.
Rcord not found.
Check if the Id is valid and belongs to your account.