POST
/
recordings
/
upload
Upload a recording
curl --request POST \
  --url https://api.alpharun.com/api/v1/recordings/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form recording_assessment_template_id=3c90c3cc-0d44-4b50-8888-8dd25736052a \
  --form [email protected] \
  --form recorded_at=2023-11-07T05:31:56Z \
  --form 'contacts=[
  {
    "email": "[email protected]",
    "first_name": "<string>",
    "last_name": "<string>",
    "phone_number": "<string>",
    "ext_id": "<string>",
    "custom_fields": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ]
  }
]'
{
  "data": {
    "recording": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data

Response

201 - application/json

Recording created

The response is of type object.