POST
/
annotations
/
action_secrets
/
v1
curl --request POST \
  --url https://api.mottostreaming.com/annotations/action_secrets/v1 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "project_id": "<string>",
  "description": "<string>",
  "value": "<string>"
}'
{
  "secret": {
    "id": "<string>",
    "project_id": "<string>",
    "description": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

ActionSecret is a single action type definition that gets invoked when an annotation is created.

id
string
required

User generated identifier for this secret. E.g. motto_jwt

project_id
string
required

The 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
OK
secret
object

ActionSecret is a single action type definition that gets invoked when an annotation is created.