post https://api.talkdeskapp.com/prompts-requests
Body Request - Example
{
"validation_constraints": {
"allowed_mime_types": [
"audio/mp3",
"audio/wav"
]
}
}
Scope
prompts:write
Body Response - Schema
201 (the newly generated upload link and request ID)
Parameter | Type | Description | Required |
---|---|---|---|
id | string | ID that must be used as the request identifier (request_id) when creating the prompt | yes |
_links | object | HAL API-related links. "_links" subdivides into: "upload_link" (string) - link used to upload the asset (available only when draft state) | yes |
400 (validation constraint violation), 401 (unauthorized access - invalid or unverifiable JWT), 403 (forbidden)
Parameter | Type | Description | Required |
---|---|---|---|
code | string | n/a | yes |
message | string | n/a | yes |
description | string | n/a | no |
fields | array[object] | "fields" subdivides into: "name" (string) "description" (string) | yes (name and description) |
Troubleshooting
If you have any questions regarding the usage of this API, or if you’re having any technical issues, please open a ticket using this form.