aYOUne
← CRM API

FormSubmissions

Singular: FormSubmission — Base URL: https://crm-api.ayoune.app — Access: read-only

play_circle Try it now beta

Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.

Example response (recorded) sample

A real, previously recorded GET /:id response of this endpoint — not the live call above. Sensitive fields are masked.

{
  "payload": {
    "ipLocation": {
      "subdivisions": []
    },
    "formName": "",
    "ip": "",
    "ipHash": "",
    "device": "",
    "country": "",
    "region": "",
    "city": "",
    "ll": [],
    "timezone": "",
    "url": "",
    "adType": "",
    "ad": "",
    "isAd": false,
    "fingerprint": "",
    "fingerprintView": "",
    "referrer": "",
    "ayoune_actions": [],
    "ayoune_params": [],
    "ayoune_aff_type": "consumer",
    "_id": "65ce21ffab00a8441050ca7c",
    "status": "Neu",
    "createdBy": "6045f4d25704710012485569",
    "createdAt": "2024-02-15T14:38:55.649Z",
    "updatedAt": "2024-02-15T14:38:55.649Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://crm-api.ayoune.app/formsubmissions/65ce21ffab00a8441050ca7c",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "Consumers",
        "title": "MODEL_CONSUMER",
        "href": "https://api.ayoune.app/crm/consumers",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "crm.consumers"
      },
      {
        "rel": "Forms",
        "title": "MODEL_FORM",
        "href": "https://api.ayoune.app/config/forms",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "config.forms"
      }
    ],
    "debugId": "6a62df76d98fe96440cc8eff",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_FORMSUBMISSION",
        "href": "https://api.ayoune.app/crm/formsubmissions/65ce21ffab00a8441050ca7c/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_FORMSUBMISSION",
        "href": "https://api.ayoune.app/crm/formsubmissions/65ce21ffab00a8441050ca7c/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.46.1",
      "core": "2026.258.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2345",
      "reset": "1784868196",
      "resetDate": "Fri Jul 24 2026"
    },
    "responseTime": 51.514999,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpoints

MethodPathDescriptionRight
GET /formsubmissions List with filters/pagination crm.formsubmissions.view
GET /formsubmissions/:id Single record by ID crm.formsubmissions.view

SDK

import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');

// List all
const list = await ay.crm.formSubmissions.find().limit(10).exec();

// Single record
const one = await ay.crm.formSubmissions.findById('OBJECT_ID').exec();

See also