Shotcode Listing Service

ShotCode.com Listing Service allows you to integrate your shotcode account with remote sites, by granting access to your entire ShotCode collection. This is a signed service - that means it requires an API key in order to work.


Service Endpoint

https://www.shotcode.com/services/v1/list_shotcodes


Expected Parameters

  • - api_key [your account api key]


Response Format

<list_shotcodes>
 <shotcode id="[shotcode's unique id]" thumbnail="[url for a 150x150 png image]" image="[url for a 400x400 png image]" url="[shotcode's url]"/>
  <errors>
   <error code="[error code]">[some error message here]</error>
  </errors>
</list_shotcodes>

Please note that there will be zero or more <shotcode> entries, one per shotcode on your account. also, there can be one or more <error> entries, one per error message (for example, if no api key was provided). In case the <errors> node is present, no <shotcode> nodes will be shown.

Expected Error Codes

e001, e004. The full list of error codes can be seen on the error codes section.