Repost Post

Please use this (https://YOUR-SITE.COM/mobile_api/publication_repost) API for access publication repost endpoint


Post parameters

Field Value Remarks
session_id ​Access token ID E.g. de25cc16eb00960f076...
post_id ​Liked/Unliked post int ID E.g. 4567
message ​Additional Message when reposting Ignored for now, as the script kernel does not support it

Success response

{
    "post_reposts": 1,
    "valid": true,
    "message": "",
    "code": 200,
    "data":{
        "repost": true
    }
}

Error responses

{
    "code": 401,
    "data": [],
    "message": "Unauthorized Access"
}


{
    "code": 400,
    "err_code": "invalid_request_data",
    "message": "Post id is missing or invalid",
    "data": []
}