Sign the advisor agreement
POST
https://api.nicer.travel/identity/agreement/sign
Signs the agency's published agreement for the calling advisor: stores their signature (their name as they typed it), their IP address and the signed PDF. An agreement is signed once. Answers the signature without the IP address or where the PDF is stored. Advisors and admins of the agency the request acts for sign for themselves. Errors: 400 ERROR_ITEM_NOT_FOUND for an agreement the agency does not have, 400 AGREEMENT_NOT_PUBLISHED for a version that is not the published one, 400 AGREEMENT_ALREADY_ACCEPTED when the caller signed it already.
Authorization
Request body JSON required
Returns
200
OK