Creates a signed embed URL for a migration modal for embedding, which expires in 15 minutes
cURL
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" }
Bearer token authentication
Success
The response is of type object.
object
Was this page helpful?