System will call this callback when lyrics generation is complete.When you submit a lyrics generation task to the Suno API, you can use the callBackUrl parameter to set a callback URL. The system will automatically push the results to your specified address when the task is completed.
The callback mechanism eliminates the need to poll the API for task status. The system will proactively push task completion results to your server.
Webhook Security
To ensure the authenticity and integrity of callback requests, we strongly recommend implementing webhook signature verification. See our Webhook Verification Guide for detailed implementation steps.
When the task is completed, the system will send a POST request to your callBackUrl in the following format:
Success Callback
Failure Callback
{"code":200,"msg":"All generated successfully.","data":{"callbackType":"complete","task_id":"3b66882fde0a5d398bd269cab6d9542b","data":[{"error_message":"","status":"complete","text":"[Verse]\nMoonlight spreads across the windowsill\nStars dance, never standing still\nNight breeze weaves dreams with gentle skill\nLeaving all worries on the hill\n\n[Verse 2]\nLights reflect in your bright eyes\nLike meteors across the skies\nThe world stops in that moment's prize\nChasing future, no goodbyes\n\n[Chorus]\nIn starry dreams we find tomorrow\nBreak free from ordinary sorrow\nAll our dreams will bloom and follow\nDon't fear the path, don't fear tomorrow","title":"Starry Night Dreams"}]}}