/subscription/

Registra e atualiza usuários

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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 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"

Body Params
string
required

Token de acesso do aplicativo

string
required

Identificador do usuário a ser inscrito para receber Push

string
required

Registration ID ou Device Token do dispositivo

string
required

Nome da plataforma em que o usuário está sendo registrado

string

Modelo do dispositivo, padrão: "Windows 10.0"

int32

Versão do Sistema, padrão "11"

string

Versão do aplicativo, padrão: "1.0.15"

int32

Versão instalada do aplicativo, padrão: "2021-10-13T09:52:30.433905"

custom_field
array of strings

Campo customizável, exemplo: {"empresa": "Inngage", "nome": "Octavio"},

custom_field
string
int32
string
float
float
channels
array of booleans

"whatsapp": { "optIn": true }, "email": { "optIn": false }

channels
Responses

Language
LoadingLoading…
Response
Choose an example:
application/json