Domain > Document

Upload Document

Upload domain related document

post/2/domains/accounts/{account}/documents

Request

  • Base URL
    https://api.infomaniak.com
  • URL
    https://api.infomaniak.com/2/domains/accounts/{account}/documents
  • Auth
    HTTP bearer

Path parameters

accountstring required

Request body

documentstring binary required
document_type'"domain_contact_verification_document"' | '"domain_extra_field_document"' nullable

The document type (default: domain_extra_field_document)

field_namestring required

The additional field name

Example request

{
  "field_name": "example_certificate"
}

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success",
  "data": {
    "id": 12345,
    "name": "additional_field"
  }
}

Changes

No recorded changes to this operation across all 40 revisions of this API.