Get authorized profile picture upload URL

GET /employees/profile-picture-url

Get an authorized URL for uploading a profile picture

Headers

Query parameters

Responses

  • 200 application/json

    Successful operation

    Hide response attribute Show response attribute object
    • data object Required

      Additional properties are NOT allowed.

      Hide data attributes Show data attributes object
      • url string(uri) Required

        Minimum length is 1.

      • authorizedUrl string(uri) Required

        Minimum length is 1.

GET /employees/profile-picture-url
curl \
 -X GET https://api.development.pexipengage.com/enterprises/acme/employees/profile-picture-url?file-name=string \
 -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" \
 -H "X-Correlation-Id: a4f0048e-c983-11ed-afa1-0242ac120002" \
 -H "Accept-Language: en *"
Response examples (200)
{
  "data": {
    "url": "https://wwww.example.net/abc123",
    "authorizedUrl": "https://wwww.example.net/abc123"
  }
}