Skip to main content
curl --request POST \
--url https://{api_endpoint}/api/v1/connections/applications \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"appid": "my-app-id",
"connection_type": "basic_auth",
"credentials": {
"username": "my-username",
"password": "my-password"
},
"shared": true
}'
{
  "status": "success",
  "message": "Connection created successfully.",
  "connection_id": "123e4567-e89b-12d3-a456-426614174000"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
appid
string
required

Application ID or application name

connection_type
enum<string>
required

Type of connection

Available options:
basic_auth,
bearer_token,
api_key_auth,
oauth2_auth_code,
oauth2_implicit,
oauth2_password,
oauth2_client_creds,
key_value_creds
credentials
object
required

Credentials as a JSON object

shared
boolean
default:true

Whether the connection is shared, default is true

Response

Connection created successfully.

status
string
Example:

"success"

message
string
Example:

"Connection created successfully."

connection_id
string
Example:

"123e4567-e89b-12d3-a456-426614174000"