Signed URL

Create a signed URL to upload a CSV file into an existing record list

📘

Supported Regions and Base URLs

👍

Access and Registration

Authentication

Scope

record-lists:manage

Request Body (required)

{
  "csv_metadata": {
    "filename": "recordList.csv",
    "byte_size": 413,
    "checksum": "d2c07dcf1589304317056dd7e28e32b8",
    "content_type": "text/csv"
  },
  "callback_action": {
    "endpoint": "http://endpoint/callback",
    "method": "POST",
    "body": {
      "address": "old street"
    },
    "headers": {
      "x-api-key": "secret key"
    }
  },
  "send_atlas_notification": true
}

csv_metadata Body Parameter

ParameterTypeDescriptionRequired
filenamestringName of the csv file to be uploaded.
>= 1 characters
<= 35 characters
no
byte_sizeintegerSize of the file in bytes.
>= 1
<= 20000
no
checksumstringHash of the file done using the algorithm MD5.
>= 1 characters
<= 32 characters
no
content_typestringtext/csv.
>= 1 characters
<= 35 characters
no

callback_action Body Parameter

ParameterTypeDescriptionRequired
endpointsstringthe endpoint for the callback requestyes
methodstringmethod to call the callback requestyes
bodyobjectbody of the callback requestno
headersobjectheaders used in the callback requestno

Body Response - Schema

201 (created signed URL for the csv file)

ParameterTypeDescriptionRequired
idstringID of upload requestno
record_list_idstringID of record listno
signed_urlstringURL to save the csv file in S3no
statusstringcurrent status of the upload requestno
_linksobject"_links" subdivides into:

1 - "self" (object)
1.1 - "href" (string)

2 - "record_list" (object)
2.1 - "href" (string)

3 - "upload" (object)
3.1 - "href" (string)
no

400 (errors found in the submitted data), 401 (unauthorized), 403 (forbidden), 404 (resource not found), 413 (payload too large)

ParameterTypeDescriptionRequired
codestringn/ayes
messagestringn/ayes
descriptionstringn/ayes
fieldsarray[object]"fields" subdivides into:

"name" (string)

"description" (string)
yes (name and description)

🚧

Troubleshooting

If you have any questions regarding the usage of this API, or if you’re having any technical issues, please open a ticket using this form.

Language
Credentials
Header
Click Try It! to start a request and see the response here!