API - Chamada API para atualizar as UTMs do Lead
Se você está trazendo seus Leads de outro sistema, ainda não é possível trazer junto nas importações de planilha, as UTM's que esses Leads tenham, orindos de outros sistemas.
Mas é possível trazer essas UTM's via API. Use a chamada a seguir
Atualizar Tags UTM do Lead
PUT
/leads/utm/XXXX?i=instancia
XXX = ID do Lead
Endpoint completo: https://sprinthub-api-master.sprinthub.app/leads/utm/XXXX?i=instancia
OBS: Cada chamada será adicionada uma nova linha na tab Tags UTM do Lead.
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
apitoken | XXXXXX |
Body
Name | Type | Description |
---|---|---|
| string | UTM CAMPAIGN |
| string | UTM CONTENT |
| string | UTM SOURCE |
| string | UTM MEDIUM |
| string | UTM TERM |
Exemplos:
![](https://docs.sprinthub.com/~gitbook/image?url=https%3A%2F%2F3534414179-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F9FzUKkagBNy5uQ7AtGNa%252Fuploads%252FoAMhqILz8C28uqJx4svc%252FCaptura%2520de%2520Tela%25202024-03-22%2520a%25CC%2580s%252011.34.50.png%3Falt%3Dmedia%26token%3D36ba8a8c-fe9c-47e8-9354-5d560a31de73&width=768&dpr=4&quality=100&sign=b454c317&sv=1)
Resultado
![](https://docs.sprinthub.com/~gitbook/image?url=https%3A%2F%2F3534414179-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F9FzUKkagBNy5uQ7AtGNa%252Fuploads%252Fx1b9PvuZE2YYTkPZo4as%252FCaptura%2520de%2520Tela%25202024-03-22%2520a%25CC%2580s%252011.34.39.png%3Falt%3Dmedia%26token%3De37354e8-043d-4b93-9b04-e40a4528cd07&width=768&dpr=4&quality=100&sign=defcf23d&sv=1)
PreviousAPI - Chamada API para Listar Oportunidades de um LeadNextAPI - Chamada API para buscar o ID de um Lead
Last updated