Forms
List Forms
To list all forms in the account, make a GET request to /api/v1/forms
:
Get forms
Request parameters
GET /api/v1/forms?page=1&per_page=10 HTTP/1.1
Host: smore.im
Accept: application/json
Authorization: Bearer $API_KEY
Responses
{
"total_items": 2,
"total_pages": 1,
"data": [
{
"id": "12345abcde",
"title": "My Form",
"description": "This is my form",
"language": "en"
},
{
"id": "67890fghij",
"title": "Another Form",
"description": "This is another form",
"language": "en"
}
]
}
{
"errorCode": 401001,
"message": "Invalid access token"
}
{
"errorCode": 401003,
"message": "Authorization header is missing"
}
{
"errorCode": 401004,
"message": "Authorization type is not Bearer"
}
{
"errorCode": 401005,
"message": "Access token is expired, please refresh"
}
{
"errorCode": 401006,
"message": "User not found"
}
Last modified: 08 December 2023