Para onde vão os avisos da comunidade
GET/api/notification-settings
- Auth
- Requires a token
- Who can call it:
- owner
- admin
- X-CommunityId
X-CommunityIdSend the X-CommunityId of the community the operation happens in.
Endpoint descriptions come straight from the API specification and are in Portuguese for now. The interface around them is translated.
O e-mail que recebe os avisos de venda, estorno e chargeback da comunidade do header `X-CommunityId`. `null` quer dizer que os avisos vão para o e-mail da empresa (BusinessInformation) e, sem ele, para o e-mail do owner. Só owner e admin.
Headers
| Name | Type | Description |
|---|---|---|
X-CommunityIdoptional | string (uuid) | ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade. |
Responses
| Status | Description |
|---|---|
200 | Configuração lida |
401 | Sem autenticação |
403 | Não é owner nem admin da comunidade |
curl example
curl -X GET "https://api.memberfy.net/api/notification-settings" \
-H "Authorization: Bearer $TOKEN" \
-H "X-CommunityId: $COMMUNITY_ID"