Get an ambassador (widget)

GET /widget/ambassadors/{id}

Headers

Path parameters

  • id integer Required

    The ambassador id

Responses

GET /widget/ambassadors/{id}
curl \
 -X GET https://domain.tld/api/v2/widget/ambassadors/{id} \
 -H "X-Popsell-Domain: example.com"
Response examples (200)
{
  "id_ambassador": 42,
  "image": "string",
  "full_name": "string",
  "username": "string",
  "description": "string",
  "status": 42,
  "availability": "string",
  "unavailable": true,
  "is_absent": true,
  "absent_msg": "string",
  "fb_account": "string",
  "twitter_account": "string",
  "instagram_account": "string",
  "linkedIn_account": "string",
  "youtube_account": "string",
  "online": true,
  "last_action_date": "string",
  "location": "Paris",
  "address_geocode": {
    "date_insert": "2024-05-04T09:42:00+00:00",
    "date_update": "2024-05-04T09:42:00+00:00",
    "latitude": "48.856614",
    "longitude": "2.3522219",
    "city": "Paris",
    "country": "France",
    "postcode": "75001",
    "street": "Rue de Rivoli",
    "street2": "Place de la Concorde"
  }
}
Response examples (401)
{
  "message": "Unauthorized."
}