Get a pre-send share link
Mints a fresh anonymous flow-token link. Requires the api_deals_send scope. Valid only before a live submission exists and when the first signer is a single unknown participant.
Authorization
bearerAuth Bearer token using a Clai API key secret (clai_live_*).
In: header
Path Parameters
| Name | Type | Description |
|---|---|---|
orgIdrequired | string | Organization ID the key is operating in |
dealIdrequired | string | Deal ID that owns the package Format uuid |
packageIdrequired | string | Package ID Format uuid |
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
| Name | Type | Description |
|---|---|---|
body | object |
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://app.goclai.com/api/v1/orgs/org_2abc123/deals/550e8400-e29b-41d4-a716-446655440010/packages/550e8400-e29b-41d4-a716-446655440011/share-link" \ -H "Content-Type: application/json" \ -d '{}'{
"url": "http://example.com",
"mode": "flow_token"
}{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {}
}
}{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {}
}
}{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {}
}
}{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {}
}
}{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {}
}
}POSTSend a package
Creates a submission for the package. Requires the `api_deals_send` scope and an Idempotency-Key header.
POSTResend a submission
Re-sends invitations for the active signing group. Requires the `api_deals_send` scope and an Idempotency-Key header. The response never includes a signing link.