Get a profile
A merged profile answers with the profile it joined; its id differs from the one asked for.
GET
A merged profile answers with the profile it joined; its id differs from the one asked for.
apiKey readheader
AuthorizationBearer <token>A workspace API key (pf_…), created under Developers → API keys.
Scope: read
id*stringFormat
uuidOK
application/json- response
id*stringFormat
uuidname*string|nullemail*string|nullphone*string|nulllocale*string|nullstoreIds*array<>isCustomer*booleanemailMarketingConsent*stringValue in
"subscribed""not_subscribed""unsubscribed""pending"smsMarketingConsent*stringValue in
"subscribed""not_subscribed""unsubscribed""pending"firstSeenAt*stringFormat
date-timelastSeenAt*stringFormat
date-timefirstName*string|nulllastName*string|nulllocaleSource*|nullstores*array<>orders*integerspent*array<>curl -X GET 'https://api.postforge.dev/v1/profiles/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "email": "string", "phone": "string", "locale": "string", "storeIds": [ "636b56cb-e414-46d5-b6c0-0e73b3e0106b" ], "isCustomer": true, "emailMarketingConsent": "subscribed", "smsMarketingConsent": "subscribed", "firstSeenAt": "2019-08-24T14:15:22Z", "lastSeenAt": "2019-08-24T14:15:22Z", "firstName": "string", "lastName": "string", "localeSource": { "source": "order", "storeId": "b8adcdc8-9238-4168-90f8-77b2d14c211c", "signal": "hard", "at": "2019-08-24T14:15:22Z" }, "stores": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "platform": "string" } ], "orders": 0, "spent": [ { "amount": 0, "currency": "str" } ]}