Import the collection
- In Postman, choose Import and paste
https://api.wede.pt/docs/json. - Import it as a Postman collection. Every endpoint appears in a folder named after its area (Events, Sync, Webhooks, Teams and others).
- Open the collection’s Variables.
baseUrlishttps://api.wede.pt/v1, the address for production and sandbox: the environment follows your credential, not the address.
Add your credential
Start with a sandbox key (wede_test_): nothing it sends reaches a real recipient or counts toward usage. See Environments.
API key (events, sync, webhooks, connectivity, zones and account endpoints):
- On the collection, open Authorization and choose API Key.
- Key
x-wede-api-key, value your key, add to Header. - Requests set to Inherit auth from parent use it.
- Send
POST /auth/loginwith your email and password. - Copy
tokenfrom the response. - On the collection, choose Bearer Token and paste it. It is valid for 8 hours.
First requests
The quickstart walks through the same steps with curl.
