Domain > Document

Upload Document

Upload domain related document

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

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 endpoint across all 1 revision of this API.