Description
Creates a Credentials data request (proposal) from the institution to a user.
Request Headers (required)
- Authorization – Bearer token obtained via OAuth2 client_credentials flow
- Content-Type – application/json
Body Parameters
- partyId – the party ID of the user whose credentials you are requesting (required);
- providers – array of Credentials providers (currently available GOOGLE, LINKEDIN, GITHUB, DISCORD, TWITTER).
Authorization
OAuth2 Bearer Token (obtain via token endpoint)
Body example
const body = {
"partyId": "party::123",
"providers": ["GOOGLE", "LINKEDIN"]
}cURL Example
curl -X POST "https://id.devnet.cantonloop.com/api/v1/api/v1/institutions/credentials-access-request" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"partyId": "party::123",
"providers": ["GOOGLE", "LINKEDIN"]
}'Response
Indicates that a proposal was successfully created for the user.
