Create testing session
Creates a disconnected simulated session with testMode enabled. Team API keys require projectId in the body.
Requires sessions:manage. Project tokens only access resources in their own project.
Authorizations
Polymorfa server credential: a scoped pmfa_ organization key, or a pmfa_pt_ project token on project- and session-bound operations inside its exact authenticated project. Keys may be personal or service-account owned. Both enforce selected action scopes; organization keys can address team resources and every project in the organization. Listener and browser client credentials are rejected.
Body
Identifier of the Polymorfa project that owns this resource.
Value constraints
Customer owner. Defaults to the protected Default customer when Customers is enabled.
Value constraints
Optional Console display name.
Value constraints
1 - 100WhatsApp-supported ISO 3166-1 alpha-2 country used to generate a realistic E.164 identity.
Allowed values
ES, DE, MX, GB, SA, IT, AF, AX, AL, DZ, AS, AD, AO, AI, AG, AR, AM, AW, AC, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BR, IO, VG, BN, BG, BF, BI, CI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CD, CK, CR, HR, CU, CW, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, GA, GM, GE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, JM, JP, JE, JO, KZ, KE, KI, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NF, KP, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PL, PT, PR, QA, RO, RU, RW, RE, BL, SH, KN, LC, MF, PM, VC, WS, SM, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, KR, SS, LK, SD, SR, SJ, SZ, SE, CH, SY, ST, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, VI, UG, UA, AE, US, UY, UZ, VU, VA, VE, VN, WF, YE, ZM, ZW, XK Response
Success
Structured data carried by this object.
Value constraints
^test_[A-Za-z0-9_-]{16}$