Modules
...
GO API Docs
Fetch API Specs
4 min
introduction before executing the api to push data to go's platform, the structure of the request of the api is needed the api request body is configured within the go platform as per requirement the json of the same journey can be fetched in 2 different ways download the api specs from the admin ui push merchant specs api there are two ways of getting api specifications method 1 we can get the json file for the push merchant specs from the go admin portal flows > select flow > click on the settings βοΈ icon on the right corner of your flow > click on download push merchant api specs > the json file is downloaded successfully method 2 api method the following api can be used to fetch the api specifications for pushing the data of the applications to the go platform url https //go preproduction signzy app/api/distributors/pushmerchantspec/{{flowid}}?sampledata=true https //go preproduction signzy app/api/distributors/pushmerchantspec/{{flowid}}?sampledata=true sample request in the url, we need to edit the flow id and use the authentication token in the headers that we have created using the login api then in response, weβll get the required api specification curl \ location \ request get 'https //go preproduction signzy app/api/distributors/pushmerchantspec/{{flowid}}?sampledata=true' \\ \ header 'authorization \<token>β sample response 200 ok { "flowid" " flow id ", "realmid" " realm id ", "merchantid" " merchant id ", "data" \[ { "pageid" " page id ", "widgetname" " widget name ", "data" { "parameter 1" " data ", "parameter 2" " data ", "parameter 3" " data ", "parameter n" " data " } }, { "pageid" " page id ", "widgetname" " widget name ", "data" { "parameter 1" " data ", "parameter 2" " data ", "parameter 3" " data ", "parameter n" " data " } } ] } 400 bad request { "error" { "statuscode" 400, "name" "error", "message" "bad request" } } 401 unauthorized { "error" { "statuscode" 401, "name" "error", "message" "authorization required", "code" "authorization required" } } 404 not found { "error" { "statuscode" 404, "name" "error", "message" "shared class \\"patron\\" has no method handling post /login/1232", "status" 404 }} getting help please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better you can reach out to us at help\@signzy com