Common Query Request Parameters

The following parameters must be included in each Query request to SQS:

Parameter NameDescriptionExample Value
ActionIndicates the action to perform.CreateQueue
VersionRequired. The API version to use, as specified in the WSDL.2006-04-01
AWSAccessKeyIdThe Access Key ID for the request sender. This identifies the account that will be charged for usage of the service. The account the Access Key ID is associated with must be signed up for SQS, or requests will not be accepted.0AS7253JW73RRM652K02
TimestampThe date and time the request is signed, in the format YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard. The Timestamp parameter can be used instead of Expires. Requests must include either Timestamp or Expires, but not both.2006-07-07T15:04:56Z
ExpiresThe date and time at which the signature included in the request expires, in the format YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard. The Timestamp parameter can be used instead of Expires. Requests must include either Timestamp or Expires, but not both.2006-07-07T15:04:56Z
SignatureA request signature is calculated as explained in Request AuthenticationQnpl4Qk/7tINHzfXCiT7VbBatDA=
SignatureVersionA value of 0 or 1 indicates the method used to construct the string to be signed as explained in Authenticating Query Requests. The default value is 0. However, we highly recommend using SignatureVersion=1 with the stricter signature.SignatureVersion=1

Parameter values must be URL-encoded. This is true for any Query parameter passed to SQS and is typically necessary in the Signature, MessageId, and MessageBody parameters. Some clients do this automatically, but this is not the norm.