openapi: 3.2.0 info: version: v1 title: Listrak Email REST Ip Pool API description: '# Introduction Welcome to the Listrak Email REST API!' x-logo: url: /Email/Resources/Images/Logo.png servers: - url: https://api.listrak.com/email tags: - name: IP Pool description: The IpPool resource exposes all of the IP Pools and their IDs for a user's Account. paths: /v1/IpPool: get: tags: - IP Pool summary: Get all IpPools description: Returns your account's collection of IP pools. operationId: IpPool_GetIpPoolCollection responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/Collection_IpPool' example: status: 200 nextPageCursor: null data: - ipPoolId: 0 ipPoolDescription: null '400': description: BadRequest content: application/json: schema: $ref: '#/components/schemas/Error' example: status: 400 error: ERROR_INVALID_PARAMETER message: An invalid value was supplied for {Parameter}. '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/Error' example: status: 401 error: ERROR_UNAUTHORIZED message: Authorization was denied for this request. security: - OAuth 2: [] x-code-samples: - lang: C# source: 'var client = new HttpClient(); client.BaseAddress = new Uri("https://api.listrak.com/email/"); client.DefaultRequestHeaders.Add("Authorization", "Bearer " + token); var response = await client.GetAsync("v1/IpPool"); ' - lang: PHP source: "$client = new \\GuzzleHttp\\Client([\n\t'base_uri' => 'https://api.listrak.com/email/'\n]);\n\n$res = $client->request('GET', 'v1/IpPool', [\n\t'headers' => ['Authorization' => 'Bearer ' . $accessToken]\n]);\n" components: schemas: Collection_IpPool: type: object properties: status: format: int32 description: HTTP status code. type: integer data: description: Collection of return data from the given call. type: array items: $ref: '#/components/schemas/IpPool' Error: type: object properties: status: format: int32 description: HTTP status code. type: integer error: description: Error code indicating what error has occured. type: string message: description: Message describing the status and the error that occurred. type: string IpPool: description: An IpPool resource. type: object properties: ipPoolId: format: int32 description: Identifier used to locate the IP pool. type: integer ipPoolDescription: description: Description of the IP pool. type: string x-tagGroups: - name: API Reference tags: - Campaign - Contact - ContactSegmentationField - Content - ContentFolder - Conversation - ConversationMessage - ConversationMessageActivity - ConversationMessageLink - ConversationMessageLinkClicker - ConversationMessageSummary - ConversationSummary - Event - EventGroup - Folder - IpPool - List - ListImport - ListImportContact - ListImportStatus - ListImportSummary - Message - MessageActivity - MessageLink - MessageLinkClicker - MessageStatus - MessageSummary - SavedAudience - SavedMessage - SegmentationField - SegmentationFieldGroup - SplitTest - TransactionalMessage - TransactionalMessageActivity - TransactionalMessageResend