post https://api.inngage.com.br/v1/subscription
Registra e atualiza usuários
Endpoint
https://api.inngage.com.br/v1/subscription/
Exemplo de request
{
"registerSubscriberRequest": {
"app_token": "177d3286eb87ab2d94efb0da3eb87c9f",
"identifier": "[email protected]",
"registration": "TestandoRapha",
"platform": "chrome",
"sdk": "1",
"device_model": "Windows 10.0",
"device_manufacturer": "Google",
"os_locale": "pt_BR",
"os_language": "pt_BR",
"os_version": "11",
"app_version": "1.0.15",
"app_installed_in": "2021-10-13T09:52:30.433905",
"app_updated_in": "2021-10-13T09:52:30.433907",
"uuid": "TestandoRapha",
"custom_field": {
"empresa": "Inngage",
"nome": "Raphael"
},
"phone_number": 5534992301819,
"email": "[email protected]"
}
}
Exemplo de response
{
"registerSubscriberResponse": {
"statusCode": "1",
"statusDescription": "Sucessfully Inserted Subscriber info with identifier [[email protected]] in app [3]"
}
}
Formato de datas
Os Custom Fields SEMPRE devem ser adicionados utilizando o formato de variáveis da Inngage:
- Date: "yyyy-mm-dd"
- Float: 10.00
- Boolean: True or False
- String: "Qualquer texto dentro de aspas"