Skip to content

Create a one-time credential offer from canonical user data

POST
/api/admin/credential-profiles/{id}/offers
Code sample: Shell / cURL
curl --request POST \
--url https://auth.example.com/api/admin/credential-profiles/example/offers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: example' \
--data '{ "user_id": "example" }'
id
required
string
Idempotency-Key
required
string
Media type application/json
object
user_id
required
string
Example generated
{
"user_id": "example"
}

Credential offer created.

Media type application/json
object
offerId
required
string
credentialOfferUri
required
string format: uri
expiresAt
required
integer
claimManifestHash
required
string
transactionCode
string
Example generated
{
"offerId": "example",
"credentialOfferUri": "https://example.com",
"expiresAt": 1,
"claimManifestHash": "example",
"transactionCode": "example"
}

Published profile or pinned mapping could not be applied.