cURL
curl --request POST \ --url https://app.masivo.ai/api/storefront/v1/customers/migrate/devices \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "customers": [ { "id": "<string>", "devices": [ { "device_token": "<string>", "device_info": { "platform": "ios", "model": "<string>", "osVersion": "<string>" }, "expires_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z" } ] } ] }'
This response does not have an example.
Migrate device tokens from an old system to Masivo
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Customer devices updated successfully