Suivre une demande de contact
curl --request GET \
--url https://partner.urbanora.fr/v1/contacts/{id} \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://partner.urbanora.fr/v1/contacts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"statut": "en_cours",
"cible": {
"type": "entreprise",
"siren": "<string>",
"raison_sociale": "<string>",
"nom": "<string>",
"prenom": "<string>",
"qualite": "<string>",
"role_batiment": "<string>"
},
"canaux": [
{
"canal": "standard",
"statut": "en_cours",
"valeur": "<string>"
}
],
"credits": {
"pack": 123,
"consommes": 123,
"restants": 123
},
"cree_le": "<string>",
"termine_le": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}contacts
Suivre une demande de contact
État canal par canal. Relire toutes les 10 à 30 secondes tant que statut vaut en_cours.
GET
/
v1
/
contacts
/
{id}
Suivre une demande de contact
curl --request GET \
--url https://partner.urbanora.fr/v1/contacts/{id} \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://partner.urbanora.fr/v1/contacts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"statut": "en_cours",
"cible": {
"type": "entreprise",
"siren": "<string>",
"raison_sociale": "<string>",
"nom": "<string>",
"prenom": "<string>",
"qualite": "<string>",
"role_batiment": "<string>"
},
"canaux": [
{
"canal": "standard",
"statut": "en_cours",
"valeur": "<string>"
}
],
"credits": {
"pack": 123,
"consommes": 123,
"restants": 123
},
"cree_le": "<string>",
"termine_le": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}Autorisations
Réponse
Default Response
⌘I