Skip to Content

AgreementsApi

All URIs are relative to https://business.apis.kesk.app/v1 

MethodHTTP requestDescription
declineUserAgreementPOST /agreements/{agreement_id}/declineDecline an agreement for the authenticated user.
getUserAgreementGET /agreements/{agreement_id}Fetch agreement content for the authenticated user.
listUserAgreementsGET /agreementsList agreements for the authenticated user.
signUserAgreementPOST /agreements/{agreement_id}/signSign an agreement for the authenticated user.

declineUserAgreement

AgreementInstanceResponse declineUserAgreement(agreement_id, AgreementDeclineRequest)

Decline an agreement for the authenticated user.

Parameters

NameTypeDescriptionNotes
agreement_idLong[default to null]
AgreementDeclineRequestAgreementDeclineRequest

Return type

AgreementInstanceResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: application/json; charset=utf-8
  • Accept: application/json; charset=utf-8

getUserAgreement

AgreementInstanceContentResponse getUserAgreement(agreement_id)

Fetch agreement content for the authenticated user.

Parameters

NameTypeDescriptionNotes
agreement_idLong[default to null]

Return type

AgreementInstanceContentResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

listUserAgreements

List listUserAgreements(include_signed)

List agreements for the authenticated user.

Parameters

NameTypeDescriptionNotes
include_signedBoolean[optional] [default to null]

Return type

List

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

signUserAgreement

AgreementInstanceResponse signUserAgreement(agreement_id, AgreementSignRequest)

Sign an agreement for the authenticated user.

Parameters

NameTypeDescriptionNotes
agreement_idLong[default to null]
AgreementSignRequestAgreementSignRequest

Return type

AgreementInstanceResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: application/json; charset=utf-8
  • Accept: application/json; charset=utf-8