docs.sunoapi.org
language
language
  • 🇺🇸 English
  • 🇨🇳 Chinese
language
language
  • 🇺🇸 English
  • 🇨🇳 Chinese
Support
Suno API
Common APIFile Upload API
Suno API
Common APIFile Upload API
  1. Generate Music
  • Suno API Documentation
  • Suno API Quick Start
  • Generate Music
    • Music Generation Callbacks
    • Music Extension Callbacks
    • Upload and Cover Audio Callbacks
    • Upload and Extend Audio Callbacks
    • Add Instrumental Callbacks
    • Add Vocals Callbacks
    • Music Cover Generation Callbacks
    • Replace Music Section Callbacks
    • Generate Music
      POST
    • Extend Music
      POST
    • Upload And Cover Audio
      POST
    • Upload And Extend Audio
      POST
    • Add Instrumental
      POST
    • Add Vocals
      POST
    • Get Music Generation Details
      GET
    • Recovery Audio
      POST
    • Get Recovery Audio Details
      GET
    • Get Timestamped Lyrics
      POST
    • Boost Music Style
      POST
    • Generate Music Cover
      POST
    • Replace Music Section
      POST
    • Get Music Cover Details
      GET
    • Generate Persona
      POST
    • Generate Mashup
      POST
  • Suno Voice
    • Suno Voice Validation Phrase Callbacks
    • Suno Voice Generation Callbacks
    • Suno Voice Regenerate Phrase Callbacks
    • Suno Voice Generate Verification Phrase
      POST
    • Suno Voice Get Verification Phrase
      GET
    • Suno Voice Create Custom Voice
      POST
    • Suno Voice Get Custom Voice Record
      GET
    • Suno Voice Regenerate Verification Phrase
      POST
    • Suno Voice Check Availability
      POST
  • Generate Lyrics
    • Lyrics Generation Callbacks
    • Generate Lyrics
    • Get Lyrics Generation Details
  • Generate Sounds
    • Generate Sounds
  • WAV Conversion
    • WAV Format Conversion Callbacks
    • Convert to WAV Format
    • Get WAV Conversion Details
  • Vocal Removal
    • Audio Separation Callbacks
    • MIDI Generation Callbacks
    • Vocal & Instrument Stem Separation
    • Get Audio Separation Details
    • Generate MIDI from Audio
    • Get MIDI Generation Details
  • Music Video Generation
    • Music Video Generation Callbacks
    • Create Music Video
    • Get Music Video Details
  • Generate Speech
    • Generate Speech
  1. Generate Music

Get Recovery Audio Details

GET
/api/v1/suno/recovery/record-info
Query the status and recovered audio links of a recovery task.
Query a recovery task created by Recovery Audio and read the recovered audio links.

Status Descriptions#

201 — the recovery task is still running, keep polling
200 — the recovery finished and at least one track was recovered successfully
500 — every track failed to recover

Per-track status#

success — audio_url carries the recovered playable link
failed — audio_url is empty and error explains the reason
Common error values:
ValueMeaning
no_audio_id_mappingsThe track cannot be found for this task
account_missingThe source account is unavailable
get_tokens_failedFailed to authenticate against the upstream service
feed_failedFailed to query the track from the upstream service
clip_errorThe upstream track is in an error state
clip_not_completeThe upstream track is not finished yet
mango_transfer_failedFailed to transfer the recovered file

Developer Notes#

Poll this endpoint instead of waiting for the callback when you cannot expose a public callback URL. A 2 second interval is recommended.
data is null while code is 201.
A recovered audio_url may be an .m4a file — do not assume .mp3 when saving it.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Query Params

Responses

🟢200Success
application/json
Request successful
Bodyapplication/json

🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://apibox.erweima.ai/api/v1/suno/recovery/record-info?task_id=dc19****18b3' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "code": 200,
    "task_id": "bbbb****0f7b",
    "msg": "success",
    "data": [
        {
            "id": "f8d6****9b93",
            "audio_url": "https://example.com/****.m4a",
            "title": "Sunrise Love",
            "status": "success",
            "error": ""
        }
    ]
}
Previous
Recovery Audio
Next
Get Timestamped Lyrics
Built with