Create a document
Creates a document.
202 Accepted with an empty body and does not include a Location header.
The generated document does not exist yet when the response is returned. Poll GET /document to retrieve it once generation completes.Authorizations
API key used to authenticate and authorise every request.
Include it in the x-api-key header.
Headers
Defines the response type.
application/vnd.Creative Force.v2.3+json, application/vnd.Creative Force.v2.3+xml Defines the languages included in the response. If non are provided, the account default language is returned.
Value all overrides any other values present.
You can request multiple languages using a comma-separated string of languages.
The selected language must be supported by your account or a 400 error is returned.
all, ar_AR, bg_BG, bn_IN, ca_ES, cs_CZ, cy_GB, da_DK, de_DE, en_GB, en_US, el_GR, es_NN, es_LA, et_EE, fa_NN, fi_FI, fr_FR, fr_CA, he_IL, hi_IN, hr_HR, hu_HU, hy_AM, it_IT, ja_JP, ko_KR, lt_LT, ms_MY, nl_NL, nb_NO, pl_PL, pt_BR, ro_RO, ru_RU, sk_SK, sl_SI, sq_AL, sr_RS, sv_SE, sw_NN, th_TH, tr_TR, uk_UA, vi_VN, zh_CN, zh_HK Body
Document create payload.
Slug of the document template to generate the document from.
^[A-Za-z]{8}$File format to generate the document in.
pdf, word Specifies whether the generated document is shared with the applicant.
Type of resource to attach the generated documents to.
user, application, allocation, grant-report Slugs of the resources, of the type given by resource, to attach the generated documents to.
1^[A-Za-z]{8}$Slug of the notification to send when the document is created.
Omit or set to null to send no notification.
^[A-Za-z]{8}$Response
Document creation accepted.