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" }'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Header Parameters
Section titled “Header Parameters ” Idempotency-Key
required
string
Request Body required
Section titled “Request Body required ” Media type application/json
object
user_id
required
string
Example generated
{ "user_id": "example"}Responses
Section titled “ Responses ”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.