API For Share Code
Filter share codes by status.
Maximum number of items returned. Default: 30.
Page number of the requested data. Default: 1.
Field used for sorting: code, amount_ips, created_at. Default: created_at.
Sort order: desc or asc. Default: desc.
Search by keyword in the code field.
Filter codes forwarded to a specific email. Example: [email protected]
Filter by data type, 1: ip, 2: traffic. Ex: 1
Filter enterprise codes: 0 = false, 1 = true. Example: 1
Successful response
Returns the list of share codes for the user.
Indicates whether the request was successful.
Response message.
Bad request
Authentication error
Filter by code status.
Maximum number of items returned. Default: 30.
Page number of the requested data. Default: 1.
Field used for sorting: code, amount_ips, used_at. Default: used_at.
Sort order: desc or asc. Default: desc.
Search by keyword in the code field.
Filter codes received from a specific email. Example: [email protected]
Filter by data type, 1: ip, 2: traffic. Ex: 1
Filter by enterprise: 0: false, 1: true. Ex: 1
Successful response
Returns the list of redeemed share codes for the user.
Indicates whether the request was successful.
Response message.
Bad request
Authentication error
Data plan type for sharing. 1 = IP plan.
1Number of IPs to share.
10Number of share codes to generate.
5Successful response
Returns newly generated share codes.
Indicates whether the request was successful.
Response message.
Bad request
Authentication error
ID of the traffic plan used for sharing.
1Amount of traffic to share in bytes. Minimum: 1000000000 (1 GB).
1000000000Number of share codes to generate.
5Successful response
Returns newly generated share codes.
Indicates whether the request was successful.
Response message.
Bad request
Authentication error
Array of share codes to apply.
["code_1","code_2","code_3"]Successful response
Returns the share codes that were successfully applied.
Indicates whether the request was successful.
Response message.
Bad request
Authentication error
Array of share codes to revoke.
["code_1","code_2","code_3"]Successful response
Indicates whether the request was successful.
Response message.
Bad request
Authentication error
Last updated
Was this helpful?