GET
https://api.main.apexscore.ai
/
api
/
v1
/
portfolios
/
{id}
/
survey_download
curl --request GET \
  --url https://api.main.apexscore.ai/api/v1/portfolios/{id}/survey_download/ \
  --header 'Authorization: Bearer <token>'
{
  "mona_version": {
    "id": 123,
    "name": "<string>",
    "audience": "<string>",
    "audience_type": 0,
    "sequence": -1
  },
  "apex_questions": [
    "<string>"
  ],
  "survey_brand_name": "<string>",
  "audience_fee_language": "fees",
  "audience_interacts_with_staff": true,
  "audience_pays_directly": true,
  "audience_type": 123,
  "audience_type_str": "customers",
  "survey_config_confirmed": true,
  "survey_override_brand_name": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Query Parameters

download_format
enum<string>
default:txt
  • txt - txt
  • docx - docx
Available options:
txt,
docx

Response

200 - application/json

This serializer is mostly built within the Survey.to_serializer() method because it is NOT a model serializer and its properties are set menually by that controlling object.

The serializer allows READ on many properties including the JSON representation of the survey. It also allows WRITE on some of the portfolio properties that influence the survey structure.

If you make changes to the fields here, you should also look at the Survey.get_serializer_data() method to see if you need to update that as well