{
"providerCode": "SLACK",
"name": "provider-integrations-name",
"configuration": {
"botAuthToken": "your-auth-token",
"appId": "your-app-id"
},
"isPrimary": false
}
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"providerCode": "SLACK",
"name": "provider-integrations-name",
"status": "ACTIVE",
"configuration": {
"botAuthToken": "your-auth-token",
"appId": "your-app-id"
},
"isPrimary": false,
"createdAt": "2025-07-29T12:00:00Z",
"updatedAt": "2025-07-29T12:00:00Z"
}
Provider APIs
Create Provider Integration
API to create a new provider integration in Siren
POST
/
api
/
v1
/
public
/
provider-integrations
{
"providerCode": "SLACK",
"name": "provider-integrations-name",
"configuration": {
"botAuthToken": "your-auth-token",
"appId": "your-app-id"
},
"isPrimary": false
}
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"providerCode": "SLACK",
"name": "provider-integrations-name",
"status": "ACTIVE",
"configuration": {
"botAuthToken": "your-auth-token",
"appId": "your-app-id"
},
"isPrimary": false,
"createdAt": "2025-07-29T12:00:00Z",
"updatedAt": "2025-07-29T12:00:00Z"
}
Header
string
required
string
required
Request Body
string
required
string
required
object
required
Request Example
{
"providerCode": "SLACK",
"name": "provider-integrations-name",
"configuration": {
"botAuthToken": "your-auth-token",
"appId": "your-app-id"
},
"isPrimary": false
}
Response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"providerCode": "SLACK",
"name": "provider-integrations-name",
"status": "ACTIVE",
"configuration": {
"botAuthToken": "your-auth-token",
"appId": "your-app-id"
},
"isPrimary": false,
"createdAt": "2025-07-29T12:00:00Z",
"updatedAt": "2025-07-29T12:00:00Z"
}
Status Codes
201 - Created: Provider integration created successfully400 - Bad Request: Invalid input data401 - Unauthorized: Invalid or missing authentication409 - Conflict: Provider integration with this name already exists500 - Internal Server Error: Failed to create provider integration
cURL Example
curl --location 'https://api.trysiren.io/api/v1/public/provider-integrations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer bd9d07a8073a41eca003e5f0a841db7c' \
--data '{
"providerCode": "SLACK",
"name": "provider-integrations-name",
"configuration": {
"botAuthToken": "your-auth-token",
"appId": "your-app-id"
},
"isPrimary": false
}'
Was this page helpful?