curl --request GET \
--url https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/sms/request \
--header 'Content-Type: <content-type>' \
--header 'access_token: <access_token>' \
--header 'client_id: <client_id>'{
"sendSmsRequest": {
"id": 354,
"from": "teste",
"message": "Teste Horário Requisição",
"status": "PROCESSED",
"errorLog": "teste error",
"flash": false,
"sendAt": "2024-05-03T19:56:44.671Z",
"processedAt": "2024-05-03T19:56:44.671Z",
"validityMinutes": 0,
"deliveryTimeWindowDays": 0,
"deliveryTimeWindowFrom": 0,
"deliveryTimeWindowTo": 0,
"createdBy": "teste user",
"createdAt": "2024-05-03T19:56:43.158Z"
},
"successCount": 1,
"errorCount": 0,
"pendingCount": 0
}Requisição para consultar SMS enviados por lote/solicitação
curl --request GET \
--url https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/sms/request \
--header 'Content-Type: <content-type>' \
--header 'access_token: <access_token>' \
--header 'client_id: <client_id>'{
"sendSmsRequest": {
"id": 354,
"from": "teste",
"message": "Teste Horário Requisição",
"status": "PROCESSED",
"errorLog": "teste error",
"flash": false,
"sendAt": "2024-05-03T19:56:44.671Z",
"processedAt": "2024-05-03T19:56:44.671Z",
"validityMinutes": 0,
"deliveryTimeWindowDays": 0,
"deliveryTimeWindowFrom": 0,
"deliveryTimeWindowTo": 0,
"createdBy": "teste user",
"createdAt": "2024-05-03T19:56:43.158Z"
},
"successCount": 1,
"errorCount": 0,
"pendingCount": 0
}Define o formato da requisição.
🔹 Valor padrão:
application/json📌 Dica: Copie e cole esse valor no campo Content-Type.
"application/json"
Id do cliente
"client_id"
Token gerado.
"access_token"
OK