Auth
Create a new object for accessing Auth API
Parameters
$api
API object
Get trays
Return value
JSON response as a string
Get tray by type
Parameters
$username
Username
$type
Thread type
Return value
JSON response as a string
List thread details based on thread id
Parameters
$username
Username
$thread_id
Thread ID
Return value
JSON response as a string
Get a specific thread by context
Parameters
$username
Username
$job_key
Thread ID
$application_id
Application ID
$context
Optional, by default 'Interviews'. Context
Return value
JSON response as a string
Get a specific thread by context (last message content)
Parameters
$username
Username
$job_key
Thread ID
$application_id
Application ID
$context
Context
Return value
JSON response as a string
Send new message
Parameters
$username
Username
$params
Hash of parameters
Return value
JSON response as a string
Reply to existent thread
Parameters
$username
Username
$thread_id
Thread ID
$params
Hash of parameters
Return value
JSON response as a string
Update threads based on user actions
Parameters
$username
Username
$thread_id
Thread ID
$params
Hash of parameters
Return value
JSON response as a string
Maksym Novozhylov <mnovozhilov@upwork.com>
Copyright © Upwork Global Corp., 2015