Instance data
#
ConceptThis method allows you to obtain the data of your instance.
#
Method#
/meGET
https://api.z-api.io/instances/YOUR_INSTANCE/token/YOUR_TOKEN/me
#
HeaderKey | Value |
---|---|
Client-Token | ACCOUNT SECURITY TOKEN |
#
Response#
200Attribute | Type | Description |
---|---|---|
id | string | Instance ID |
token | string | Instance token |
name | string | Instance name |
connected | boolean | Defines if the instance is connected |
paymentStatus | string | Defines the payment status of the instance |
created | Date | Creation date of the instance |
connectedCallbackUrl | string | Connection webhook URL |
deliveryCallbackUrl | string | Message delivery webhook URL |
disconnectedCallbackUrl | string | Disconnection webhook URL |
messageStatusCallbackUrl | string | Message status webhook URL |
presenceChatCallbackUrl | string | Chat presence webhook URL |
receivedCallbackUrl | string | Received message webhook URL |
receiveCallbackSentByMe | boolean | Defines if webhook will receive messages sent by the instance itself |
callRejectAuto | boolean | Defines if it will automatically reject an incoming call |
callRejectMessage | string | Message to be sent when rejecting a call |
autoReadMessage | boolean | Defines if it will automatically mark received messages as read |
initialDataCallbackUrl | string | Initial data webhook URL after connection |