Audience User API

The User API from Audience, for user.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

GET /v2/user/ Get User #
POST /v2/user/login Login #
POST /v2/user/oauth/token Get User Token #
POST /v2/user/reset-password Reset Password #
POST /v2/user/update Update User #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/audience:audience-user-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

audience-user-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: api-settings User API
  version: '2.0'
servers:
- url: https://api.aptivada.com
security:
- sec0: []
tags:
- name: User
paths:
  /v2/user/:
    get:
      summary: Get User
      description: 'Returns one user''s profile from the account in the URL, looked up by `email` or `user_id`.


        **This only looks in that account. It does not search child accounts.** If you call it on a parent account for a user who signed up on a child account, it returns `status: failed` with `No user by email on this account`, even though the user exists.


        To find a user anywhere under a parent account, use Account User Search with `include_child_accounts=true`. Each result includes the `account_id` the user belongs to, which you can then pass to this endpoint.


        For privacy deletion requests, use Forget User with `includeChildAccounts=true`. You don''t need to look the user up first.'
      operationId: get-user
      parameters:
      - name: Authorization
        in: header
        description: User's authorization header
        required: true
        schema:
          type: string
          default: Bearer [token]
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - client_id
              properties:
                client_id:
                  type: string
                  description: User's Account ID
                fields:
                  type: array
                  description: List of user fields to return
                  default:
                  - user_id
                  - first_name
                  - last_name
                  - email
                  - join_date
                  items:
                    type: string
                attributes:
                  type: array
                  description: Custom user attributes to retrieve
                  items:
                    type: string
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n    \"status\": \"success\",\n    \"data\": {\n        \"first_name\": \"daniel\",\n        \"last_name\": \"spencial\",\n        \"email\": \"daniel@aptivada.com\",\n        \"join_date\": \"2019-07-23 10:47:36\",\n        \"user_id\": \"65923679\"\n    },\n    \"message\": \"\"\n}"
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  data:
                    type: object
                    properties:
                      first_name:
                        type: string
                        example: daniel
                      last_name:
                        type: string
                        example: spencial
                      email:
                        type: string
                        example: daniel@aptivada.com
                      join_date:
                        type: string
                        example: '2019-07-23 10:47:36'
                      user_id:
                        type: string
                        example: '65923679'
                  message:
                    type: string
                    example: ''
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Bad account id:
                  value: "{\n    \"status\": \"failed\",\n    \"message\": \"Cannot find data from account account xxxxxxxxx\"\n}"
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: failed
                  message:
                    type: string
                    example: Cannot find data from account account xxxxxxxxx
      tags:
      - User
  /v2/user/login:
    post:
      summary: Login
      description: ''
      operationId: login
      parameters:
      - name: x-token
        in: header
        description: Admin Token
        schema:
          type: string
      - name: x-api-key
        in: header
        description: Authorized account's API key
        schema:
          type: string
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n    \"status\": \"success\",\n    \"data\": {\n        \"email\": \"daniel@aptivada.com\"\n    },\n    \"message\": \"Sent Password Reset Link\"\n}"
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  data:
                    type: object
                    properties:
                      email:
                        type: string
                        example: daniel@aptivada.com
                  message:
                    type: string
                    example: Sent Password Reset Link
        '400':
          description: '400'
          content:
            text/plain:
              examples:
                Bad email address:
                  value: If email is not found, successful response will be returned regardless
      deprecated: false
      tags:
      - User
  /v2/user/oauth/token:
    post:
      summary: Get User Token
      description: ''
      operationId: get-user-token
      parameters:
      - name: x-api-key
        in: header
        description: Account api key
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - client_id
              - username
              - password
              properties:
                client_id:
                  type: string
                  description: Account Id
                username:
                  type: string
                  description: User's email address
                password:
                  type: string
                  description: Users's password
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n    \"status\": \"success\",\n    \"data\": {\n        \"user\": {\n            \"user_id\": \"1233456789\",\n            \"user\": \"12345\",\n            \"first_name\": \"Example\",\n            \"last_name\": \"User\",\n            \"email\": \"example@aptivada.com\"\n        },\n        \"access_token\": \"jwt encoded token\"\n    },\n    \"message\": \"\"\n}"
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  data:
                    type: object
                    properties:
                      user:
                        type: object
                        properties:
                          user_id:
                            type: string
                            example: '1233456789'
                          user:
                            type: string
                            example: '12345'
                          first_name:
                            type: string
                            example: Example
                          last_name:
                            type: string
                            example: User
                          email:
                            type: string
                            example: example@aptivada.com
                      access_token:
                        type: string
                        example: jwt encoded token
                  message:
                    type: string
                    example: ''
        '401':
          description: '401'
          content:
            application/json:
              examples:
                Bad username/password:
                  value: "{\n    \"status\": \"failed\",\n    \"message\": \"Incorrect Username or Password\"\n}"
                No authorization header:
                  value: "{\n    \"status\": \"failed\",\n    \"message\": \"No authentication headers provided\"\n}"
              schema:
                oneOf:
                - title: Bad username/password
                  type: object
                  properties:
                    status:
                      type: string
                      example: failed
                    message:
                      type: string
                      example: Incorrect Username or Password
                - title: No authorization header
                  type: object
                  properties:
                    status:
                      type: string
                      example: failed
                    message:
                      type: string
                      example: No authentication headers provided
      deprecated: false
      tags:
      - User
  /v2/user/reset-password:
    post:
      summary: Reset Password
      description: ''
      operationId: reset-password
      parameters:
      - name: x-token
        in: header
        description: Admin Token
        schema:
          type: string
      - name: x-api-key
        in: header
        description: Account API key
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - username
              - client_id
              properties:
                username:
                  type: string
                  description: User's email
                client_id:
                  type: string
                  description: Users's Account ID
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n    \"status\": \"success\",\n    \"data\": {\n        \"email\": \"example@aptivada.com\"\n    },\n    \"message\": \"Sent Password Reset Link\"\n}"
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  data:
                    type: object
                    properties:
                      email:
                        type: string
                        example: example@aptivada.com
                  message:
                    type: string
                    example: Sent Password Reset Link
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Bad Auth Header:
                  value: "{\n    \"status\": \"failed\",\n    \"message\": \"No authentication headers provided\"\n}"
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: failed
                  message:
                    type: string
                    example: No authentication headers provided
      deprecated: false
      tags:
      - User
  /v2/user/update:
    post:
      summary: Update User
      description: ''
      operationId: update-user
      parameters:
      - name: Authorization
        in: header
        description: User's authorization / bearer token
        required: true
        schema:
          type: string
          default: Bearer [access_token]
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - client_id
              properties:
                client_id:
                  type: string
                  description: Users's account ID
                profile:
                  type: array
                  description: Key value pairs of user fields to update
                  items:
                    type: string
                attributes:
                  type: array
                  description: Key -> value pairs of custom user attributes  and their values to be assigned.
                  items:
                    type: string
            examples:
              Example User Update:
                value:
                  client_id: '123456789'
                  profile:
                    first_name: Example
                    last_name: User
                    non-existant-field: Value will not be set
                  attributes:
                    eye_color: blue
                    non-existant-attribute: value will not be set
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n    \"status\": \"success\",\n    \"data\": {\n        \"user\": {\n            \"first_name\": \"Example\",\n            \"last_name\": \"User\",\n            \"user_id\": \"12345\",\n            \"attributes\": {\n                \"eye_color\": \"blue\"\n            }\n        }\n    },\n    \"message\": \"\"\n}"
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  data:
                    type: object
                    properties:
                      user:
                        type: object
                        properties:
                          first_name:
                            type: string
                            example: Example
                          last_name:
                            type: string
                            example: User
                          user_id:
                            type: string
                            example: '12345'
                          attributes:
                            type: object
                            properties:
                              eye_color:
                                type: string
                                example: blue
                  message:
                    type: string
                    example: ''
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      tags:
      - User
components:
  securitySchemes:
    sec0:
      type: apiKey
      name: x-api-key
      in: header
      x-default: ''
x-readme-fauxas: true
x-provenance:
  method: searched
  source: https://developer.audience.io/reference
  harvested: '2026-11-29'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://developer.audience.io/reference/account-calendar-stats.md
  - https://developer.audience.io/reference/account-campaigns.md
  - https://developer.audience.io/reference/account-user-search.md
  - https://developer.audience.io/reference/accounts-network-stats.md
  - https://developer.audience.io/reference/admin-login.md
  - https://developer.audience.io/reference/choose-instant-winner-by-odds.md
  - https://developer.audience.io/reference/choose-keyword-winner.md
  - https://developer.audience.io/reference/choose-winner.md
  - https://developer.audience.io/reference/complete-entry.md
  - https://developer.audience.io/reference/create-app.md
  - https://developer.audience.io/reference/forget-user.md
  - https://developer.audience.io/reference/generate-qr-code.md
  - https://developer.audience.io/reference/get-account.md
  - https://developer.audience.io/reference/get-admin-token.md
  - https://developer.audience.io/reference/get-campaign-stats.md
  - https://developer.audience.io/reference/get-campaign-syndicate.md
  - https://developer.audience.io/reference/get-campaign.md
  - https://developer.audience.io/reference/get-child-accounts.md
  - https://developer.audience.io/reference/get-countdown-keyword-submission-totals.md
  - https://developer.audience.io/reference/get-quiz-response-stats.md
  - https://developer.audience.io/reference/get-user-1.md
  - https://developer.audience.io/reference/get-user-attributes.md
  - https://developer.audience.io/reference/get-user-token.md
  - https://developer.audience.io/reference/get-user.md
  - https://developer.audience.io/reference/get-winners.md
  - https://developer.audience.io/reference/login.md
  - https://developer.audience.io/reference/reset-password.md
  - https://developer.audience.io/reference/search-child-accounts.md
  - https://developer.audience.io/reference/submit-countdown-keyword.md
  - https://developer.audience.io/reference/submit-entry.md
  - https://developer.audience.io/reference/update-campaign.md
  - https://developer.audience.io/reference/update-user-1.md
  - https://developer.audience.io/reference/update-user.md
  - https://developer.audience.io/reference/validate-countdown-keyword.md
  - https://developer.audience.io/reference/verify-token.md
  merge:
    pages: 35
    deduped: 34
    conflicts_kept_first: 0