Agent sessions

Exchange a handoff code for credentials

Turns the code a user copied from the agent handoff page (https://www.happyscribe.com/app/agent_sessions/new) into that user's personal API key and a workspace the user can write to. No API key is needed for this call: the code is the credential. Codes expire five minutes after the page loads. See auth.md for the full agent flow.

post/agent_sessions

Request

  • Base URL
    https://www.happyscribe.com/api/v1
  • Auth
    none required

Request body

tokenstring required

The code shown on the handoff page.

Response

The credentials the agent should use from now on.

api_keystring required

The user's personal API key. Send it bare in the Authorization header.

Changes

No recorded changes to this operation across all 1 revision of this API.