Fetch the current state of a initiated agreement signing session for an employer. Intended for polling — you can call this to determine whether an employer has completed the signing flow.
Responses
-
Signing session retrieved successfully.
-
Unauthorized, the request requires authentication, and the provided credentials are either missing or incorrect.
-
Signing session not found. The specified signing_session_id does not match an existing session for this employer and organisation.
-
Method not allowed
GET
/employers/{employer_id}/agreement-signing-sessions/{signing_session_id}
curl \
--request GET 'https://payroll-api.getpenfold.dev/v4/employers/{employer_id}/agreement-signing-sessions/{signing_session_id}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": "ckljutchi4gnv088634058909",
"return_url": "https://partner.example.com/penfold/return",
"expires_at": "2026-05-22T12:30:00Z",
"result": "Open",
"failure_code": "SessionExpired",
"completed_at": "2026-05-22T12:15:00Z"
}
Response examples (401)
{
"error": "Bad request: invalid data provided."
}
Response examples (404)
{
"error": "Bad request: invalid data provided."
}
Response examples (405)
{
"error": "Bad request: invalid data provided."
}