OnAutomate API V1.1.1
Welcome to onautomate Api docs.
Survey
GET v1/surveys/
https://link.amtssl.com/v1/surveys/
AUTHORIZATION
Bearer Token
Token
<token>
Example Request
curl --location --request GET 'https://link.amtssl.com/v1/surveys/' \
--header 'Authorization: Bearer <token>'
Example Response
Unauthorized
Successful response
Bad Request. please contact support!
401 Unauthorized
Body
{
"msg": "Unauthorized"
}
200 OK
Body
{
"surveys": [
{
"id": "8qS1AwSo1k0536WJu9kk",
"name": "Survey 1"
},
{
"id": "8qS1AwSo1k0536WJu9kk",
"name": "Survey 1"
}
]
}
400 Bad Request
Body
{
"msg": "Bad Request"
}
Headers
Content-Type: application/json
Headers
Content-Type: application/json
Headers
Content-Type: application/json