Resend an invite, or mint a shareable link
const url = 'https://shareout.site/v1/workspaces/example/invites/example/resend';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"notify":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://shareout.site/v1/workspaces/example/invites/example/resend \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "notify": true }'Owner or admin only. Mints a new join link and returns it as inviteUrl. Default (notify: true) emails it and expires the person’s older links. notify: false only returns the link (nothing is emailed, older links keep working) — use it to share the invite in chat.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Workspace ID or slug.
Request Body
Section titled “Request Body”object
Responses
Section titled “Responses”New link
object
Examplegenerated
{ "ok": true, "inviteUrl": "example"}Access denied
object
Human-readable message.
Machine-readable error code.
Correlation id (also the X-Request-Id header). Quote it in support tickets.
Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.
What to do next, in plain words.
The request field at fault.
Doc page for this error.
Present on 5xx — how to reach a human.
object
Example
{ "success": false, "support": { "how": "POST /v1/support/tickets", "include": [ "request_id" ] }}Resource not found
object
Human-readable message.
Machine-readable error code.
Correlation id (also the X-Request-Id header). Quote it in support tickets.
Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.
What to do next, in plain words.
The request field at fault.
Doc page for this error.
Present on 5xx — how to reach a human.
object
Example
{ "success": false, "support": { "how": "POST /v1/support/tickets", "include": [ "request_id" ] }}