Share PDF

GET https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceId}}/share_link?share_method=share_link

Request Params

KeyDatatypeRequiredDescription
share_methodstringshare_link, email, sms, pdf

RESPONSES

status: OK

{"response":{"result":{"share_link":{"clientid":31006,"resource_type":"invoice","resourceid":"34420","share_link":"https://my.freshbooks.com/#/link/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzeXN0ZW1pZCI6NDIzNjQxMCwiYWNjb3VudGlkIjoid2tNZDJnIiwidXNlcmlkIjozMTAwNiwidHlwZSI6Imludm9pY2UiLCJvYmplY3RpZCI6IjM0NDIwIiwiZXhwIjoxNTg3NjY3NTYxLCJsZXZlbCI6MH0.RorQ5sE8moYrKtGcW3O5JkQhzDYgK9XKoYUuX8PHJbA?type=secondary\u0026share_method=share_link","share_method":"share_link"}}}}