API architecture
Sending an email

- The service sends an email notification to GC Notify.
- GC Notify sends the email to the provider.
- The provider delivers the email to the recipient.
- The recipient receives the email and sends a delivery receipt to the provider.
- The provider sends the delivery receipt to GC Notify.
- GC Notify receives the delivery receipt and sends an API response to the service.
- The service receives the API response.
Sending a text message

- The service sends a text message notification to GC Notify.
- GC Notify sends the text message to the provider.
- The provider delivers the text message to the recipient.
- The recipient receives the text message and sends a delivery receipt to the provider.
- The provider sends the delivery receipt to GC Notify.
- GC Notify receives the delivery receipt and sends an API response to the service.
- The service receives the API response.
Getting the status of a message

- The service requests a notification status from GC Notify.
- GC Notify queries the database and retrieves the notification status.
- GC Notify sends the API response with the notification status to the service.
- The service receives the API response.