1b.app
Link copied -

API v1 vs API v2

Good afternoon.
Please tell me if there are any advantages to using the second version of the API?
Also tell me what the token lifespan is.
Original question is available on version: ru

Answers:

Good afternoon.
1. Yes. v2 works faster, because it has logic built in everywhere, in which only the fields that are needed are updated and returned, and not everything.
2. The token is valid for an hour after creation. If you send a request using a token, the token's lifetime is extended by an hour from the moment the request with the token is received.
22.10.2024, 18:13
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment