staqlydocs
REST APIAPI referenceAccounts

Issue a new link and a new expiry

Issue a new link and a new expiry (the old link stops working)

Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.

POST
/v1/invitations/{id}/resend

Authorization

headerAuthorizationBearer <token>

API key (stk_...), or in the Community Edition the access token (stk_local_...)

Path Parameters

id*string

Header Parameters

Idempotency-Key?string

Replays the stored response when the same key is repeated with the same method, path, query string and body within 24 hours (422 idempotency_mismatch with a different request, 409 idempotency_in_progress while the first one runs). Not applied to multipart uploads or to responses that carry a secret.

Lengthlength <= 200

Response Body

OK

application/json
  1. response
id*string
email*string
role*Role

viewer: read; editor: write, schedule and publish; admin: everything in the workspace; owner: admin who may also manage owners

Value in"owner""admin""editor""viewer"
invited_by*string
created_at*string
expires_at*string
expired*boolean
link?string

Only in the response that created or re-sent it

emailed?boolean

Whether the server emailed the link

curl -X POST 'https://staqly.example.com/v1/invitations/string/resend'
{  "id": "string",  "email": "string",  "role": "owner",  "invited_by": "string",  "created_at": "string",  "expires_at": "string",  "expired": true,  "link": "string",  "emailed": true}