curl --request POST \
--url https://api.bland.ai/inbound/update_label \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '
{
"phoneNumber": "<string>",
"newLabel": "<string>"
}
'{
"data": {
"message": "Label updated successfully",
"phone_number": "+18669659045",
"label": "apitest"
},
"errors": null
}
Update the label shown for one of your inbound phone numbers.
curl --request POST \
--url https://api.bland.ai/inbound/update_label \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '
{
"phoneNumber": "<string>",
"newLabel": "<string>"
}
'{
"data": {
"message": "Label updated successfully",
"phone_number": "+18669659045",
"label": "apitest"
},
"errors": null
}
+12223334444).150 characters"") to clear the label{
"data": {
"message": "Label updated successfully",
"phone_number": "+18669659045",
"label": "apitest"
},
"errors": null
}
Was this page helpful?