The endpoint accepts encoded file content in a specified data format. It allows you to add multiple contacts of the same type simultaneously. The file can have any name, as only its content matters. Currently, the only supported format [type] is CSV. The maximum file size is 5MB. Each contact passed should have a form consistent with the input parameters of the contact array from the add contact method. A correct response is returned as HTTP code 201. An incorrect request has HTTP code 400 with an error structure.
Request
Query Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://test.api.globkurier.pl/v2/user/addressBook/sender/import?fileType'