API Authentication

Signify’s API uses Bearer Token authentication.

{
  "clientId": "",
  "accessToken": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
Status Code Meaning
200 Success
400 Bad request (invalid payload)
401 Unauthorised (invalid/expired token)

USAGE EXAMPLE

See the PowerShell example below to generate a token and use it in a subsequent API call

# generate access token 
$headers = @{
    "Content-Type" = "application/json"
}

$body = @{
    username = "{username}"
    password = "{password}"
    clientId = "{clientId}"
} | ConvertTo-Json

$tokenResponse = Invoke-RestMethod `
    -Uri "{apiendpoint}/identity/v1/CreateUserAccessToken" `
    -Method POST `
    -Headers $headers `
    -Body $body

# Example usage calling ListUsersExport
$headers = @{
    Authorization = "$($tokenResponse.accessToken)"
    "Content-Type" = "application/json"
}

$body = @{
    usernames = @()
} | ConvertTo-Json -Depth 3

$response = Invoke-RestMethod `
    -Uri "{apiendpoint}/jobprofilerapi/v1/ListUsersExport" `
    -Method POST `
    -Headers $headers `
    -Body $body

$users = $response.users | ConvertTo-Json -Depth 10

Alternatively, do an API call to with the generated Bearer Token, e.g. (curl example shown below)

curl --request POST \
  --url https://live.signifyhr.co.za/api/jobprofilerapi/v1/ListUsersExport \
  --header 'Authorization: Bearer eyJhbGciOiJSU0EtT0FFUCIsImVuYy' \
  --header 'Content-Type: application/json' \
  --cookie .AspNetCore.Antiforgery.3CuCAIFqZrU=CfDJ8Hi8OnAP6ORHszWOQew53ZOflprtx-Z7uZWkSEuz9GCof6HofABpqxhDQ44OMf0jhUtql92Qi52mQ5RMyz2B1WWnfCh_UT3sqdirlIE7tVAWNrCMktPKz-45rJPgrDPGB08daEeRo8ZarHwr4nLT_wI \
  --data '{"usernames":[]}'


Revision #7
Created 2026-02-11 05:18:21 UTC by Theuns Pretorius
Updated 2026-02-11 09:21:31 UTC by Theuns Pretorius