post https://api.inngage.com.br/v1/subscription/addCustomField
Adiciona novos custom fields a um usuário do app
Adiciona novos custom fields a um usuário do app
🚧 Formato de datas (ATENÇÃO)
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"
Item | Tipo |
---|---|
app_token | String |
identifier | String |
String | |
registration | String |
phone | String |
birthDate | DateTime |
cpf | String |
name | String |
📤 RequestBody (Raw)
{
"fieldsRequest": {
"app_token": "a2d4c20e98b965a1c09c357efc2da8ef",
"identifier": "[email protected]",
"email": "[email protected]",
"registration": "https://fcm.googleapis.com/fcm/send/fPBWrcxP0xs:APA91bEh7MI9hEAOTQKn7rTXvyKa4x4oJikQ_iMS-hdTSGDPrCCSMNsHcDYgHxFJF2x39WqSIKNv4i2q9wjMLW7JFnUcqFPa-Jv-YeFXwYFKRLxGJxSil0uf_JLXHzCNSkLLfDJ38zs5",
"phone": "5534992263220",
"custom_field": {
"birthDate": "1989-07-12T00:00:00Z",
"cpf": "098.784.436-98",
"name": "Octavio"
}
}
}