# Add a file attachment to the identity **POST /users/{user_id}/kyc/identities/{id}/file/{type}/{number}** Add a file attachment to the identity. ## Servers ## Parameters ### Path parameters - **user_id** (string) User id - **id** (string) Resource ID - **type** (string) File type - **number** (string) Document ID number ### Query parameters - **issued_at** (string) Document issued at date - **expires_at** (string) Document expires at date - **issuing_authority** (string) Document issuing authority - **issuing_country** (string) Document issuing country ### Body: (object) The identity file information - **attachment** (object) ## Responses ### 201 File attachment created and returned #### Body: (object) - **id** (string(uuid)) - **file** (object) - **filename** (string) - **document_type** (string) - **document_id_number** (string) - **issued_at** (string(datetime)) - **expires_at** (string(datetime)) - **issuing_authority** (string) - **issuing_country** (string) - **content_type** (string) ### 422 Request body has errors or invalid. ### 401 Authorization information is missing or invalid. [Powered by Bump.sh](https://bump.sh)