Skip to content

Write card text as one document

POST
/role/{roleId}/document
curl --request POST \
--url https://api.harperharbor.com/open/v1/role/example/document \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "fields": {} }'

Only the fields you send are written; an absent field is left alone, so an older client never blanks a newer field.

roleId
required
string
Media typeapplication/json
object
fields
object
key
additional properties
any
Examplegenerated
{
"fields": {}
}

Written.