Skip to main content

Locations

Locations where your fundraiser can collect signups

Read locations list​

GET /locations​

Read the list of available locations

Response structure​

FieldTypeRequiredDescription
idIntegerTrueLocation ID
labelStringTrueLocation Label
codeStringTrueLocation Code
addressStringFalseLocation Address
phoneStringFalseLocation Phone
emailStringFalseLocation Email

Example request

curl --request GET \
--url https://<cs>.metaface.it:8000/api/v3/locations/ \
--header 'Authorization: Token <secret_api_key>'

Example response

[
{
"id": 1,
"label": "Test Position 1",
"code": "10001",
"address": "",
"phone": "",
"email": ""
},
{
"id": 2,
"label": "Test Position 2",
"code": "10002",
"address": "",
"phone": "",
"email": ""
},
]