Skip to content

Allow JSON webhook notifications #13

@aesadde

Description

@aesadde

Hi @jfcote87 quick question about webhook events.

I've been testing the client but the webhook response always comes as XML but according to DocuSign docs it should be possible to get the response in JSON

Is this something that the library currently supports?

For reference, this is how I build an envelope notification

envelope.EventNotification = &model.EventNotification{
		EnvelopeEvents: []model.EnvelopeEvent{
			{EnvelopeEventStatusCode: "Sent"},
			{EnvelopeEventStatusCode: "Completed"},
			{EnvelopeEventStatusCode: "Declined"},
			{EnvelopeEventStatusCode: "Voided"},
		},
		LoggingEnabled:        true,
		RequireAcknowledgment: true,
		URL:                   webhook
	}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions