Create a test user
A test user is a dummy Government Gateway user ID used for testing in the sandbox. This includes granting authority to your software to interact with our user-restricted endpoints.
A test user ID has:
- a type - individual, organisation or agent
- a password
- a set of service enrolments and related tax identifiers needed for different APIs
You must use the Create Test User API to:
- create a test user which is an agent
- create a test user for use in automated testing
- select individual service enrollments
Test users and other test data are no longer cleared down every two weeks.
Is this page not working properly? (opens in new tab)