InAppify

InAppify REST API reference

Complete server-to-server REST API reference covering authentication, endpoints, parameters, responses, errors, and PHP examples.

The InAppify REST API securely connects your backend to one project's customers, offerings, promotional entitlements, and discount codes. It is not the dashboard's internal API or the client SDK API.

OperationMethod and pathRequired ability
Get or create subscriberGET /subscribers/{app_user_id}customers:read
Delete subscriberDELETE /subscribers/{app_user_id}customers:delete
Sync attributesPOST /subscribers/{app_user_id}/attributescustomers:attributes:write
Get offeringsGET /subscribers/{app_user_id}/offeringsofferings:read
Set offering overridePOST /subscribers/{app_user_id}/offerings/{offering_identifier}/overrideofferings:override:write
Remove offering overrideDELETE /subscribers/{app_user_id}/offerings/overrideofferings:override:delete
Grant promotional entitlementPOST /subscribers/{app_user_id}/entitlements/{entitlement_identifier}/promotionalentitlements:promotional:grant
Revoke promotional entitlementsPOST /subscribers/{app_user_id}/entitlements/{entitlement_identifier}/revoke_promotionalsentitlements:promotional:revoke
Generate discount codePOST /services/generate-discountdiscount:generate

Use https://api.example.com/api/v1 as the documented placeholder base URL and replace its domain with the API domain shown by InAppify.

Continue with authentication, responses and errors, subscribers, offerings, promotional entitlements, discounts, and PHP examples.