get https://api.sama.com/v2/projects//tasks/.json
The current status of a single task can be accessed via the API with a request to a unique URL using the projectId
and taskId
. Answers returned will be the latest answers, unless the task is Rejected, in which case the default answers will be returned.
Use the same_as_delivery=true
query parameter if you want the task data returned to be in the same format as the task delivery webhook. This is useful if you want a sample of the webhook payload for testing.
Please note that no custom post-processing is done to the task data returned by this endpoint, even with the same_as_delivery
parameter set to true, so the task data returned here may not match exactly what you receive via the delivery endpoints.