User Info

Get User Details

get

Retrieves detailed information about the user associated with the specified business name.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
businessnamestringRequiredExample: businessname
Responses
200

Successful response with user details.

application/json
get
/{businessname}/me
GET /ext/v2/{businessname}/me HTTP/1.1
Host: api.pingueen.it
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "_id": "1234567",
  "auto_reply": {
    "is_active": false,
    "ds_text": "",
    "dt_start": null,
    "dt_end": null
  },
  "out_of_hours": {
    "is_active": false,
    "custom_message": ""
  },
  "subscription": "startup",
  "language": "ita",
  "name": "Mario Brown",
  "surname": "",
  "business_name": "Business SpPA",
  "email": "mario.brown@pingueen.it",
  "phone": "393401212123",
  "business_image": "https://...",
  "opening_hours": [
    {
      "morning": "08:30-12:30",
      "afternoon": "13:30-17:30"
    }
  ],
  "quickreply": [
    {
      "cd_icon": "welcome",
      "ds_title": "Hi!",
      "ds_body": "Welcome, thank you for contacting us. We are at your disposal to provide you with all the information you want."
    }
  ],
  "conversations": {
    "included": 50,
    "used": {
      "marketing": 6,
      "utility": 2,
      "service": 3,
      "referral_conversion": 0,
      "authentication": 0
    },
    "free_used": {
      "marketing": 6,
      "utility": 2
    }
  },
  "billing_info": {
    "billing_address": "Street of Pingueens, Rome",
    "codice_destinatario": "",
    "pec": "",
    "piva": "IT123123",
    "ragione_sociale": "MyBusiness SPA"
  }
}

Last updated