curl --request POST \
--url https://api-staging.pixwel.com/api/session \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"_id": "58c6e38e4b161cef068b4576",
"emailNormal": "jeff@pixwel.com",
"invite": "https://platform.pixwel.com/register/:code",
"name": "Jeff Loiselle",
"password": "$2a$10$LVc.3fxRXOPkZHoQ.ZobGOVb1tj33w/RcMegpqwxQx5OeIRmn5Qhm",
"preferences": {
"blacklist": {
"projects": [
"<unknown>"
]
},
"mail": {
"enabled": true,
"projects": -1,
"assets": -1,
"files": -1,
"work_requests": -1,
"shares": 0,
"ingest": -1,
"offline_comments": -1,
"others": 3600,
"work_request_comments": -1,
"workflow": -1
},
"ingest": {
"skipScratchPreview": true,
"maxUploads": 8
},
"contactLists": [
{
"name": "friends",
"recipients": {
"groups": [
"<unknown>"
],
"users": [
"537b4984d86a1547348b4576"
]
}
}
],
"reports": {
"workRequests": {
"dashboard": [
{
"i": "timeline",
"x": 0,
"y": 0,
"w": 12,
"h": 2
}
],
"hiddenCharts": [
"map"
]
}
},
"agent": {
"instructions": ""
}
},
"queue": [
"<unknown>"
],
"status": {
"invited": true,
"approved": true,
"registered": true,
"confirmed": true
},
"territory": {
"_id": "51e149cdd5cddce641000048",
"name": "United States",
"code": "US",
"standard": "NTSC",
"countries": [
{
"name": "United States",
"code": "US"
}
],
"languages": [
{
"name": "English",
"code": "ENG",
"dcpCode": "EN"
}
],
"assignedLanguages": [
"586e6e83773dd6a60b56b3c0"
]
},
"username": "jeff@pixwel.com",
"orderQueue": [
"<unknown>"
],
"shareQueue": [
"<unknown>"
],
"id": "58c6e38e4b161cef068b4576",
"flags": [
"<unknown>"
],
"twofactorVerified": false,
"permissions": [
"<unknown>"
],
"groups": [
{
"_id": "5328d77467d621906d8b4574",
"addresses": [
{
"name": "Home",
"address": "115 S Fulton St",
"city": "Mobile",
"state": "AL",
"postalCode": "36606",
"country": "USA"
}
],
"name": "PIXWEL",
"studios": [
"<unknown>"
],
"type": "a",
"users": [
"53309f8367d621e6708b4568"
]
}
],
"roles": [
"a"
],
"studios": [
"<unknown>"
],
"$links": {
"self": "//api-staging.pixwel.com/api/Users/58c6e38e4b161cef068b4576"
},
"hasEnforced2fa": false
}
'{
"_id": "58c6e38e4b161cef068b4576",
"emailNormal": "jeff@pixwel.com",
"invite": "https://platform.pixwel.com/register/:code",
"name": "Jeff Loiselle",
"password": "$2a$10$LVc.3fxRXOPkZHoQ.ZobGOVb1tj33w/RcMegpqwxQx5OeIRmn5Qhm",
"preferences": {
"blacklist": {
"projects": [
"<unknown>"
]
},
"mail": {
"enabled": true,
"projects": -1,
"assets": -1,
"files": -1,
"work_requests": -1,
"shares": 0,
"ingest": -1,
"offline_comments": -1,
"others": 3600,
"work_request_comments": -1,
"workflow": -1
},
"ingest": {
"skipScratchPreview": true,
"maxUploads": 8
},
"contactLists": [
{
"name": "friends",
"recipients": {
"groups": [
"<unknown>"
],
"users": [
"537b4984d86a1547348b4576"
]
}
}
],
"reports": {
"workRequests": {
"dashboard": [
{
"i": "timeline",
"x": 0,
"y": 0,
"w": 12,
"h": 2
}
],
"hiddenCharts": [
"map"
]
}
},
"agent": {
"instructions": ""
}
},
"queue": [
"<unknown>"
],
"status": {
"invited": true,
"approved": true,
"registered": true,
"confirmed": true
},
"territory": {
"_id": "51e149cdd5cddce641000048",
"name": "United States",
"code": "US",
"standard": "NTSC",
"countries": [
{
"name": "United States",
"code": "US"
}
],
"languages": [
{
"name": "English",
"code": "ENG",
"dcpCode": "EN"
}
],
"assignedLanguages": [
"586e6e83773dd6a60b56b3c0"
]
},
"username": "jeff@pixwel.com",
"orderQueue": [
"<unknown>"
],
"shareQueue": [
"<unknown>"
],
"id": "58c6e38e4b161cef068b4576",
"flags": [
"<unknown>"
],
"twofactorVerified": false,
"permissions": [
"<unknown>"
],
"groups": [
{
"_id": "5328d77467d621906d8b4574",
"addresses": [
{
"name": "Home",
"address": "115 S Fulton St",
"city": "Mobile",
"state": "AL",
"postalCode": "36606",
"country": "USA"
}
],
"name": "PIXWEL",
"studios": [
"<unknown>"
],
"type": "a",
"users": [
"53309f8367d621e6708b4568"
]
}
],
"roles": [
"a"
],
"studios": [
"<unknown>"
],
"$links": {
"self": "//api-staging.pixwel.com/api/Users/58c6e38e4b161cef068b4576"
},
"hasEnforced2fa": false
}Create session
curl --request POST \
--url https://api-staging.pixwel.com/api/session \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"_id": "58c6e38e4b161cef068b4576",
"emailNormal": "jeff@pixwel.com",
"invite": "https://platform.pixwel.com/register/:code",
"name": "Jeff Loiselle",
"password": "$2a$10$LVc.3fxRXOPkZHoQ.ZobGOVb1tj33w/RcMegpqwxQx5OeIRmn5Qhm",
"preferences": {
"blacklist": {
"projects": [
"<unknown>"
]
},
"mail": {
"enabled": true,
"projects": -1,
"assets": -1,
"files": -1,
"work_requests": -1,
"shares": 0,
"ingest": -1,
"offline_comments": -1,
"others": 3600,
"work_request_comments": -1,
"workflow": -1
},
"ingest": {
"skipScratchPreview": true,
"maxUploads": 8
},
"contactLists": [
{
"name": "friends",
"recipients": {
"groups": [
"<unknown>"
],
"users": [
"537b4984d86a1547348b4576"
]
}
}
],
"reports": {
"workRequests": {
"dashboard": [
{
"i": "timeline",
"x": 0,
"y": 0,
"w": 12,
"h": 2
}
],
"hiddenCharts": [
"map"
]
}
},
"agent": {
"instructions": ""
}
},
"queue": [
"<unknown>"
],
"status": {
"invited": true,
"approved": true,
"registered": true,
"confirmed": true
},
"territory": {
"_id": "51e149cdd5cddce641000048",
"name": "United States",
"code": "US",
"standard": "NTSC",
"countries": [
{
"name": "United States",
"code": "US"
}
],
"languages": [
{
"name": "English",
"code": "ENG",
"dcpCode": "EN"
}
],
"assignedLanguages": [
"586e6e83773dd6a60b56b3c0"
]
},
"username": "jeff@pixwel.com",
"orderQueue": [
"<unknown>"
],
"shareQueue": [
"<unknown>"
],
"id": "58c6e38e4b161cef068b4576",
"flags": [
"<unknown>"
],
"twofactorVerified": false,
"permissions": [
"<unknown>"
],
"groups": [
{
"_id": "5328d77467d621906d8b4574",
"addresses": [
{
"name": "Home",
"address": "115 S Fulton St",
"city": "Mobile",
"state": "AL",
"postalCode": "36606",
"country": "USA"
}
],
"name": "PIXWEL",
"studios": [
"<unknown>"
],
"type": "a",
"users": [
"53309f8367d621e6708b4568"
]
}
],
"roles": [
"a"
],
"studios": [
"<unknown>"
],
"$links": {
"self": "//api-staging.pixwel.com/api/Users/58c6e38e4b161cef068b4576"
},
"hasEnforced2fa": false
}
'{
"_id": "58c6e38e4b161cef068b4576",
"emailNormal": "jeff@pixwel.com",
"invite": "https://platform.pixwel.com/register/:code",
"name": "Jeff Loiselle",
"password": "$2a$10$LVc.3fxRXOPkZHoQ.ZobGOVb1tj33w/RcMegpqwxQx5OeIRmn5Qhm",
"preferences": {
"blacklist": {
"projects": [
"<unknown>"
]
},
"mail": {
"enabled": true,
"projects": -1,
"assets": -1,
"files": -1,
"work_requests": -1,
"shares": 0,
"ingest": -1,
"offline_comments": -1,
"others": 3600,
"work_request_comments": -1,
"workflow": -1
},
"ingest": {
"skipScratchPreview": true,
"maxUploads": 8
},
"contactLists": [
{
"name": "friends",
"recipients": {
"groups": [
"<unknown>"
],
"users": [
"537b4984d86a1547348b4576"
]
}
}
],
"reports": {
"workRequests": {
"dashboard": [
{
"i": "timeline",
"x": 0,
"y": 0,
"w": 12,
"h": 2
}
],
"hiddenCharts": [
"map"
]
}
},
"agent": {
"instructions": ""
}
},
"queue": [
"<unknown>"
],
"status": {
"invited": true,
"approved": true,
"registered": true,
"confirmed": true
},
"territory": {
"_id": "51e149cdd5cddce641000048",
"name": "United States",
"code": "US",
"standard": "NTSC",
"countries": [
{
"name": "United States",
"code": "US"
}
],
"languages": [
{
"name": "English",
"code": "ENG",
"dcpCode": "EN"
}
],
"assignedLanguages": [
"586e6e83773dd6a60b56b3c0"
]
},
"username": "jeff@pixwel.com",
"orderQueue": [
"<unknown>"
],
"shareQueue": [
"<unknown>"
],
"id": "58c6e38e4b161cef068b4576",
"flags": [
"<unknown>"
],
"twofactorVerified": false,
"permissions": [
"<unknown>"
],
"groups": [
{
"_id": "5328d77467d621906d8b4574",
"addresses": [
{
"name": "Home",
"address": "115 S Fulton St",
"city": "Mobile",
"state": "AL",
"postalCode": "36606",
"country": "USA"
}
],
"name": "PIXWEL",
"studios": [
"<unknown>"
],
"type": "a",
"users": [
"53309f8367d621e6708b4568"
]
}
],
"roles": [
"a"
],
"studios": [
"<unknown>"
],
"$links": {
"self": "//api-staging.pixwel.com/api/Users/58c6e38e4b161cef068b4576"
},
"hasEnforced2fa": false
}Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
"58c6e38e4b161cef068b4576"
"jeff@pixwel.com"
"https://platform.pixwel.com/register/:code"
"Jeff Loiselle"
"$2a$10$LVc.3fxRXOPkZHoQ.ZobGOVb1tj33w/RcMegpqwxQx5OeIRmn5Qhm"
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
"jeff@pixwel.com"
"58c6e38e4b161cef068b4576"
false
Show child attributes
Show child attributes
Show child attributes
Show child attributes
false
Response
OK
"58c6e38e4b161cef068b4576"
"jeff@pixwel.com"
"https://platform.pixwel.com/register/:code"
"Jeff Loiselle"
"$2a$10$LVc.3fxRXOPkZHoQ.ZobGOVb1tj33w/RcMegpqwxQx5OeIRmn5Qhm"
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
"jeff@pixwel.com"
"58c6e38e4b161cef068b4576"
false
Show child attributes
Show child attributes
Show child attributes
Show child attributes
false