application/json

Body Required

  • type string
  • visibility string
  • is_akn boolean
  • is_brand boolean
  • is_planned boolean
  • start_date string
  • is_on_boarding boolean
  • shareable boolean
  • no_comment boolean
  • status string
  • contents array
  • titles array
  • id_popliste number
  • id_ambassador number

Responses

  • 201 application/json

    returns the created post

    Hide response attributes Show response attributes object
    • id_ambassador_post integer(int32)
    • id_ambassador_post_shared integer(int32)
    • date_insert string(date-time)
    • date_update string(date-time)
    • type string(nullable)
    • content string(nullable)
    • nb_likes integer(int32)
    • nb_comments integer(int32)
    • visibility string(nullable)
    • products array
    • comments array
    • videos array
    • nb_orders integer(int32)
    • liked boolean
    • contents array
    • titles array
    • is_planned boolean
    • shares integer(int32)
    • status string(nullable)
    • is_brand boolean
    • is_akn boolean
    • start_date string(date-time)
    • id_popliste number
  • 403

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

POST /manager/posts
curl \
 --request POST 'https://domain.tld/api/v2/manager/posts' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"type":"string","visibility":"string","is_akn":true,"is_brand":true,"is_planned":true,"start_date":"string","is_on_boarding":true,"shareable":true,"no_comment":true,"status":"string","contents":[],"titles":[],"id_popliste":42.0,"id_ambassador":42.0}'
Request examples
{
  "type": "string",
  "visibility": "string",
  "is_akn": true,
  "is_brand": true,
  "is_planned": true,
  "start_date": "string",
  "is_on_boarding": true,
  "shareable": true,
  "no_comment": true,
  "status": "string",
  "contents": [],
  "titles": [],
  "id_popliste": 42.0,
  "id_ambassador": 42.0
}
Response examples (201)
{
  "id_ambassador_post": 42,
  "id_ambassador_post_shared": 42,
  "date_insert": "2025-05-04T09:42:00Z",
  "date_update": "2025-05-04T09:42:00Z",
  "type": "string",
  "content": "string",
  "nb_likes": 42,
  "nb_comments": 42,
  "visibility": "PUBLIC",
  "products": [],
  "comments": [],
  "videos": [],
  "nb_orders": 42,
  "liked": true,
  "contents": [],
  "titles": [],
  "is_planned": true,
  "shares": 42,
  "status": "PUBLISHED",
  "is_brand": true,
  "is_akn": true,
  "start_date": "2025-05-04T09:42:00Z",
  "id_popliste": 42.0
}