Skip to content

Download a worker's profile image

GET
/v1/workers/{workerId}/image
curl --request GET \
--url https://api2.recruso.co.uk/v1/workers/1/image \
--header 'Authorization: <Authorization>'

Returns the profile photograph itself for a worker in your own agency.

It is always sent as an attachment, with a media type decided by its extension rather than the one it was uploaded with. The image comes from the API and nowhere else; where it is stored is never disclosed.

A worker who has no profile image returns 404, as does a worker id belonging to another agency — which is deliberate, so their existence is never disclosed.

Access. Requires a client-credentials access token. Tokens issued through the interactive user login are rejected.

workerId
required
integer format: int32

The workerId path parameter

OK

string format: binary

Unauthorized

Media typeapplication/problem+json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Forbidden

Media typeapplication/problem+json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Not Found

Media typeapplication/problem+json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}