Overview
A Service is the top-level entity in GOV.UK Notify. Every notification you send belongs to a service. Services contain templates, API keys, team members, and configuration settings.Service Structure
Core Properties
Basic Information
Basic Information
- Name: Unique identifier for your service
- Organisation: Optional link to a parent organisation
- Created by: User who created the service
- Organisation type: Determines billing and allowances (central government, local, NHS, etc.)
Service States
Service States
- Active: Service can send notifications
- Restricted: Trial mode - can only send to team members and guest list
- Archived: Service is deactivated
Message Limits
Message Limits
Services have daily sending limits for each channel:
email_message_limit: Default 999,999,999sms_message_limit: Default 999,999,999letter_message_limit: Default 999,999,999international_sms_message_limit: Default 250,000
Service Permissions
Services have granular permissions that control available features:Service Lifecycle
Trial Mode
New services start in restricted mode:
- Can only send to verified team members
- Can add recipients to a guest list
- Limited to testing templates
Go Live Request
To send to real users:
- Submit a go-live request
- Provide service details and volumes
- Get approval from organisation or Notify team
Service Configuration
Branding
Services can customize email and letter branding:- Email Branding
- Letter Branding
Email Sender Configuration
Services can customize the sender name in emails:Guest List (Restricted Mode)
When in trial mode, use the guest list to test with specific recipients:Guest list entries are validated on creation. Invalid email addresses or phone numbers will be rejected.
Service Relationships
Organisation
Services can belong to an organisation:- Inherits organisation branding by default
- Organisation type affects free SMS allowance
- Organisations can have multiple services
Users
Team members have specific permissions per service:manage_users: Add/remove team membersmanage_templates: Create/edit templatesmanage_settings: Configure service settingssend_texts,send_emails,send_letters: Send notificationsmanage_api_keys: Create/revoke API keysview_activity: Read-only access
Templates
Each service has its own templates organized in folders:- Templates are service-specific
- Can be organized in nested folders
- Support version history
Rate Limiting
Services have a rate limit for API requests:Callback APIs
Services can configure webhooks for delivery receipts:Code Example
Here’s the service model structure from the source code:Best Practices
Naming
Choose a clear, descriptive name. It appears in email sender addresses and audit logs.
Permissions
Only enable permissions your service needs. Start minimal and add as required.
Guest List
Keep your guest list updated during development. Remove test entries before go-live.
Rate Limits
Monitor your sending patterns. Request limit increases before reaching capacity.
Related Concepts
- Templates - Create message templates for your service
- API Keys - Authenticate API requests
- Notifications - Send and track messages