Zum Ende der Metadaten springen
Zum Anfang der Metadaten

Sie zeigen eine alte Version dieser Seite an. Zeigen Sie die aktuelle Version an.

Unterschiede anzeigen Seitenhistorie anzeigen

Version 1 Nächste Version anzeigen »

Template list

JWT Authorisation

GET /api/v3/contact

Request parameter:

No Request parameter

Filtering parameters:

ParameterTypeINExampleDescription
languageintQUERYfilters[language]=1Id of API: Language
namestringQUERYfilters[name]=welcomeFull name of template (does not use wildcards)


/wiki/spaces/BROK/pages/693181 #List defaults

Response data:

Metadata: object.

ParameterTypeDescription
countintNumber of all results matching criteria 
statusintResponse status (same as in http code)

Data:  object.data[array]

ParameterTypeDescription
idintegerContact id
namestringContact name (virtual field) - made from name_1 and name_2 
languagearrayTemplate API: Language
language[name]string|nullContact last name (or company addiction)

Response (Error):

ParameterTypeDescription
codeintegerAn error code
errorstringA message containing some information about the error 
errorsarrayList of errors devided by field in associative array {field_name:error message}

/wiki/spaces/BROK/pages/693181 #Authentication defaults 

Request
curl -X GET https://public.brokerstar.biz/api/v3/mail-template --header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE2NTg[...]cm5hbWUiOiJkZW1vLWRlIn0.VTVp[...]cqIg'


Response (Success)
200 OK 
{
    "count": "2",
    "data": [
        {
            "language": {
                "name_e": "German",
                "name_f": "allemand",
                "name_i": "tedesco",
                "id": 1,
                "locale": "de",
                "name": "Deutsch"
            },
            "id": 1,
            "name": "for mailing"
        },
        [...]
    ],
    "status": 200
}

Or one of 

  • Keine Stichwörter