Generate participant access URL
Generate an URL for a specific participant that can be used to open the process in the Swisscom Sign UI. Optional return URLs can be used to redirect the user back to the calling third party system. If the process has not been released yet or the signer has not been invited yet, an error is returned. For unreleased processes, /process/{processId}/setup can be used.
Preconditions:
- The process must have been released via /process/{processId}/release.
- A signer must not have the status WAITING. This does not apply to the initiator.
Request
- Base URLhttps://sign.swisscom.ch/system
- AuthOAuth 2Client credentialsToken URLhttps://sign.swisscom.ch/realms/swisscom-public/protocol/openid-connect/tokenScopessswp:process:read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The system-assigned identifier or the external reference from your system can be used to identify the person. If several signers share the same external reference (e.g. after a replacement), the signer with status WAITING or PENDING is used.
Request body
Example request
{
"language": "en-GB",
"lifecycle": "TEMPORARY",
"backUrl": "https://customer.example/app/back",
"successUrl": "https://customer.example/app/success?process={processId}&participant={personId}",
"authentication": {
"identity": "69924099-a57a-44f8-8cf3-9324f4c93a92",
"namespace": "MSAINT"
},
"scope": "openid sswp:process:create sswp:process:execute sswp:process:manage sswp:process:read sswp:user:read sswp:user:write",
"mode": "DEFAULT"
}Response
You receive an URL specific to the subscriber with a defined validity period.
Example response
{
"id": "21c2f3cc-e263-40c9-b458-79c014a153a1",
"url": "https://test.sign.swisscom.ch/cockpit/process/21c2f3cc-e263-40c9-b458-79c014a153a1/person/02c2f3cc-e263-40c9-b458-79c014a153a2"
}Changes
No recorded changes to this operation across all 1 revision of this API.