Preo
  • Homepage
  • About
Apps
  • Dashboard
  • App Store
  • Google Play
Social
  • LinkedIn

© 2026 Preo ApS

  • Integration
  • API
Information
Auth
    Get user infoget
Editions
    List editionsgetCreate editionpostGet edition detailsgetUpdate editionpatchDuplicate editionpostGet edition field choicesgetRun edition healthcheckget
Orders
    List ordersgetRetrieve order detailsget
Purchases
    Retrieve purchase detailsgetCreate refund request for purchasepost
User
    List usersgetRetrieve usergetPartially update userpatch
Refunds
    Create refund request for purchasepostList refund requestsgetCreate refund requestpostRetrieve refund request detailsgetApprove refund requestpostReject refund requestpost
Files
    List filesgetUpload filepostGet file detailsgetDelete filedeleteUpdate file metadatapatch
Data Imports
    List data importsgetCreate data importpostGet data import detailsgetUpdate data importpatchCancel data importpostList column mappingsgetUpdate column mappingspatchPreview import ordersgetProcess column mappingspostList product mappingsgetUpdate product mappingspatchStart import processpostValidate column mappingspostImport external orderspost
Campaigns
    List campaignsgetCreate campaignpostRetrieve campaigngetDelete campaigndeleteUpdate campaignpatchCancel campaignpostSchedule campaignpostSend campaign nowpostGet campaign statsget
Consents
    List consentsgetCreate consentpostRetrieve consentgetDelete consentdeleteUpdate consentpatch
Email Messages
    List email messagesgetCreate email messagepostGet email message detailsgetDelete email messagedeleteUpdate email messagepatchAdopt template to editionpostDuplicate email messagepostPreview emailpostGet template variablesget
Segments
    List segmentsgetCreate segmentpostRetrieve segmentgetDelete segmentdeleteUpdate segmentpatchExport segment users as CSVgetRecalculate segmentpostReset stuck segment to draftpostGet CEL context schema and dynamic valuesgetValidate CEL expressionpost
Webhooks
    List webhook endpointsgetCreate webhook endpointpostRetrieve webhook endpointgetDelete webhook endpointdeleteUpdate webhook endpointpatchList deliveries for webhook endpointgetGet delivery detailgetRetry a failed deliverypostRotate webhook secretpost
Schemas
Preo API
Preo API

Auth

Endpoint

Authentication and session management including JWT tokens, PIN-based login, and OAuth.


Get user info

GET
https://api.preo.dev
/v1/me

Information about current staff user, their membership in organizations, editions, pickup points

Get user info › query Parameters

include_archived
​boolean
Default: false

Get user info › Responses

OK

​object · required

Staff user serializer for nested representations

​object[] · required
GET/v1/me
curl --request GET \ --url https://api.preo.dev/v1/me
shell
Example Responses
{ "user": { "id": "id", "email": "test@example.com", "full_name": "full_name", "first_name": "first_name", "last_name": "last_name", "phone_number": "phone_number", "avatar": "https://www.example.com/path/to/resource", "has_custom_avatar": true }, "organizations": [ { "api_id": "api_id", "name": "name", "slug": "slug", "avatar": { "thumbnail": "https://www.example.com/path/to/resource", "optimized": "https://www.example.com/path/to/resource", "large": "https://www.example.com/path/to/resource", "original": "https://www.example.com/path/to/resource" }, "role": "admin", "is_default": true, "editions": [ { "api_id": "api_id", "sdk_id": "sdk_id", "name": "name", "slug": "slug", "role": "admin", "start_date": "2024-08-25T15:00:00Z", "end_date": "2024-08-25T15:00:00Z", "timezone": "timezone", "currency": "eur", "default_language": "en", "enabled_languages": [ "en" ], "is_draft": true } ] } ] }
json
application/json

Editions