POST
/
{workspaceId}
/
projects
/
{projectName}
/
auth-sessions
/
create
Create Auth Session - Start
curl --request POST \
  --url https://app.intuned.io/api/v1/workspace/{workspaceId}/projects/{projectName}/auth-sessions/create \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "parameters": {
    "username": "john.doe",
    "password": "password"
  },
  "proxy": "http://proxy.example.com:8080",
  "createAttempts": 3,
  "checkAttempts": 3,
  "saveTrace": true,
  "requestTimeout": 60000
}'
{
  "status": "started",
  "operationId": "aabbccddeeffggh"
}

Authorizations

x-api-key
string
header
required

API Key used to authenticate your requests. How to create one.

Path Parameters

workspaceId
string<uuid>
required

Your workspace ID. How to find it?

projectName
string
required

Your project name. It is the name you provide when creating a project.

Body

application/json

Create auth session input schema

parameters
object
required

The parameters to be passed to the API.

Example:
{
"param1": "value1",
"param2": 42,
"param3": true
}
id
string

The unique identifier for the authentication session

Minimum length: 3
Example:

"auth-session-123"

proxy
string

Proxy configuration for the job

Example:

"http://username:password@proxy.example.com:8080"

createAttempts
integer
default:3

Number of attempts to create a new auth session if the current one is invalid or expired.

Example:

3

checkAttempts
integer
default:3

Number of attempts to check the validity of the auth session before recreating it.

Example:

3

saveTrace
boolean
default:true

Response

201 - application/json

Create auth session operation started

status
enum<string>
required
Available options:
started
operationId
string
required