IntegrationsCreate integration
Integrations

Create integration

Creates a new external integration.

curl -X POST "https://api.neostra.io/api/v1/integrations" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -d '{
  "name": "AWS S3 Integration",
  "type": "S3",
  "config": {},
  "enabled": true
}'
{
  "status": 200,
  "message": "Success",
  "data": {},
  "errors": [
    "example_string"
  ]
}
POST
/api/v1/integrations
POST
Bearer Token (JWT)
Bearer Tokenstring
Required

JWT bearer token for authentication

JWT bearer token for authentication
Content-Typestring
Required

The media type of the request body

Options: application/json
namestring

Name of the integration

typestring

Integration type

configobject

Integration-specific configuration

enabledboolean

Whether the integration is active

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). JWT bearer token for authentication

Body

application/json
namestring

Name of the integration

typestring

Integration type

configobject

Integration-specific configuration

enabledboolean

Whether the integration is active

Responses