Create agentAsk AIpost https://api.revioapi.com/v1/AgentsCreate a new agent.Body ParamsThe agent to create.agent_idint32Primary identifier for this agent.parent_agent_idint320 to 2147483647Foreign identifier indicating a parent agent.agent_type_idint320 to 2147483647Foreign identifier indicating the type of agent.default_commission_plan_idint320 to 2147483647Foreign identifier indicating the commission plan assigned to the agent.address_idint320 to 2147483647Foreign identifier indicating the address for this agent.account_numberstringlength between 0 and 100Customizable account identifier.namestringlength between 1 and 255Name of the agent or agency.emailstringlength between 0 and 500Primary contact email (or emails separated by comma).phonestringlength between 0 and 50Primary contact phone number.faxstringlength between 0 and 50Primary contact fax number.statusstringenumrequiredCurrent status of the agent.ACTIVEINACTIVEAllowed:ACTIVEINACTIVEshow_unrestricted_packagesbooleanIndicates whether the agent can see packages that are not restricted any particular agent. Even when enabled, packages restricted to a different agent are still hidden.truetruefalsetax_identification_numberstringlength between 0 and 50Tax identification number (i.e. SSN, EIN).company_bill_profile_idint320 to 2147483647Foreign identifier indicating the bill profile associated with this agent.created_datedate-timeDate and time this agent was created.created_byint32Foreign identifier indicating the user who created this agent.logo_file_idint320 to 2147483647Foreign identifier indicating the file that contains the agent logo.fieldsarray of objectsList of custom fields and their values.fieldsADD objectHeadersacceptstringenumDefaults to application/jsonGenerated from available response content typesapplication/jsontext/htmltext/jsonAllowed:application/jsontext/htmltext/jsonResponses 201Created 400BadRequest 500InternalServerErrorUpdated 7 months ago