Whose desk the key opens
GET/api/underwriting/whoami
The workspace the call acts on, the key that made it, and who the timeline will say acted. Call it once when you connect.
Parameters
- X-On-Behalf-Ofheader
Keyed calls: the email address of the person in your system the call is for. A value that is not an email address is ignored.
Answers
- 200
Who is calling.
- 401
Unauthorized.
erroris one of:This API key is not valid, or has been revoked.: a key-shaped credential the desk does not know.
- 500
Something threw.
erroris one of:The desk took too long answering — try again in a moment.The desk couldn't reach its database just now — try again in a moment.Something went wrong on the desk's side. Try again; if it keeps happening, the operator can find the cause in the worker's log.