Send holder a credential offer, independent of any proposal

POST {{baseUrl}}/issue-credential/send-offer

Request Body

{"connection_id"=>"<uuid>", "cred_def_id"=>"uiYtx6UzxqeyJpDf5RKGy:3:CL:13055216:", "credential_preview"=>{"attributes"=>[{"name"=>"<string>", "value"=>"<string>", "mime-type"=>"<string>"}, {"name"=>"<string>", "value"=>"<string>", "mime-type"=>"<string>"}], "@type"=>"<string>"}, "auto_issue"=>"<boolean>", "auto_remove"=>"<boolean>", "comment"=>"<string>", "data_agreement_id"=>"<string>", "trace"=>"<boolean>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;auto_issue&quot;:&quot;\u003cboolean\u003e&quot;,&quot;auto_offer&quot;:&quot;\u003cboolean\u003e&quot;,&quot;auto_remove&quot;:&quot;\u003cboolean\u003e&quot;,&quot;connection_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;created_at&quot;:&quot;1423-37-50 23:20Z&quot;,&quot;credential&quot;:{},&quot;credential_definition_id&quot;:&quot;TZwJ7DRiZMYk11jXtCHYw:3:CL:uZ1D3LpripYL1VD9h5afEr:2:|\\1P1:96432821268:&quot;,&quot;credential_exchange_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;credential_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;credential_offer&quot;:{},&quot;credential_offer_dict&quot;:{},&quot;credential_proposal_dict&quot;:{},&quot;credential_request&quot;:{},&quot;credential_request_metadata&quot;:{},&quot;data_agreement&quot;:{},&quot;data_agreement_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;data_agreement_problem_report&quot;:{},&quot;data_agreement_status&quot;:&quot;\u003cstring\u003e&quot;,&quot;data_agreement_template_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;error_msg&quot;:&quot;\u003cstring\u003e&quot;,&quot;initiator&quot;:&quot;external&quot;,&quot;parent_thread_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;raw_credential&quot;:{},&quot;revoc_reg_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;revocation_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;role&quot;:&quot;holder&quot;,&quot;schema_id&quot;:&quot;F7XA9vZ1CStTyfEvVmSQVk:2:4]yZ*\\F:2055380&quot;,&quot;state&quot;:&quot;\u003cstring\u003e&quot;,&quot;thread_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;trace&quot;:&quot;\u003cboolean\u003e&quot;,&quot;updated_at&quot;:&quot;0065-12-93 94:57:60.4738&quot;}