8 Service APIs
This section provides a reference for APIs that should be implemented by this Building Block.
8.1 Government to person (G2P)
8.1.1 Sending emails
8.1.1.1 Sending single emails one by one
Sample user story
API endpoint
Request successfully accepted
Request successfully accepted. Use \"requestUid\" to track it's status.UfQK-CPju-Ea5B-6y7X-8A72-VqU5Invalid input
8.1.1.2 Sending multiple (batch) emails at once
Sample user story
API endpoint
When sending batch emails, recipients information is passed in base64 format. Sender information and email content must be the same for all recipients.
Request successfully accepted
Request successfully accepted. Use \"requestUid\" to track it's status.UfQK-CPju-Ea5B-6y7X-8A72-VqU5Invalid input
8.2 Person to Government (P2G)
8.2.1 Responding to emails
Sample user story
API endpoint
An optional custom service to provide an endpoint for client-specific functionality to accept replied emails, etc
This service may reside on both Messaging BB's and client's side. If used, a matching OpenAPI spec must be provided by the service provider, describing the expected input when making request to the endpoint.
Request successfully accepted
No content
Invalid input
No content
8.2.2 Reading the status of emails
Sample user story
API endpoint
Get status of sent emails. Use both "apiKey" and "requestUid" in your request.
Request successfully accepted
01004025709032Invalid input
Status of emails
Last updated
Was this helpful?