post
https://api.inngage.com.br/v4/subscription/
Registra e atualiza usuários
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Exemplo de request
{
"registerSubscriberRequest": {
"app_token": "a1b2c3d4e5f6",
"identifier": "user-42",
"registration": "fcm-token-xyz",
"platform": "android",
"device_model": "SM-G991B",
"os_version": "14",
"app_version": "3.2.1",
"opt_in": "1",
"email": "[email protected]",
"phone_number": "5511998887766",
"utm_source": "google",
"custom_field": { "nome": "Maria", "cpf": "123.456.789-00" },
"channels": { "whatsapp": { "optIn": true }, "email": { "optIn": false } },
"lat": -23.55,
"long": -46.63
}
}Exemplo de response
{
"registerSubscriberResponse": {
"statusDescription": "Successfully: subscriberCreated",
"subscriberId": "665f1c2a9b1e4a0012345678"
}
}
Formato de datasOs 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"
