v1
latestOpenAPI 3.0.12026-07-226992320.0 KBIntegration Auth
Create Integration Auth
Creates and stores authentication credentials for an integration. Supports three auth types: API Key, Basic auth, and Bearer token. Returns the created auth record including its authId, which is required for subsequent get, update, and delete calls.
post/v1/integrations/{integrationId}/auth
Path parameters
integrationIdstring required
Unique identifier for the integration
Request body
Example request
{
"authType": "API_KEY",
"token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"username": "api_user@example.com",
"password": "s3cretP@ssword",
"apiKey": {
"key": "X-API-KEY",
"value": "<secret>",
"position": "header"
},
"headers": [
{
"key": "X-Request-Source",
"value": "sigmamind"
}
]
}Response
Created
Example response
{
"authId": "auth_P3kNz7Yv1Qm9",
"integrationId": "intg_AuUKK371Spr5",
"authType": "API_KEY"
}