Skip to content

Instantly share code, notes, and snippets.

@radhack
Last active November 30, 2017 20:21
Show Gist options
  • Save radhack/4aeb87798c351f8e164fca7fc642a1df to your computer and use it in GitHub Desktop.
Save radhack/4aeb87798c351f8e164fca7fc642a1df to your computer and use it in GitHub Desktop.
Raw signature_request_declined callback event
POST /callback.php HTTP/1.1
Host: hstests.ngrok.io
Accept: */*
User-Agent: HelloSign API
Content-MD5: ODkzODc1YzQ4MzliNzMyNGQxMGQyMDIyNGEwNjExNjY=
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------cdbbc9813ec9
Content-Length: 2272
X-Forwarded-Proto: https
X-Forwarded-For: 52.200.252.64
------------------------------cdbbc9813ec9
Content-Disposition: form-data; name="json"
{"event":{"event_type":"signature_request_declined","event_time":"1505170408","event_hash":"2bb8fa7ef9b58c7e93ecd0cad75c636d2dfd3ccd072150b8964ae9f34aeeb6a0","event_metadata":{"related_signature_id":"[Signature ID Here]","reported_for_account_id":"[Account Id Here]","reported_for_app_id":null,"event_message":"I'd rather not sign this right now, so I'm declining to sign."}},"account_guid":"[Account Id Here]","client_id":null,"signature_request":{"signature_request_id":"[Signature Request ID Here]","test_mode":true,"title":"using postman","original_title":"using postman","subject":"using postman","message":"Three Signers multiple pages","metadata":{},"is_complete":false,"is_declined":true,"has_error":false,"custom_fields":[{"name":"Label1","type":"text","required":null,"api_id":"503593_9","editor":null,"value":"Things"},{"name":"Label2","type":"text","required":null,"api_id":"503593_10","editor":null,"value":"Things here too"}],"response_data":[],"signing_url":null,"signing_redirect_url":"https:\/\/www.hellosign.com","final_copy_uri":"\/v3\/signature_request\/final_copy\/[Signature Request ID Here]","files_url":"https:\/\/api.hellosign.com\/v3\/signature_request\/files\/[Signature Request ID Here]","details_url":"https:\/\/app.hellosign.com\/home\/manage?guid=[Signature Request ID Here]","requester_email_address":"alex@hellosign.com","signatures":[{"signature_id":"[Signature ID for Signer 0 Here]","has_pin":false,"signer_email_address":"alex+postman-43@hellosign.com","signer_name":"Mr Postman","order":null,"status_code":"declined","signed_at":null,"last_viewed_at":1505170382,"last_reminded_at":null,"error":null,"decline_reason":"I'd rather not sign this right now, so I'm declining to sign."},{"signature_id":"[Signature ID for Signer 1 Here]","has_pin":true,"signer_email_address":"alex+postmandf-23@hellosign.com","signer_name":"Mrs. Postman","order":null,"status_code":"awaiting_signature","signed_at":null,"last_viewed_at":null,"last_reminded_at":null,"error":null}],"cc_email_addresses":[]}}
------------------------------cdbbc9813ec9--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment