Action Secrets
Create action secret
CreateActionSecret
Creates new annotation.
POST
/
annotations
/
action_secrets
/
v1
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
id
string
requiredUser generated identifier for this secret. E.g. motto_jwt
project_id
string
requiredThe project ID that this secret belongs to.
description
string
The description of the action secret. E.g. API token for a Motto account with Editor access
.
value
string
The secret to store. This will not be returned in the response.
Response
200 - application/json
secret
object
ActionSecret is a single action type definition that gets invoked when an annotation is created.