From/To information available in the API | Community
Skip to main content
Answered

From/To information available in the API

  • January 17, 2022
  • 1 reply
  • 38 views

Olá, 

Preciso de uma ajuda para o seguinte caso: 

Estou utilizando a API de respostas para pegar os dados do TyperForm e integrar a uma outra ferramenta. 

Atualmente o meu formuçário contem os dados: Nome, Sobrenome, Telefone, E-mail e Mensagem. Como saber posso fazer um DE/PARA de informações? 

 

Exemplo:  

 "text": "Nome teste 1" = Nome;
  "text": "Sobrenome Teste 2" = Sobrenome
 

 "answers": [
                {
                    "field": {
                        "id": "YRbsEFPHMVtw",
                        "ref": "01FSMN75Y92QAGMJQ0TYGRRTJB",
                        "type": "long_text"
                    },
                    "type": "text",
                    "text": "Nome teste 1"
                },
                {
                    "field": {
                        "id": "PEbs3j6Akbet",
                        "ref": "01FSMN75YY037K721324GP9K58",
                        "type": "long_text"
                    },
                    "type": "text",
                    "text": "Sobrenome Teste 2"
                },
                {
                    "field": {
                        "id": "3myPJASY0ZqU",
                        "ref": "6c7909c4-d539-43d5-ab92-a04606795a11",
                        "type": "phone_number"
                    },
                    "type": "phone_number",
                    "phone_number": "+5511999999999"
                },
                {
                    "field": {
                        "id": "TLBxfUKOtaB2",
                        "ref": "880043be-e4b1-4d24-b63d-3b963351d9fd",
                        "type": "email"
                    },
                    "type": "email",
                    "email": "teste.typerform@gmail.com"
                },
                {
                    "field": {
                        "id": "IPeRYEfG18gt",
                        "ref": "4de7bc28-22fe-4fe4-ba53-0bd361f6dd8f",
                        "type": "long_text"
                    },
                    "type": "text",
                    "text": "Mensagem de teste"
                }
            ]

 

-- Google Translation -- 

 

 

Hi,

I need help for the following case:

I'm using the Response API to get the TyperForm data and integrate it with another tool.

Currently my form contains the data: Name, Surname, Telephone, E-mail and Message. How do I know can I do a FROM/TO information?

Example:

"text": "Test name 1" = Name;
"text": "Surname Test 2" = Surname

Best answer by Liz

Hi @rafarafa Thanks for stopping by! The language of the community is English, so I hope you don’t mind my reply in English. 

You will need to add two different short text fields for first name/last name if you don’t want them to appear in the same field. 

View original

1 reply

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15035 replies
  • Answer
  • January 18, 2022

Hi @rafarafa Thanks for stopping by! The language of the community is English, so I hope you don’t mind my reply in English. 

You will need to add two different short text fields for first name/last name if you don’t want them to appear in the same field.