Public API
POST /api/v2/virtual-phone-accounts
Cria um novo número virtual móvel.
Request
- Base URLhttps://api.salvy.com.br
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"employeeId": "0140a8c6-3815-45b7-9e60-8e137cad845c",
"name": "Meu Número Virtual",
"costCenter": "marketing",
"areaCode": 11,
"customFields": [
{
"label": "Departamento",
"value": "Vendas"
}
]
}Response
Example response
{
"id": "0140a8c6-3815-45b7-9e60-8e137cad845c",
"name": "Meu Número Virtual",
"phoneNumber": "+551151231234",
"costCenter": "marketing",
"employeeId": "123e4567-e89b-12d3-a456-426614174000"
}Changes
No recorded changes to this operation across all 1 revision of this API.