cURL
curl --request PATCH \ --url https://api.salvy.com.br/api/v1/virtual-phone-accounts/{id}/redirect \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "redirectPhoneNumber": "11912341234", "redirectExpiresAt": "2024-01-03T00:00:00Z" }'
{ "id": "0140a8c6-3815-45b7-9e60-8e137cad845c", "identifier": "meu-número-virtual", "phoneNumber": "+551151231234", "status": "active", "createdAt": "2023-11-07T05:31:56Z", "canceledAt": "2023-11-07T05:31:56Z", "cancelReason": "<string>", "redirectPhoneNumber": "+5511912341234", "redirectExpiresAt": "2024-01-03T00:00:00Z" }
Atualiza o número de redirecionamento de um número virtual.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The response is of type object.
object