FirstPromoter icon

FirstPromoter

Interact with the official FirstPromoter APIs

Promo Code → Get Promo Codes

AI-generated

Summary

Retrieve a list of promo codes from FirstPromoter, optionally filtering by a specific promoter campaign ID.

Inputs

  • Filter By Promoter Campaign ID — A string to filter promo codes by the given promoter campaign ID.

Output shape

a list of promo code objects

Returns an array of promo codes; if the 'Filter By Promoter Campaign ID' parameter is set, only promo codes associated with that promoter campaign are returned. The result is wrapped as a JSON array suitable for further workflow processing.

Examples

Example 1: List all promo codes without filtering

Leave 'Filter By Promoter Campaign ID' empty to get all promo codes.

Example 2: List promo codes filtered by a specific promoter campaign

Set the 'Filter By Promoter Campaign ID' parameter to the desired campaign ID string.

Links

Discussion