Please read the section "Before Starting" at
Sandbox documentation of your preferred programming language.
When using sandbox the authentication string includes the keyword "sandbox".
When using the production API the authentication string includes username + security key.
For further information please visit open.didww.com

Which Authentication String do I Need to use for accessing the API?