Embedded
Create Session
Initializes an embedded session for the specified user. The system will provision a new user account if one does not exist and associate it with the provided variables. Set attribute values to <code>null</code> if they have been previously configured. Use <code>[]</code> for attribute if you want a user without attribute. The URL with nonce is only valid for 2 minutes. <b><a target='_blank' href='https://evidence.dev/pricing'>Enterprise Only</a></b>
post/v1/embedded
Request
- Base URL: https://management.evidence.studio
- URL: https://management.evidence.studio/v1/embedded
- Auth: one of:
- API key in header Authorization
- API key in cookie wos-session
Request body
Example request
{
"userId": "ud_123456",
"pageId": "5f732e9b-2d6a-49c5-b726-3870125d6abc",
"path": "org_12345/my-project/home",
"attributes": [
{
"key": "employee_id",
"value": 1102
},
{
"key": "region",
"value": "Canada"
},
{
"key": "departements",
"value": [
"Sales",
"Marketing"
]
},
{
"key": "zone_id",
"value": [
193,
992,
19183
]
},
{
"key": "isAdmin",
"value": false
}
],
"cookieless": true,
"testMode": true,
"language": "fr",
"colorScheme": "dark"
}Response
Data returning...
Example response
{
"url": "https://evidence.studio/v1/embedded/bdadopkef508ac25a870c27b0d9425d689kwofasokp12i90iowjdiom"
}Changes
No recorded changes to this operation across all 1 revision of this API.