Skip to main content
All CollectionsAPSIS One APIGuides for using Apsis One API
Create a Profile with the APSIS One API
Create a Profile with the APSIS One API
Updated over a year ago

How to Create a Profile

This feature creates a new profile in your account. This profile is identified by the keyspace_discriminator and profile_key you provide in the request. In the section designated by section_discriminator, the value is set for the attribute mapped to the keyspace. This value is the same as the profile key.

This feature allows creating profiles in custom keyspaces (unique identifiers).

The keyspace and section must exist prior to calling this endpoint.

As an example, let's say you want to create a profile in the Email keyspace and the context of your Europe section. Your call would look like this:

POST/audience/keyspaces/com.apsis1.keyspaces.email/sections/usercreated.sections.europe-r6tz73a27t/profiles

About discriminators

To identify fields and entities in Audience like Attributes, Sections or Keyspaces, you'll use discriminators.

We'll explain more about discriminators later on, but for now you only need to know that:

  1. The discriminator for the default First Name Attribute is com.apsis1.attributes.firstname

  2. The discriminator for the email Keyspace is com.apsis1.keyspaces.email

When using the email Keyspace, always use the email address as Profile key.

About URI Encoding

Remember to apply correct URI encoding in all requests, since part of the data is set through the URI itself.


What's Next?

Did this answer your question?