NXTX
  1. Voice
NXTX
  • Auth
    • Register
      POST
    • Login
      POST
    • Refresh
      POST
    • Logout
      POST
    • Me
      GET
  • Onboard
    • Complete Onboarding
      POST
  • Thread
    • Create Thread
      POST
  • Stream
    • Stream
      POST
    • Post Text
      POST
    • Interrupt
      POST
  • Session
    • Verify Passkey
      POST
    • Verify Passkey V2
      POST
    • Create Session Video
      POST
    • Create Session Audio
      POST
    • Create Session Text
      POST
    • Create Token
      POST
    • Close Session
      POST
    • Close Session Audio
      POST
    • Verify Token
      POST
  • Media Url
    • Create Media Url
  • KB
    • Get Knowledge Base
    • Get By
    • Create
    • Update
    • Delete
    • Delete Link
    • Delete File
  • Websocket
    • Task
    • Listen
  • Tenant
    • Get Tenant Info
    • Get Api Key
    • Regenerate Api Key
  • Billing
    • Checkout Session
    • Payment Success
    • Get Subscription
    • Webhook
  • Voice
    • Get Voices
      GET
    • Get Voice
      GET
    • Get Voice Url
      GET
    • Create Voice
      POST
    • Delete Voice
      DELETE
  • Chat History
    • Chat History List
    • Chat History
  • Avatar
    • Get Avatars
    • Get Avatar
  1. Voice

Create Voice

POST
/api/v2/voices
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v2/voices' \
--form 'name=""' \
--form 'file=@""'
Response Response Example
{
    "id": 18,
    "name": "garros",
    "tenant_id": 117,
    "is_public": false,
    "created_at": "2025-07-25T03:20:39.883349+00:00",
    "file_url": null,
    "file_size": 397310,
    "content_type": "audio/mpeg",
    "duration": 25.515,
    "file_size_mb": 0.38,
    "duration_formatted": "00:25"
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params multipart/form-data

Responses

🟢200OK
application/json
Body

Modified at 2025-07-25 03:21:55
Previous
Get Voice Url
Next
Delete Voice
Built with