Professional Documents
Culture Documents
Immersion Api Guide 10102021
Immersion Api Guide 10102021
Immersion Api Guide 10102021
August 2021
• Get Results: Query the Immersion API servers as often as needed to get
immersion and psychological safety scores for any time interval.
• Immersion uses a basic JSON and REST API that should be simple to
integrate into any application.
• This token is unique to your account and must be safe guarded by your
developers and not shared.
• When you send cardiac data to the Immersion API, you will include an
identi er that represents the person being measured from your system.
• This identi er must be unique to each person and should include a reference
to your company.
• Example: “mycompany-98765-1234”
• This identi er will be used to send data, and query for results on an individual
level.
ACTION PUT
URL https://{base_url}/device-ingestion/v2/devices/measurements/{identifier}
PATH ARGUMENTS {base-url} : This was provided to you during API Onboarding
{identifier} : A unique 10-100 character string that you can use to identify this
individual. This must be unique to you and must be lowercase.
Example: mycompany-123456789
Do not include spaces, unicode, or high ascii characters.
fi
fi
fi
Immersion Results
Real-time Immersion score results
ACTION GET
URL https://{base_url}/index/v2/index/immersion/{identifier}?from_epoch={timestamp}&to_epoch={timestamp}
PATH ARGUMENTS {base-url} : This was provided to you during API Onboarding
{identifier} : A unique 10-100 character string that you can use to identify this
individual. This must be unique to you and must be lowercase.
Example: mycompany-123456789
Do not include spaces, unicode, or high ascii characters.
Immersion Results
Real-time Immersion score results
?from_epoch={timestamp} • ALL FIELDS ARE REQUIRED
QUERY STRING &to_epoch={timestamp} • from_epoch is a 10 digit timestamp that represent when you would like to begin calculation
• to_epoch is a 10 digit timestamp that represent when you would like to end calculation
• Immersion will calculate the Immersion score for the period of time between the
from_epoch and to_epoch
• You may make this time interval as short as 1 second.
ACTION GET
URL https://{base_url}/index/v2/index/safety/{identifier}?from_epoch={timestamp}&to_epoch={timestamp}
PATH ARGUMENTS {base-url} : This was provided to you during API Onboarding
{identifier} : A unique 10-100 character string that you can use to identify this
individual. This must be unique to you and must be lowercase.
Example: mycompany-123456789
Do not include spaces, unicode, or high ascii characters.