Skip to main content

API - Get user migrate

This API route will let you get the latest user id of a user.
It can be useful if you want to check the API after receiving a user_id_update webhook.

GET

Authentication

Authentication is required by using your Api Key in the Authorization header.

Authorization: ApiKey [SERVER_API_KEY]
note

You should only use this API call from your server.
For security reasons, each API endpoint has a rate limit of 5 requests per second.

Url parameters

StringApp id
StringUser id

Query parameters

environment(Optional)Values
StringApp environment (production by default)

Response properties

StringThe user latest user id

Example

Url

https://api.iaphub.com/v1/app/acc317e366ce2d1f18fcb743/user/5cc317e366ce2d1f18fcb743/migrate

Response

{
userId: "5cc317e366ce2d1f18fcb799"
}