# API architecture

# Sending an email

Alt

  1. The service sends an email notification to GC Notify.
  2. GC Notify sends the email to the provider.
  3. The provider delivers the email to the recipient.
  4. The recipient receives the email and sends a delivery receipt to the provider.
  5. The provider sends the delivery receipt to GC Notify.
  6. GC Notify receives the delivery receipt and sends an API response to the service.
  7. The service receives the API response.

# Sending a text message

Alt

  1. The service sends a text message notification to GC Notify.
  2. GC Notify sends the text message to the provider.
  3. The provider delivers the text message to the recipient.
  4. The recipient receives the text message and sends a delivery receipt to the provider.
  5. The provider sends the delivery receipt to GC Notify.
  6. GC Notify receives the delivery receipt and sends an API response to the service.
  7. The service receives the API response.

# Getting the status of a message

Alt

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