Skip to content

Create an empty private card

POST
/role
curl --request POST \
--url https://api.harperharbor.com/open/v1/role \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "roleName": "example", "language": "example", "cardType": "example", "contentRatingIntent": "example", "idempotencyKey": "example" }'
Media typeapplication/json
object
roleName
required
string
language
string
cardType
string
contentRatingIntent
string
idempotencyKey
string
Examplegenerated
{
"roleName": "example",
"language": "example",
"cardType": "example",
"contentRatingIntent": "example",
"idempotencyKey": "example"
}

Created.

Media typeapplication/json
object
roleId
string
roleVisibility
string
reviewStatus
string
Examplegenerated
{
"roleId": "example",
"roleVisibility": "example",
"reviewStatus": "example"
}