/v1/phone-numbers/{phoneNumberId}/flow
PATCH
/v1/phone-numbers/{phoneNumberId}/flow
const url = 'https://service.v2.nairon.xyz/v1/phone-numbers/example/flow';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"flowId":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://service.v2.nairon.xyz/v1/phone-numbers/example/flow \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "flowId": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”phoneNumberId
required
string format: cuid
Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
Example
{ "type": "nairon", "status": "enabled"}