> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# workflowsLogin

> Authentication for the workflows UI



**mutation** `workflowsLogin(input: WorkflowsLoginInput!): WorkflowsLoginDTO!`

## Arguments

**`input`**: `WorkflowsLoginInput!` (required)

## Returns

`WorkflowsLoginDTO!`

**`projectId`**: `String!`

Current project id

---

**`token`**: `String!`

Workflow token

## Examples

```graphql Mutation
mutation WorkflowsLogin($input: WorkflowsLoginInput!) {
  workflowsLogin(input: $input) {
    projectId
    token
  }
}
```

```json Variables
{
  "input": {}
}
```

```json Response
{
  "data": {
    "workflowsLogin": {
      "projectId": "string",
      "token": "string"
    }
  }
}
```


## Related topics

- [WorkflowsLoginDTO](https://docs.stigg.io/graphql-reference/types/WorkflowsLoginDTO.md)
- [WorkflowsLoginInput](https://docs.stigg.io/graphql-reference/types/WorkflowsLoginInput.md)
- [Managing workflows](https://docs.stigg.io/documentation/workflows/managing-workflows.md)
- [Creating a workflow](https://docs.stigg.io/documentation/workflows/workflow-creation.md)
- [WorkflowTriggerDTO](https://docs.stigg.io/graphql-reference/types/WorkflowTriggerDTO.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.