We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
When setting up your Notify api client for the Canadian endpoint you need to pass a base url parameter before your api key.
Examples:
NotifyClient("https://api.notification.canada.ca", apiKey)
https://github.com/alphagov/notifications-node-client
public NotificationClient(final String apiKey, final String baseUrl) {
https://github.com/alphagov/notifications-java-client
public NotificationClient(string baseUrl, string apiKey)
https://github.com/alphagov/notifications-net-client
See config options: https://github.com/alphagov/notifications-python-client/blob/master/notifications_python_client/base.py#L22
require __DIR__ . '/vendor/autoload.php'; $notifyClient = new \Alphagov\Notifications\Client([ 'baseUrl' => "https://api.notification.canada.ca", 'apiKey' => 'your-api-key', 'httpClient' => new \Http\Adapter\Guzzle6\Client ]);
See config options: https://github.com/alphagov/notifications-php-client/blob/master/src/Client.php#L84