Examples
Basic Examples
Authentication
Connecting using Linux Bash
curl -X GET "https://api.cw.crisisworks.com/api/json/ping" \
-H "Authorization: eyABCDEFG..." \
-H "X-Site: sandbox"Connecting using Windows PowerShell
Invoke-RestMethod `
-Method Get `
-Uri "https://api.cw.crisisworks.com/api/json/ping" `
-Headers @{
"Authorization" = "eyABCDEFG..."
"X-Site" = "sandbox"
}Record manipulation and searching examples
Record creation
Record search
Record updates
Further Examples
Importing asset contacts via the API
Uploading an import file
Adding images to Infrastructure Assessments
Using Windows Command Prompt
Last updated
Was this helpful?
