CardDocuments

Returns an S3 URL, used for uploading LEAP card documents.

post/api/v1/cards/{cardId}/documents

Request

  • Base URL: https://uk-api.leap.services
  • URL: https://uk-api.leap.services/api/v1/cards/{cardId}/documents
  • Auth: one of:
    • API key in header Authorization
    • API key in header x-api-key

Path parameters

cardIdstring required

Headers

Authorizationstring required

LEAP Auth Token

Request body

documentNamestring required
createdDatestring date-time
addedDatestring date-time
staffInitialsstring required
deleteCodeinteger
documentTypestring required

Response

200 response

signedUrlstring

Signed URL for the document upload. The generated URL is valid for PUT requests only.

documentIdstring uuid

RecordId of the newly created document

Changes

No recorded changes to this operation across all 1 revision of this API.