Path parameters

  • environment string Required

    The environment

    Values are widget or manager.

  • id integer Required

    The ambassador post id

Responses

  • 200 application/json

    Returns the order

    Hide response attribute Show response attribute object
    • comments array[object]
      Hide comments attributes Show comments attributes object
      • id_ambassador_post integer(int32)
      • nb_likes integer(int32)
      • comments array[object]
      • date_created string(date-time)
      • date_timestamp boolean
      • liked boolean
  • 403

    Forbidden - You don't have permission to access this route

  • 404

    Not found - The Ambassador Post does not exist

GET /{environment}/posts/{id}
curl \
 --request GET 'https://domain.tld/api/v2/manager/posts/{id}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "comments": [
    {
      "id_ambassador_post": 42,
      "nb_likes": 42,
      "comments": [
        {}
      ],
      "date_created": "2025-05-04T09:42:00Z",
      "date_timestamp": true,
      "liked": true
    }
  ]
}