add
Add addresses to a list. An address the list already holds takes the new comment and expiresAt, so posting it again moves its expiry.
Request Body
items(array) — the addresses to additems[].ip(string) — a single IPv4 or IPv6 addressitems[].comment(string) — optional, up to 256 charactersitems[].expiresAt(string) — optional, epoch milliseconds, at most 30 days ahead
The response is the whole list after the change.
Errors
Accepted permissions
Account → IP lists → Edit itemsToken scope
Account IP Lists Action
Authentication
X-Api-Keystring
Personal access token. Create it in your BotBye account under Profile → Personal Access Tokens, tick the scopes the endpoints you call require (see each endpoint’s Token scope), and send the token in the X-Api-Key request header exactly as the console shows it (it is already Base64-encoded; a token saved earlier in the UUID form must be Base64-encoded first). A token works only for the account it was created in.
Path parameters
account_id
ip_list_id
Request
This endpoint expects an object.
items
Response
success
id
name
version
items
createdAt
updatedAt

