Skip to main content
POST
/
matters
/
v1
/
{id}
/
shares
Create matter share
curl --request POST \
  --url https://api.case.dev/matters/v1/{id}/shares \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "target_org_id": "<string>",
  "permission": "read",
  "expires_at": "2023-11-07T05:31:56Z"
}
'

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Body

application/json
target_org_id
string
required
permission
enum<string>
default:read
Available options:
read,
edit
expires_at
string<date-time> | null

Response

201

Matter share created or updated