{
"code": 200,
"data": {
"callbackType": "complete",
"data": [
{
"error_message": "",
"status": "complete",
"text": "[Verse 1]\nPaws on the sill\nEyes on the glass\nThe whole yard turns silver\nAs the clouds roll past\n\n[Verse 2]\nA drip on the pane\nA tap on the tin\nYou tilt your small head\nLike you know where I've been\n\n[Pre-Chorus]\nTail flick, slow and low\nYou never need a name\nYou watch the water write\nIts secret in the frame\n\n[Chorus]\nRain, rain, stay\nCat by the window\nRain, rain, play\nSoft on the rooftop\n(soft on the rooftop)\nYou and the storm\nShare the same hush\nRain, rain, stay\nCat by the window\n\n[Verse 3]\nYou never chase thunder\nYou never run out\nJust sit with the gray\nLike it's something to trust\n\n[Pre-Chorus]\nTail flick, slow and low\nYou never need a name\nYou watch the water write\nIts secret in the frame\n\n[Chorus]\nRain, rain, stay\nCat by the window\nRain, rain, play\nSoft on the rooftop\n(soft on the rooftop)\nYou and the storm\nShare the same hush\nRain, rain, stay\nCat by the window\n\n[Bridge]\nWhen the last drop fades\nYou'll blink once and yawn\nBut for one more minute\nThe whole world holds on\n\n[Final Chorus]\nRain, rain, stay\nCat by the window\nRain, rain, play\nSoft on the rooftop\n(soft on the rooftop)\nYou and the storm\nShare the same hush\nRain, rain, stay\nCat by the window",
"title": "Tin Roof Cat"
},
{
"error_message": "",
"status": "complete",
"text": "[Verse 1]\nOn the windowsill you sit\nTail curled like a question\nEvery drop on the tin roof\nMakes a tiny resurrection\n\nYour whiskers catch the grey\nAs the whole yard turns to silver\nYou blink at the puddles\nLike they owe you something clearer\n\n[Pre-Chorus]\nAnd you don't move\nYou just hold that view\nLike the world is new\n\n[Chorus]\nLittle cat, little cat\nWatching the rain fall down\nLittle cat, little cat\nSafe in your cardboard crown\nYou don't rush, you don't run\nYou let the cold come through\nLittle cat, little cat\nThe sky belongs to you\n\n[Verse 2]\nA moth taps at the porch light\nThen drifts off in the mist\nYou follow every ripple\nWith that slow, sure little twist\n\nMy shoes are by the door\nBut I'm staying here with you\nCountin' every silver thread\nAs it stitches up the blue\n\n[Pre-Chorus]\nAnd you don't move\nYou just hold that view\nLike the world is new\n\n[Chorus]\nLittle cat, little cat\nWatching the rain fall down\nLittle cat, little cat\nSafe in your cardboard crown\nYou don't rush, you don't run\nYou let the cold come through\nLittle cat, little cat\nThe sky belongs to you\n\n[Bridge]\nWhen the storm leans heavy\nYou just soften more\nA small kind of prayer\nOn the kitchen floor\n\n[Final Chorus]\nLittle cat, little cat\nWatching the rain fall down\nLittle cat, little cat\nSafe in your cardboard crown\nYou don't rush, you don't run\nYou let the cold come through\nLittle cat, little cat\nThe sky belongs to you",
"title": "Tin Roof Cat"
}
],
"task_id": "7d3f0a9c41e85b2f6a1c9e04b8d27f53"
},
"msg": "All generated successfully."
}Generate lyrics
Generate lyrics: Task callback
When the task was created with callBackUrl, DreamTo sends this POST there once the task succeeds or fails (once): on success the body is {"code": 200, "msg": "All generated successfully.", "data": {"callbackType": "complete", "task_id", "data"}}, with data.task_id the task ID and data.data the generated lyrics (the same as response.resultObject.lyricsData); on failure code is the failure code (not 200), msg the reason, and data has only callbackType and task_id. Verify the sender with X-DreamTo-Signature and answer with any 2xx.
WEBHOOK
sunoTaskCompleted
{
"code": 200,
"data": {
"callbackType": "complete",
"data": [
{
"error_message": "",
"status": "complete",
"text": "[Verse 1]\nPaws on the sill\nEyes on the glass\nThe whole yard turns silver\nAs the clouds roll past\n\n[Verse 2]\nA drip on the pane\nA tap on the tin\nYou tilt your small head\nLike you know where I've been\n\n[Pre-Chorus]\nTail flick, slow and low\nYou never need a name\nYou watch the water write\nIts secret in the frame\n\n[Chorus]\nRain, rain, stay\nCat by the window\nRain, rain, play\nSoft on the rooftop\n(soft on the rooftop)\nYou and the storm\nShare the same hush\nRain, rain, stay\nCat by the window\n\n[Verse 3]\nYou never chase thunder\nYou never run out\nJust sit with the gray\nLike it's something to trust\n\n[Pre-Chorus]\nTail flick, slow and low\nYou never need a name\nYou watch the water write\nIts secret in the frame\n\n[Chorus]\nRain, rain, stay\nCat by the window\nRain, rain, play\nSoft on the rooftop\n(soft on the rooftop)\nYou and the storm\nShare the same hush\nRain, rain, stay\nCat by the window\n\n[Bridge]\nWhen the last drop fades\nYou'll blink once and yawn\nBut for one more minute\nThe whole world holds on\n\n[Final Chorus]\nRain, rain, stay\nCat by the window\nRain, rain, play\nSoft on the rooftop\n(soft on the rooftop)\nYou and the storm\nShare the same hush\nRain, rain, stay\nCat by the window",
"title": "Tin Roof Cat"
},
{
"error_message": "",
"status": "complete",
"text": "[Verse 1]\nOn the windowsill you sit\nTail curled like a question\nEvery drop on the tin roof\nMakes a tiny resurrection\n\nYour whiskers catch the grey\nAs the whole yard turns to silver\nYou blink at the puddles\nLike they owe you something clearer\n\n[Pre-Chorus]\nAnd you don't move\nYou just hold that view\nLike the world is new\n\n[Chorus]\nLittle cat, little cat\nWatching the rain fall down\nLittle cat, little cat\nSafe in your cardboard crown\nYou don't rush, you don't run\nYou let the cold come through\nLittle cat, little cat\nThe sky belongs to you\n\n[Verse 2]\nA moth taps at the porch light\nThen drifts off in the mist\nYou follow every ripple\nWith that slow, sure little twist\n\nMy shoes are by the door\nBut I'm staying here with you\nCountin' every silver thread\nAs it stitches up the blue\n\n[Pre-Chorus]\nAnd you don't move\nYou just hold that view\nLike the world is new\n\n[Chorus]\nLittle cat, little cat\nWatching the rain fall down\nLittle cat, little cat\nSafe in your cardboard crown\nYou don't rush, you don't run\nYou let the cold come through\nLittle cat, little cat\nThe sky belongs to you\n\n[Bridge]\nWhen the storm leans heavy\nYou just soften more\nA small kind of prayer\nOn the kitchen floor\n\n[Final Chorus]\nLittle cat, little cat\nWatching the rain fall down\nLittle cat, little cat\nSafe in your cardboard crown\nYou don't rush, you don't run\nYou let the cold come through\nLittle cat, little cat\nThe sky belongs to you",
"title": "Tin Roof Cat"
}
],
"task_id": "7d3f0a9c41e85b2f6a1c9e04b8d27f53"
},
"msg": "All generated successfully."
}Authorizations
Headers
Body
application/json
Callback request body.
Response
200
Any 2xx status acknowledges the callback; on a timeout (10 seconds) or another status it is retried after 1, 5 and 30 minutes, at most 4 deliveries.

