Skip to main content
POST
/
api
/
run
/
svc
/
linear
/
action
/
issues
/
create
/
run
Calls a action at the path svc/linear/action/issues/create.js:run
curl --request POST \
  --url https://ardent-sandpiper-70.convex.cloud/api/run/svc/linear/action/issues/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": {
      "teamId": "<string>",
      "title": "<string>",
      "assigneeId": "<string>",
      "cycleId": "<string>",
      "description": "<string>",
      "dueDate": "<string>",
      "estimate": 123,
      "id": "<string>",
      "labelIds": [
        "<string>"
      ],
      "parentId": "<string>",
      "priority": 123,
      "projectId": "<string>",
      "stateId": "<string>"
    }
  }
}
'
{
  "status": "success",
  "errorMessage": "<string>",
  "errorData": {},
  "value": {
    "createdAt": "<string>",
    "id": "<string>",
    "identifier": "<string>",
    "priority": 123,
    "teamId": "<string>",
    "title": "<string>",
    "updatedAt": "<string>",
    "archivedAt": "<string>",
    "assignee": {
      "email": "<string>",
      "id": "<string>",
      "name": "<string>"
    },
    "assigneeId": "<string>",
    "canceledAt": "<string>",
    "children": {
      "nodes": [
        {
          "id": "<string>",
          "identifier": "<string>"
        }
      ]
    },
    "completedAt": "<string>",
    "creator": {
      "id": "<string>",
      "name": "<string>"
    },
    "creatorId": "<string>",
    "cycleId": "<string>",
    "description": "<string>",
    "dueDate": "<string>",
    "estimate": 123,
    "inverseRelations": {
      "nodes": [
        {
          "id": "<string>",
          "issue": {
            "id": "<string>",
            "identifier": "<string>"
          },
          "type": "blocks"
        }
      ]
    },
    "labels": {
      "nodes": [
        {
          "color": "<string>",
          "id": "<string>",
          "name": "<string>"
        }
      ]
    },
    "parent": {
      "id": "<string>",
      "identifier": "<string>"
    },
    "parentId": "<string>",
    "project": {
      "id": "<string>",
      "name": "<string>"
    },
    "projectId": "<string>",
    "relations": {
      "nodes": [
        {
          "id": "<string>",
          "relatedIssue": {
            "id": "<string>",
            "identifier": "<string>"
          },
          "type": "blocks"
        }
      ]
    },
    "state": {
      "id": "<string>",
      "name": "<string>",
      "type": "<string>"
    },
    "stateId": "<string>",
    "team": {
      "id": "<string>",
      "key": "<string>",
      "name": "<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