TAŇBA-OOH Developers

Citizen complaint form

GET /v1/complaint

https://verify.tanba-ooh.kz/v1/complaint

HTML form, served at /complaint on the verify host. ?code= prefills the structure code.

Authentication

None. This call is public.

Parameters

NameInTypeRequiredDescriptionExample
codequerystringnoStructure code to prefill in the form.ALM-0012
langquerystringnoLanguage of the page: kk, ru or en. kk, ru, enkk

Responses

200 HTML form.

text/html

Errors

Errors are problem documents (application/problem+json) with a stable code.

StatusMeaning
429Rate limit; see Retry-After.

Code samples

curl

curl 'https://verify.tanba-ooh.kz/v1/complaint'
Python
import requests

response = requests.get(
    "https://verify.tanba-ooh.kz/v1/complaint",
)
print(response.status_code, response.text)
Go
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	req, err := http.NewRequest("GET", "https://verify.tanba-ooh.kz/v1/complaint", nil)
	if err != nil {
		panic(err)
	}
	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()
	data, _ := io.ReadAll(resp.Body)
	fmt.Println(resp.Status, string(data))
}