Journey Docs
Partner API ExplorerFulfillments

Autocomplete offer names

Required scopepartner:fulfillments:read
GET
/v1/partner/fulfillments/autocomplete/offers

Offer-name suggestions for a search box, drawn from offers that have fulfillments in reach.

Authorization

headerAuthorizationBearer <token>

WorkOS access token (JWT) for a user who is a member of the partner organization. The organization the request is scoped to is taken from the token, not from a header or query parameter.

Only a JWT is accepted in this header. A Journey jny_ API key sent as a bearer token is rejected with 401 Invalid or expired token; send it in X-API-Key instead.

WorkOS organization API keys are not accepted yet.

Query Parameters

limit?number
Range1 <= value <= 20
organizationId?string

External org ID (HXP UUID or WorkOS org ID) for superadmins querying a specific org

q*string
Length1 <= length

Response Body

Suggested offer names.

application/json
  1. response
suggestions*array<string>
curl -X GET 'https://api-prd.cf.journey.com/v1/partner/fulfillments/autocomplete/offers?q=string'
{  "suggestions": [    "string"  ]}