cURL
curl --request POST \ --url https://b2b-api.dev-riseworks.io/v2/invites \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "nanoid": "<string>", "invites": [ { "email": "jsmith@example.com", "prefill": { "first_name": "<string>", "last_name": "<string>", "phone": "<string>", "company_name": "<string>", "job_title": "<string>", "company_size": "<string>", "company_website": "<string>", "company_industry": "<string>", "company_address": "<string>", "company_city": "<string>", "company_state": "<string>", "company_zip": "<string>", "company_country": "<string>" } } ], "role": "contractor", "anonymous": true }'
{ "success": true, "data": { "nanoids": [ "<string>" ] } }
Create invites/warm invites for employees and contractors. This is used to invite users to team.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Default Response
The response is of type object.
object