When you have configured multiple APIs, you can specify the name of the API as a parameter as the target for an operation:

<BlockSwitcher>
<Block name="Java">

```java
Amplify.API.mutate(
    "[FRIENDLY-NAME-API-WITH-API-KEY]",
    request,
    response -> Log.i("MyAmplifyApp", "Mutation successful"),
    error -> Log.e("MyAmplifyApp", "Failed to mutate model.", error)
);
```

</Block>
<Block name="Kotlin - Callbacks">

```kotlin
Amplify.API.mutate(
    "[FRIENDLY-NAME-API-WITH-API-KEY]",
    request,
    { Log.i("MyAmplifyApp", "Mutation successful") },
    { Log.e("MyAmplifyApp", "Failed to mutate model.", it) }
)
```

</Block>
<Block name="Kotlin - Coroutines">

```kotlin
try {
    val apiName = "[FRIENDLY-NAME-API-WITH-API-KEY]"
    val response = Amplify.API.mutate(request, apiName)
    Log.i("MyAmplifyApp", "Mutation successful")
} catch (error: ApiException) {
    Log.e("MyAmplifyApp", "Failed to mutate model.", error)
}
```

</Block>
</BlockSwitcher>
