POST
/
api
/
v1
/
migration-modal
Create Migration Modal
curl --request POST \
  --url https://worker.anon.com/api/v1/migration-modal \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "user_id": "<string>",
  "source_provider": "gusto",
  "source_providers": [
    "gusto"
  ]
}'
{
  "object": "migration_modal",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "migration_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "url": "<string>",
  "created": "2023-11-07T05:31:56Z",
  "expires_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json

Response

200
application/json

Success

The response is of type object.