Create a share link for a post, or for a client's posts awaiting approval
POST
http://localhost:4000/api/v1 /posts/review-links The answer's url shows the post as it will look, to someone without an account, who can also comment. The URL is returned once. A link made with a key cannot approve.
Request body
application/json
postIdstring
clientIdstring
labelstring
emailstring
messagestring
expiresInDaysinteger
kindstring
periodDaysinteger
showDraftsboolean
verifyReviewerboolean
redirectToLiveboolean
{
"postId": "string",
"clientId": "string",
"label": "string",
"email": "string",
"message": "string",
"expiresInDays": 14,
"kind": "review",
"periodDays": 30,
"showDrafts": false,
"verifyReviewer": false,
"redirectToLive": false
}Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/posts/review-links" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"postId":"string","clientId":"string","label":"string","email":"string","message":"string","expiresInDays":14,"kind":"review","periodDays":30,"showDrafts":false,"verifyReviewer":false,"redirectToLive":false}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}Updated