/qualifications

Bank order is the order a respondent is asked in, so a caller building a preview does not have to sort anything.

GEThttps://dashboard.a2bsample.com/api/developer/playground/vendor/qualifications
RequiresAuthorizationandX-Api-Tokenas headers.
Vendor
Vendor·Qualifications·GET/qualifications
GEThttps://dashboard.a2bsample.com/api/developer/playground/vendor/qualifications
Response

Send a request to see the response.

Example request

Request
curl --request GET \  --url 'https://dashboard.a2bsample.com/api/developer/playground/vendor/qualifications' \  --header 'Authorization: Bearer $A2B_BEARER_TOKEN' \  --header 'X-Api-Token: $A2B_API_TOKEN' \  --header 'Accept: application/json'

Request

Headers3

Authorizationstringrequired

The secret half. A vendor token starts vnd_ — the four-character prefix says which table to resolve it in, so the row it matches is the caller. A clt_… token on this prefix is a 403, not a 404.

example: Bearer vnd_7b3d4c8ea1f52d6b8e0c4a919f1c4e2a
X-Api-Tokenstringrequired

The identity half — this vendor's own 40-hex apiToken, the value GET /api/developer/me echoes back. Compared in constant time against the bearer token's own row, so a bearer token lifted on its own is not enough to call the playground.

example: 9f1c4e2a7b3d4c8ea1f52d6b8e0c4a913c7a1b90
Acceptstringoptional

Response media type.

default: application/json

Responses

200OK

Every question in the bank.

successboolean
Whether the call succeeded.
qualificationsarray<object>
totalinteger
Example response
{  "success": true,  "qualifications": [    {      "id": "7a2c5e1b-8d40-4c35-97e1-3c7a1b905e42",      "question": "What is your household income?",      "questionType": "single_choice",      "options": [        "Under 25k",        "25k–50k",        "50k+"      ],      "required": true,      "helpText": "string",      "allowOther": false,      "minValue": 0,      "maxValue": 0    }  ],  "total": 37}