Skip to main content
POST
/
api
/
run
/
svc
/
linear
/
action
/
comments
/
create
/
run
Calls a action at the path svc/linear/action/comments/create.js:run
curl --request POST \
  --url https://ardent-sandpiper-70.convex.cloud/api/run/svc/linear/action/comments/create/run \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "args": {
    "api_key": {
      "secret": "<string>",
      "type": "personal-api-key"
    },
    "baggage": {
      "trace_id": "<string>",
      "traffic_type": "external"
    },
    "input": {
      "body": "<string>",
      "issueId": "<string>",
      "parentId": "<string>"
    }
  }
}
'
{
  "status": "success",
  "errorMessage": "<string>",
  "errorData": {},
  "value": {
    "body": "<string>",
    "createdAt": "<string>",
    "id": "<string>",
    "updatedAt": "<string>",
    "archivedAt": "<string>",
    "issue": {
      "id": "<string>",
      "identifier": "<string>"
    },
    "issueId": "<string>",
    "parentId": "<string>",
    "user": {
      "id": "<string>",
      "name": "<string>",
      "avatarUrl": "<string>"
    },
    "userId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Token of the format "Bearer {token}" for normal authentication and "Convex {token}" for admin tokens.

Body

application/json
args
object
required

Response

Convex executed your request and returned a result

status
enum<string>
required
Available options:
success,
error
errorMessage
string
errorData
object
value
object